Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't update the explorer docker-compose invocation yet #1698

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Oct 10, 2024

This must only be done on the next release of hydra, which will include the new option for the explorer.

See #1631

@noonio noonio requested a review from ffakenz October 10, 2024 08:09
@ch1bo ch1bo enabled auto-merge October 10, 2024 08:14
@noonio noonio changed the title Don't update the docker-compose invocation yet Don't update the explorer docker-compose invocation yet Oct 10, 2024
Copy link

Transaction costs

Sizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using arbitrary values and results are not fully deterministic and comparable to previous runs.

Metadata
Generated at 2024-10-10 08:12:53.516607279 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial b512161ccb0652d7e9a0b540e4a3c808f73d6558a4bcabf374d85880 3969
νCommit ea444d37d226e71eef73ac78d149750da977feb588900135bf9e8221 692
νHead 2253ddd95837c7aacc8635a971caaea743434152dd8dd2849bdf4162 10797
μHead 4d648ca239040b0e87901835aa11423e7aa3bd947ce6befe7db1bae8* 4508
νDeposit 1a011f23b139a6426767026bde10319546485d553219a5848cdac4e5 2993
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 5097 5.69 2.25 0.44
2 5297 6.99 2.76 0.46
3 5499 8.46 3.34 0.48
5 5899 11.32 4.48 0.53
10 6907 18.02 7.12 0.65
57 16356 82.81 32.75 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 564 10.84 4.26 0.29
2 757 14.31 5.80 0.34
3 944 17.92 7.39 0.39
5 1316 25.56 10.73 0.49
10 2254 47.11 19.97 0.77
19 3942 94.71 39.81 1.38

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 20.58 7.85 0.40
2 114 671 28.85 10.97 0.49
3 170 786 37.72 14.33 0.59
4 226 893 45.49 17.27 0.68
5 283 1004 54.88 20.83 0.79
6 339 1116 66.59 25.24 0.92
7 394 1227 73.08 27.72 0.99
8 451 1338 73.65 28.07 1.01
9 504 1449 88.23 33.51 1.17
10 560 1560 92.28 35.13 1.22

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 632 18.68 8.17 0.39
2 827 21.11 9.89 0.43
3 912 20.67 10.44 0.43
5 1312 27.17 14.53 0.53
10 1819 30.59 19.75 0.62
50 7923 98.54 77.06 1.85

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 644 20.83 9.31 0.41
2 803 22.22 10.75 0.44
3 1017 24.11 12.56 0.48
5 1302 27.38 15.74 0.54
10 1953 34.51 22.89 0.68
50 8323 99.97 87.09 1.95

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 691 26.81 11.49 0.48
2 879 28.98 13.39 0.52
3 943 30.35 14.59 0.54
5 1361 35.10 18.71 0.63
10 2107 44.35 26.86 0.79
39 6290 98.50 74.38 1.76

Abort transaction costs

There is some variation due to the random mixture of initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 4995 15.34 6.57 0.54
2 5111 21.94 9.44 0.62
3 5123 25.32 10.70 0.66
4 5291 32.11 13.75 0.74
5 5533 41.99 18.28 0.86
6 5739 49.73 21.80 0.96
7 5662 50.57 21.72 0.96
8 5906 60.14 26.12 1.08
9 6077 64.82 28.20 1.14
10 6179 75.22 32.79 1.27
11 6328 86.01 37.48 1.39
12 6636 92.33 40.44 1.48
13 6411 93.02 40.20 1.47

FanOut transaction costs

Involves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.

Parties UTxO UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
10 0 0 5089 10.36 4.33 0.49
10 1 56 5123 11.35 4.98 0.50
10 5 284 5259 16.42 8.04 0.57
10 10 568 5427 21.47 11.32 0.64
10 20 1140 5770 33.94 18.89 0.81
10 30 1709 6110 45.04 25.88 0.97
10 40 2278 6450 56.93 33.20 1.13
10 50 2841 6783 68.63 40.45 1.29
10 77 4385 7706 99.85 59.86 1.73

End-to-end benchmark results

This page is intended to collect the latest end-to-end benchmark results produced by Hydra's continuous integration (CI) system from the latest master code.

Please note that these results are approximate as they are currently produced from limited cloud VMs and not controlled hardware. Rather than focusing on the absolute results, the emphasis should be on relative results, such as how the timings for a scenario evolve as the code changes.

Generated at 2024-10-10 08:16:16.712609738 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 5.426893448
P99 10.55013259999996ms
P95 7.4322953ms
P50 5.0291335ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 26.008004966
P99 52.952915700000084ms
P95 35.735320849999994ms
P50 23.962207499999998ms
Number of Invalid txs 0

Copy link

Test Results

544 tests  ±0   538 ✅ ±0   26m 11s ⏱️ +13s
162 suites ±0     6 💤 ±0 
  7 files   ±0     0 ❌ ±0 

Results for commit a1a617f. ± Comparison against base commit 7dc7899.

@ch1bo ch1bo added this pull request to the merge queue Oct 10, 2024
Merged via the queue into master with commit dff6655 Oct 10, 2024
28 checks passed
@ch1bo ch1bo deleted the hotfix-explorer-deployment branch October 10, 2024 08:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants