-
Notifications
You must be signed in to change notification settings - Fork 84
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
Move hydra-spec to input repository #1512
Conversation
0b586fd
to
2cb79ea
Compare
Transactions CostsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
Cost of Init Transaction
Cost of Commit TransactionThis is using ada-only outputs for better comparability.
Cost of CollectCom Transaction
Cost of Close Transaction
Cost of Contest Transaction
Cost of Abort TransactionSome variation because of random mixture of still initial and already committed outputs.
Cost of FanOut TransactionInvolves spending head output and burning head tokens. Uses ada-only UTxO for better comparability.
End-To-End Benchmark ResultsThis page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes. Generated at 2024-07-16 16:33:44.139822525 UTC Baseline Scenario
Three local nodes
|
2cb79ea
to
24a971c
Compare
553a009
to
8a553a5
Compare
8a553a5
to
c70e4a8
Compare
Transaction costsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 5188 | 6.02 | 2.39 | 0.44 |
2 | 5390 | 7.18 | 2.84 | 0.47 |
3 | 5588 | 8.46 | 3.34 | 0.49 |
5 | 5997 | 11.22 | 4.43 | 0.54 |
10 | 6999 | 18.20 | 7.20 | 0.66 |
56 | 16246 | 81.53 | 32.25 | 1.76 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 559 | 10.52 | 4.15 | 0.29 |
2 | 748 | 13.86 | 5.65 | 0.34 |
3 | 933 | 17.33 | 7.20 | 0.38 |
5 | 1310 | 24.65 | 10.44 | 0.48 |
10 | 2245 | 45.22 | 19.36 | 0.75 |
20 | 4123 | 95.99 | 40.76 | 1.40 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 549 | 21.46 | 8.41 | 0.41 |
2 | 113 | 659 | 33.11 | 13.11 | 0.54 |
3 | 171 | 769 | 44.13 | 17.71 | 0.67 |
4 | 228 | 879 | 60.17 | 24.27 | 0.85 |
5 | 280 | 989 | 73.97 | 30.13 | 1.01 |
6 | 337 | 1100 | 91.85 | 37.61 | 1.21 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 626 | 17.93 | 7.87 | 0.38 |
2 | 765 | 19.03 | 9.03 | 0.40 |
3 | 979 | 21.78 | 10.83 | 0.45 |
5 | 1114 | 21.93 | 12.31 | 0.47 |
10 | 1854 | 30.37 | 19.23 | 0.62 |
49 | 7792 | 96.25 | 73.27 | 1.80 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 641 | 21.02 | 9.41 | 0.42 |
2 | 789 | 22.49 | 10.83 | 0.44 |
3 | 909 | 23.92 | 12.20 | 0.47 |
5 | 1168 | 26.66 | 14.93 | 0.52 |
10 | 2092 | 36.18 | 23.70 | 0.71 |
49 | 7873 | 96.26 | 81.61 | 1.86 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 695 | 27.10 | 11.67 | 0.48 |
2 | 805 | 28.98 | 13.20 | 0.51 |
3 | 894 | 30.30 | 14.35 | 0.54 |
5 | 1320 | 35.06 | 18.41 | 0.62 |
10 | 2102 | 44.66 | 26.63 | 0.80 |
39 | 6404 | 99.01 | 73.43 | 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 | 5061 | 17.47 | 7.59 | 0.57 |
2 | 5190 | 28.43 | 12.46 | 0.70 |
3 | 5345 | 42.71 | 18.90 | 0.87 |
4 | 5436 | 56.79 | 25.12 | 1.03 |
5 | 5587 | 75.44 | 33.53 | 1.25 |
6 | 5639 | 90.60 | 40.18 | 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 ₳ |
---|---|---|---|---|---|---|
5 | 0 | 0 | 5022 | 7.75 | 3.28 | 0.46 |
5 | 1 | 57 | 5056 | 8.88 | 3.99 | 0.47 |
5 | 5 | 284 | 5192 | 13.60 | 6.92 | 0.54 |
5 | 10 | 570 | 5363 | 19.26 | 10.48 | 0.62 |
5 | 20 | 1140 | 5702 | 30.67 | 17.63 | 0.78 |
5 | 30 | 1706 | 6040 | 41.70 | 24.63 | 0.93 |
5 | 40 | 2277 | 6381 | 53.62 | 32.01 | 1.10 |
5 | 50 | 2846 | 6720 | 63.97 | 38.72 | 1.24 |
5 | 81 | 4610 | 7771 | 99.33 | 60.93 | 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-07-31 09:45:03.16169667 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 3000 |
Avg. Confirmation Time (ms) | 4.236542226 |
P99 | 7.122035159999947ms |
P95 | 5.191705899999997ms |
P50 | 4.0733485ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 9000 |
Avg. Confirmation Time (ms) | 23.889329457 |
P99 | 115.87657784000008ms |
P95 | 32.794549249999996ms |
P50 | 21.305092000000002ms |
Number of Invalid txs | 0 |
This reverts commit b391020.
Moves the hydra-spec.pdf to https://github.com/cardano-scaling/hydra-formal-specification