-
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
cardano-api: 10.1 #1740
base: master
Are you sure you want to change the base?
cardano-api: 10.1 #1740
Conversation
locallycompact
commented
Nov 12, 2024
- CHANGELOG updated or not needed
- Documentation updated or not needed
- Haddocks updated or not needed
- No new TODOs introduced or explained herafter
bb45e4d
to
359db28
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 | 11715 | 9.04 | 2.96 | 0.76 |
2 | 11919 | 10.70 | 3.49 | 0.79 |
3 | 12119 | 12.38 | 4.03 | 0.81 |
5 | 12526 | 15.80 | 5.14 | 0.87 |
10 | 13528 | 24.83 | 8.09 | 1.00 |
24 | 16343 | 49.44 | 16.08 | 1.38 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 561 | 2.45 | 1.17 | 0.20 |
2 | 737 | 3.40 | 1.74 | 0.22 |
3 | 923 | 4.39 | 2.34 | 0.24 |
5 | 1274 | 6.46 | 3.61 | 0.28 |
10 | 2177 | 12.24 | 7.28 | 0.40 |
54 | 10049 | 99.20 | 68.72 | 1.89 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 560 | 24.08 | 7.04 | 0.42 |
2 | 114 | 671 | 32.91 | 9.57 | 0.51 |
3 | 169 | 782 | 42.86 | 12.33 | 0.62 |
4 | 225 | 893 | 48.92 | 14.17 | 0.69 |
5 | 283 | 1004 | 55.66 | 16.18 | 0.76 |
6 | 338 | 1116 | 73.82 | 20.96 | 0.95 |
7 | 395 | 1227 | 73.38 | 21.26 | 0.95 |
8 | 450 | 1338 | 88.67 | 25.38 | 1.11 |
10 | 560 | 1560 | 96.45 | 27.85 | 1.20 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 664 | 22.59 | 7.30 | 0.41 |
2 | 763 | 24.12 | 8.39 | 0.44 |
3 | 933 | 25.61 | 9.48 | 0.47 |
5 | 1176 | 28.47 | 11.61 | 0.52 |
10 | 1907 | 36.32 | 17.12 | 0.65 |
42 | 6717 | 94.39 | 54.78 | 1.60 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 668 | 24.34 | 8.01 | 0.43 |
2 | 788 | 25.99 | 9.19 | 0.46 |
3 | 915 | 27.42 | 10.32 | 0.49 |
5 | 1264 | 31.06 | 12.92 | 0.55 |
10 | 2046 | 40.28 | 19.48 | 0.71 |
44 | 7049 | 98.55 | 61.59 | 1.70 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 682 | 30.43 | 9.63 | 0.50 |
2 | 820 | 32.36 | 10.89 | 0.53 |
3 | 984 | 34.71 | 12.38 | 0.56 |
5 | 1259 | 38.35 | 14.85 | 0.62 |
10 | 2055 | 49.30 | 21.88 | 0.80 |
34 | 5514 | 97.06 | 53.32 | 1.56 |
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 | 11592 | 25.76 | 8.75 | 0.93 |
2 | 11720 | 34.12 | 11.61 | 1.03 |
3 | 11919 | 43.75 | 14.91 | 1.14 |
4 | 11956 | 48.68 | 16.56 | 1.19 |
5 | 12190 | 61.23 | 20.92 | 1.33 |
6 | 12292 | 70.07 | 23.92 | 1.43 |
7 | 12327 | 72.54 | 24.64 | 1.46 |
8 | 12611 | 85.59 | 29.20 | 1.61 |
9 | 12751 | 98.87 | 33.73 | 1.75 |
10 | 12679 | 97.82 | 33.13 | 1.74 |
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 | 11714 | 18.07 | 6.20 | 0.86 |
10 | 1 | 57 | 11749 | 20.08 | 7.02 | 0.88 |
10 | 5 | 286 | 11885 | 25.50 | 9.34 | 0.95 |
10 | 10 | 568 | 12052 | 36.02 | 13.61 | 1.07 |
10 | 20 | 1138 | 12392 | 55.43 | 21.55 | 1.30 |
10 | 30 | 1710 | 12736 | 72.91 | 28.78 | 1.51 |
10 | 40 | 2274 | 13071 | 90.34 | 36.00 | 1.71 |
10 | 44 | 2504 | 13209 | 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-14 11:50:10.436841412 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 4.112521860 |
P99 | 9.450873329999977ms |
P95 | 4.8488632ms |
P50 | 3.8396055000000002ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 23.171029193 |
P99 | 117.10015376999999ms |
P95 | 33.349286049999996ms |
P50 | 20.3938775ms |
Number of Invalid txs | 0 |
359db28
to
1a49f8f
Compare
Transaction cost differencesScript summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | +22 | 0.01 | - | - |
2 | +22 | 0.02 | - | - |
3 | +22 | 0.02 | - | - |
5 | +22 | 0.02 | - | - |
10 | +22 | 0.02 | - | - |
24 | +22 | 0.02 | - | +0.01 |
Commit
transaction costs
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
54 | +1 | - | - | - |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | - | - | +0.14 | +0.03 | - |
2 | - | - | +2.16 | +0.51 | +0.02 |
3 | - | - | |||
4 | - | - | +1.74 | +0.42 | +0.02 |
5 | - | - | |||
6 | - | - | |||
7 | - | - | |||
8 | - | - | +10.86 | +2.59 | +0.11 |
9 | - | - |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | +0.09 | +0.02 | - |
2 | - | - | ||
3 | - | +0.04 | +0.01 | - |
5 | - | +0.37 | +0.08 | +0.01 |
10 | - | +0.13 | +0.03 | - |
45 | - | +0.09 | +0.02 | - |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | 0.11 | +0.02 | - |
2 | - | 0.16 | +0.03 | - |
3 | - | 0.07 | +0.02 | - |
5 | - | 0.11 | +0.03 | - |
10 | - | 0.03 | - | - |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | +0.15 | +0.03 | +0.01 |
2 | - | +0.2 | +0.05 | +0.01 |
3 | - | +0.15 | +0.03 | +0.01 |
5 | - | +0.15 | +0.03 | - |
10 | - | - | ||
34 | - | +0.15 | +0.04 | - |
Abort
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | +22 | - | ||
2 | +22 | +0.04 | +0.01 | +0.01 |
3 | +22 | - | ||
4 | +22 | +0.03 | +0.01 | - |
5 | +22 | +0.18 | +0.04 | +0.01 |
6 | +22 | +0.08 | +0.02 | +0.01 |
7 | +22 | +0.66 | +0.16 | +0.01 |
8 | +22 | +0.06 | +0.02 | - |
9 | +22 | +0.58 | +0.14 | +0.01 |
10 | +22 | - |
FanOut
transaction costs
Parties | UTxO | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|---|
10 | - | - | +22 | - | - | - |
10 | - | - | +22 | - | - | - |
10 | - | - | +22 | - | - | |
10 | - | - | +22 | - | - | - |
10 | - | - | +22 | - | - | +0.01 |
10 | - | - | +22 | - | - | - |
10 | - | - | +22 | - | - | |
10 | - | - | +22 | - | - | - |
00d947c
to
b82d157
Compare
c16c865
to
978e69e
Compare
978e69e
to
bcab1cd
Compare