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

Tidy up github actions #1807

Closed
wants to merge 5 commits into from
Closed

Tidy up github actions #1807

wants to merge 5 commits into from

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Jan 28, 2025

Transaction cost differences

Script summary

Name Size (Bytes)
νInitial -
νCommit -
νHead -
μHead -
νDeposit -

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
44 - - - -

Commit transaction costs

UTxO Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
54 - - - -

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 - - - - -
2 - - - - -
3 - - - - -
4 - - - - -
5 - - - - -
6 - - - - -
7 - - - - -
8 - - - - -
9 - - - - -
10 - - - - -

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - +0.39 +0.09 -
2 - - - -
3 - - - -
5 - - - -
10 - +0.38 +0.1 -
43 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ $${\color{green}-0.01}$$

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
45 - - - -

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
41 - - - -

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
33 - - - -

FanOut transaction costs

UTxO, Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
(0, 10) - - - - -
(1, 10) - - - - -
(5, 10) - - - - -
(10, 10) - - - - -
(20, 10) - - - - -
(40, 10) - - - - -
(41, 10) - - - - -

Copy link

github-actions bot commented Jan 28, 2025

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 2025-01-28 17:21:18.635224773 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial c8a101a5c8ac4816b0dceb59ce31fc2258e387de828f02961d2f2045 2652
νCommit 61458bc2f297fff3cc5df6ac7ab57cefd87763b0b7bd722146a1035c 685
νHead 5350e9d521552ebfd9e846fd70c3b801f716fc14296134ec0fb71e97 14492
μHead 6b49dc4e571207d615dba01996548cb610b0caa85c30423d169d0091* 5612
νDeposit ae01dade3a9c346d5c93ae3ce339412b90a0b8f83f94ec6baa24e30c 1102
  • 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 6164 10.00 3.17 0.53
2 6365 12.04 3.82 0.56
3 6564 14.43 4.59 0.59
5 6971 18.60 5.90 0.65
10 7975 28.42 8.97 0.80
44 14815 98.81 31.15 1.82

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 563 2.44 1.16 0.20
2 742 3.38 1.73 0.22
3 914 4.36 2.33 0.24
5 1277 6.41 3.60 0.28
10 2173 12.13 7.25 0.40
54 10055 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 25.00 7.26 0.43
2 114 636 31.97 9.32 0.50
3 171 747 43.56 12.51 0.63
4 225 858 48.00 13.97 0.68
5 284 969 55.67 16.21 0.76
6 339 1081 63.35 18.41 0.84
7 392 1192 77.82 22.27 0.99
8 450 1303 86.86 24.93 1.09

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1792 23.66 7.91 0.48
2 1928 25.60 9.16 0.51
3 2119 28.00 10.65 0.55
5 2543 32.56 13.63 0.62
10 3299 43.15 20.47 0.79
42 7912 98.50 60.00 1.73

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 621 22.40 7.25 0.41
2 755 23.43 8.18 0.43
3 867 25.70 9.49 0.46
5 1320 33.06 12.88 0.57
10 1855 36.36 17.13 0.65
41 6646 94.14 54.07 1.59

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 702 26.95 8.72 0.46
2 774 30.36 10.36 0.50
3 955 30.26 11.08 0.52
5 1215 33.64 13.47 0.57
10 2040 43.64 20.26 0.74
41 6624 99.81 59.79 1.68

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 686 33.35 10.43 0.53
2 837 35.63 11.84 0.56
3 1004 37.90 13.25 0.60
5 1228 41.05 15.46 0.65
10 2020 52.82 22.70 0.83
31 5369 99.54 52.17 1.57

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 6059 26.04 8.82 0.69
2 6179 34.64 11.72 0.79
3 6204 36.99 12.43 0.81
4 6447 52.84 17.93 0.99
5 6610 62.45 21.22 1.10
6 6796 72.52 24.61 1.21
7 7057 82.66 28.18 1.33
8 7110 92.04 31.35 1.43
9 7095 95.58 32.33 1.47
10 7172 99.04 33.57 1.51

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 6162 17.30 5.88 0.60
10 1 57 6196 19.62 6.80 0.63
10 5 285 6333 27.61 10.01 0.72
10 10 569 6501 37.77 14.09 0.84
10 20 1138 6840 56.99 21.83 1.07
10 30 1709 7184 74.96 29.11 1.28
10 40 2275 7519 95.65 37.39 1.52
10 40 2273 7517 96.75 37.80 1.54

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 2025-01-28 17:24:07.649145062 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.361305370
P99 11.894549189999962ms
P95 5.22051045ms
P50 4.0958555ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.276452246
P99 117.22884508999996ms
P95 30.2838194ms
P50 20.8012175ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jan 28, 2025

Test Results

  5 files  ±0  165 suites  ±0   32m 6s ⏱️ + 1m 39s
563 tests ±0  561 ✅ ±0  2 💤 ±0  0 ❌ ±0 
565 runs  ±0  563 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit cdf801e. ± Comparison against base commit d824aa6.

♻️ This comment has been updated with latest results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done ✔
Development

Successfully merging this pull request may close these issues.

1 participant