-
Notifications
You must be signed in to change notification settings - Fork 86
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
Remove hydra-explorer from this repo #1736
base: master
Are you sure you want to change the base?
Conversation
Transaction cost differencesNo cost or size differences found |
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 | 11695 | 8.69 | 2.83 | 0.76 |
2 | 11896 | 10.52 | 3.42 | 0.78 |
3 | 12095 | 12.20 | 3.97 | 0.81 |
5 | 12499 | 16.03 | 5.23 | 0.87 |
10 | 13503 | 24.51 | 7.96 | 1.00 |
24 | 16322 | 49.28 | 16.02 | 1.38 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 558 | 2.45 | 1.17 | 0.20 |
2 | 743 | 3.40 | 1.74 | 0.22 |
3 | 923 | 4.39 | 2.34 | 0.24 |
5 | 1280 | 6.46 | 3.61 | 0.28 |
10 | 2183 | 12.24 | 7.28 | 0.40 |
54 | 10059 | 99.20 | 68.72 | 1.89 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 560 | 24.69 | 7.19 | 0.43 |
2 | 112 | 671 | 32.58 | 9.46 | 0.51 |
3 | 170 | 782 | 41.49 | 12.00 | 0.61 |
4 | 225 | 893 | 52.83 | 15.12 | 0.73 |
5 | 282 | 1004 | 54.79 | 15.97 | 0.75 |
6 | 338 | 1116 | 66.90 | 19.31 | 0.88 |
7 | 393 | 1227 | 78.42 | 22.43 | 1.00 |
8 | 452 | 1338 | 90.59 | 25.85 | 1.13 |
9 | 505 | 1449 | 87.48 | 25.56 | 1.11 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 654 | 22.54 | 7.29 | 0.41 |
2 | 763 | 23.75 | 8.30 | 0.44 |
3 | 961 | 26.22 | 9.67 | 0.47 |
5 | 1245 | 29.60 | 11.93 | 0.53 |
10 | 1978 | 38.01 | 17.62 | 0.67 |
43 | 7062 | 99.44 | 56.90 | 1.67 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 679 | 24.31 | 8.01 | 0.43 |
2 | 742 | 25.22 | 8.86 | 0.45 |
3 | 925 | 27.43 | 10.32 | 0.49 |
5 | 1236 | 31.15 | 12.94 | 0.55 |
10 | 2034 | 40.33 | 19.49 | 0.71 |
45 | 7067 | 99.48 | 62.44 | 1.72 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 697 | 30.27 | 9.60 | 0.49 |
2 | 834 | 32.12 | 10.84 | 0.52 |
3 | 968 | 34.07 | 12.11 | 0.56 |
5 | 1341 | 39.01 | 15.17 | 0.63 |
10 | 1959 | 47.97 | 21.28 | 0.78 |
33 | 5493 | 96.71 | 52.68 | 1.55 |
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 | 11600 | 25.80 | 8.77 | 0.93 |
2 | 11774 | 34.79 | 11.90 | 1.04 |
3 | 11766 | 41.62 | 14.10 | 1.11 |
4 | 11961 | 48.75 | 16.59 | 1.19 |
5 | 12067 | 57.02 | 19.41 | 1.28 |
6 | 12271 | 69.86 | 23.87 | 1.43 |
7 | 12553 | 80.99 | 27.66 | 1.56 |
8 | 12537 | 83.22 | 28.40 | 1.58 |
9 | 12718 | 95.63 | 32.65 | 1.72 |
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 | 11692 | 16.61 | 5.67 | 0.84 |
10 | 1 | 57 | 11726 | 18.46 | 6.43 | 0.86 |
10 | 5 | 284 | 11861 | 26.60 | 9.74 | 0.96 |
10 | 10 | 569 | 12031 | 36.22 | 13.68 | 1.07 |
10 | 20 | 1138 | 12370 | 54.90 | 21.36 | 1.29 |
10 | 30 | 1707 | 12711 | 73.43 | 28.98 | 1.51 |
10 | 40 | 2277 | 13051 | 91.44 | 36.40 | 1.73 |
10 | 44 | 2507 | 13190 | 98.49 | 39.32 | 1.81 |
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-11-18 19:52:14.437277149 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 4.978239166 |
P99 | 10.39086902999999ms |
P95 | 6.5867652ms |
P50 | 4.7040185ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 25.555832243 |
P99 | 119.23957641999999ms |
P95 | 35.334509899999986ms |
P50 | 22.908421500000003ms |
Number of Invalid txs | 0 |
Test Results 5 files ±0 161 suites - 1 30m 55s ⏱️ + 1m 53s Results for commit 1a28bf3. ± Comparison against base commit ea6f0da. This pull request removes 3 tests.
♻️ This comment has been updated with latest results. |
4dc77d8
to
76ee960
Compare
76ee960
to
5d12347
Compare
5d12347
to
b0a1906
Compare
b0a1906
to
1a28bf3
Compare
This removes the hydra-explorer from this repo; and needs to be merged in combination with cardano-scaling/hydra-explorer#5.
Note that there was one set of tests in the
hydra-cluster
tool that depended on the explorer; I've had to then remove those here, but am not yet sure if I can get them to work over on the other side.Todo: