-
Notifications
You must be signed in to change notification settings - Fork 87
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
Only test ones we know will succeed #1628
Conversation
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 | 5097 | 5.89 | 2.33 | 0.44 |
2 | 5298 | 7.09 | 2.80 | 0.46 |
3 | 5498 | 8.55 | 3.38 | 0.49 |
5 | 5902 | 11.26 | 4.45 | 0.53 |
10 | 6907 | 18.10 | 7.16 | 0.65 |
57 | 16355 | 82.85 | 32.77 | 1.78 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 567 | 10.52 | 4.15 | 0.29 |
2 | 759 | 13.86 | 5.65 | 0.34 |
3 | 941 | 17.33 | 7.20 | 0.38 |
5 | 1320 | 24.65 | 10.44 | 0.48 |
10 | 2260 | 45.22 | 19.36 | 0.75 |
20 | 4133 | 95.99 | 40.76 | 1.40 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 560 | 22.14 | 8.66 | 0.42 |
2 | 112 | 671 | 33.93 | 13.42 | 0.55 |
3 | 170 | 782 | 47.47 | 18.95 | 0.70 |
4 | 225 | 893 | 57.83 | 23.41 | 0.83 |
5 | 280 | 1004 | 75.24 | 30.60 | 1.02 |
6 | 340 | 1116 | 93.25 | 38.13 | 1.23 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 636 | 17.95 | 7.88 | 0.38 |
2 | 785 | 19.34 | 9.16 | 0.41 |
3 | 920 | 19.94 | 10.06 | 0.42 |
5 | 1124 | 21.80 | 12.26 | 0.46 |
10 | 1954 | 32.78 | 20.21 | 0.65 |
49 | 7922 | 98.48 | 74.12 | 1.83 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 644 | 20.07 | 9.01 | 0.41 |
2 | 780 | 21.57 | 10.43 | 0.43 |
3 | 872 | 22.58 | 11.47 | 0.45 |
5 | 1336 | 26.71 | 15.32 | 0.54 |
10 | 2004 | 34.08 | 22.50 | 0.68 |
50 | 8002 | 97.40 | 83.03 | 1.89 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 684 | 25.89 | 11.14 | 0.47 |
2 | 810 | 27.73 | 12.66 | 0.50 |
3 | 943 | 29.42 | 14.14 | 0.53 |
5 | 1313 | 33.70 | 17.82 | 0.61 |
10 | 2105 | 43.22 | 26.01 | 0.78 |
39 | 6501 | 98.00 | 73.30 | 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 | 4984 | 17.47 | 7.60 | 0.57 |
2 | 5122 | 28.50 | 12.50 | 0.70 |
3 | 5163 | 40.47 | 17.77 | 0.83 |
4 | 5351 | 56.51 | 25.02 | 1.02 |
5 | 5402 | 69.49 | 30.68 | 1.17 |
6 | 5639 | 91.97 | 40.87 | 1.44 |
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 | 4934 | 7.89 | 3.34 | 0.46 |
5 | 1 | 57 | 4969 | 8.63 | 3.88 | 0.47 |
5 | 5 | 285 | 5104 | 13.35 | 6.81 | 0.53 |
5 | 10 | 569 | 5273 | 19.01 | 10.37 | 0.61 |
5 | 20 | 1138 | 5612 | 30.52 | 17.57 | 0.77 |
5 | 30 | 1707 | 5954 | 42.04 | 24.77 | 0.93 |
5 | 40 | 2273 | 6289 | 53.17 | 31.82 | 1.09 |
5 | 50 | 2844 | 6631 | 64.31 | 38.86 | 1.24 |
5 | 81 | 4608 | 7681 | 99.87 | 61.16 | 1.74 |
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-09-13 09:34:02.452818369 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 3000 |
Avg. Confirmation Time (ms) | 5.002209922 |
P99 | 13.041224379999992ms |
P95 | 6.759920599999998ms |
P50 | 4.530806ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 9000 |
Avg. Confirmation Time (ms) | 24.376750373 |
P99 | 107.58444267ms |
P95 | 34.76120139999999ms |
P50 | 21.8584325ms |
Number of Invalid txs | 0 |
6c82eb7
to
20c212f
Compare
A bit of a hack to only run the network tests we expect to succeed. This at least ensures we don't get any worse, even if it doesn't directly allow us to track if we're getting better.
See also actions/runner#2347