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

Update cabal and CHaP #1855

Merged
merged 1 commit into from
Feb 14, 2025
Merged

Update cabal and CHaP #1855

merged 1 commit into from
Feb 14, 2025

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

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 - - - -
40 - - - -

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 - - - - -

Cost of Increment Transaction

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

Cost of Decrement Transaction

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

Close transaction costs

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

Contest transaction costs

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

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) - - - - -
(37, 10) - - - - -

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 2025-02-14 07:50:14.600543765 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 0e35115a2c7c13c68ecd8d74e4987c04d4539e337643be20bb3274bd 14756
μHead 57166715eadb8d3135964325c016eea546c21e1c0aae974ca67df9a5* 5541
ν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 6091 11.29 3.52 0.53
2 6294 13.04 4.04 0.56
3 6493 15.71 4.88 0.60
5 6897 20.56 6.38 0.67
10 7903 31.67 9.78 0.82
40 13933 98.18 30.14 1.77

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 561 2.44 1.16 0.20
2 743 3.38 1.73 0.22
3 916 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2173 12.13 7.25 0.40
54 10071 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 25.64 7.39 0.43
2 114 636 35.86 10.21 0.54
3 169 747 44.90 12.80 0.64
4 226 858 53.15 15.14 0.73
5 282 974 60.36 17.22 0.80
6 338 1081 71.57 20.36 0.92
7 395 1192 78.14 22.29 0.99
8 449 1307 95.42 26.80 1.17

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1748 24.40 7.93 0.48
2 1958 27.11 9.51 0.52
3 2140 29.48 11.00 0.56
5 2345 31.93 12.99 0.61
10 3162 42.90 19.95 0.78
37 7136 95.45 54.93 1.63

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 619 23.71 7.55 0.42
2 798 26.86 9.07 0.47
3 891 26.45 9.60 0.47
5 1279 31.91 12.44 0.55
10 2171 45.68 19.58 0.76
36 6043 96.81 51.02 1.57

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 648 30.95 9.67 0.50
2 818 30.94 10.42 0.51
3 985 35.53 12.50 0.57
5 1249 39.36 15.00 0.63
10 2072 51.70 22.46 0.82
33 5628 97.57 52.90 1.57

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 624 35.29 10.70 0.54
2 825 38.11 12.32 0.58
3 1016 40.90 13.93 0.63
5 1247 45.33 16.56 0.69
10 2108 59.05 24.40 0.90
28 4605 99.83 48.91 1.51

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 5985 28.20 9.30 0.71
2 6094 37.52 12.35 0.81
3 6173 43.29 14.24 0.87
4 6348 56.09 18.48 1.02
5 6399 57.73 18.96 1.03
6 6692 74.78 24.74 1.23
7 6751 83.26 27.42 1.32
8 6867 92.45 30.45 1.42

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 1 57 6125 21.99 7.36 0.65
10 10 569 6430 41.42 14.88 0.88
10 30 1708 7111 83.57 31.25 1.36
10 37 2106 7349 98.02 36.88 1.53

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-02-14 07:53:06.658849758 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.980792893
P99 10.623916189999994ms
P95 6.900491200000002ms
P50 4.7510864999999995ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-02-14 07:51:42.042421586 UTC 942M 6323M
2025-02-14 07:51:47.042382128 UTC 1063M 6110M
2025-02-14 07:51:52.042407619 UTC 1068M 6104M
2025-02-14 07:51:57.042437957 UTC 1069M 6103M
2025-02-14 07:52:02.04242959 UTC 1073M 6099M
2025-02-14 07:52:07.042436191 UTC 1074M 6098M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 22.440989226
P99 33.28585699ms
P95 28.899952049999996ms
P50 21.279306ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-02-14 07:52:19.680748944 UTC 987M 6196M
2025-02-14 07:52:24.680802269 UTC 1160M 6023M
2025-02-14 07:52:29.680914388 UTC 1165M 6017M
2025-02-14 07:52:34.680834498 UTC 1169M 6013M
2025-02-14 07:52:39.681930786 UTC 1220M 5889M
2025-02-14 07:52:44.680845064 UTC 1242M 5792M
2025-02-14 07:52:49.680816297 UTC 1244M 5790M
2025-02-14 07:52:54.680852018 UTC 1252M 5781M
2025-02-14 07:52:59.680811359 UTC 1253M 5779M
2025-02-14 07:53:04.680794946 UTC 1257M 5775M

@locallycompact locallycompact requested a review from a team February 14, 2025 10:39
@noonio noonio added this pull request to the merge queue Feb 14, 2025
Merged via the queue into master with commit 82ff176 Feb 14, 2025
25 checks passed
@noonio noonio deleted the lc/update branch February 14, 2025 11:15
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.

2 participants