-
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
renderTxWithUTxO: add collateral and fee fields #1749
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 | 11717 | 8.70 | 2.83 | 0.76 |
2 | 11918 | 10.63 | 3.46 | 0.79 |
3 | 12123 | 12.77 | 4.18 | 0.82 |
5 | 12521 | 16.07 | 5.24 | 0.87 |
10 | 13529 | 24.59 | 7.99 | 1.00 |
24 | 16341 | 49.30 | 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 | 561 | 2.45 | 1.17 | 0.20 |
2 | 741 | 3.40 | 1.74 | 0.22 |
3 | 923 | 4.39 | 2.34 | 0.24 |
5 | 1274 | 6.46 | 3.61 | 0.28 |
10 | 2182 | 12.24 | 7.28 | 0.40 |
54 | 10065 | 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 | 113 | 671 | 33.75 | 9.75 | 0.52 |
3 | 170 | 782 | 40.90 | 11.86 | 0.60 |
4 | 228 | 893 | 47.81 | 13.95 | 0.68 |
5 | 283 | 1004 | 60.19 | 17.27 | 0.81 |
6 | 341 | 1116 | 65.12 | 18.84 | 0.86 |
7 | 395 | 1227 | 78.24 | 22.37 | 1.00 |
8 | 449 | 1342 | 96.83 | 27.23 | 1.19 |
9 | 504 | 1449 | 87.38 | 25.35 | 1.10 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 624 | 22.35 | 7.24 | 0.41 |
2 | 791 | 23.80 | 8.32 | 0.44 |
3 | 902 | 24.79 | 9.23 | 0.46 |
5 | 1302 | 30.63 | 12.21 | 0.54 |
10 | 1970 | 38.32 | 17.68 | 0.67 |
41 | 6738 | 98.34 | 55.20 | 1.64 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 644 | 24.43 | 8.03 | 0.43 |
2 | 780 | 25.99 | 9.19 | 0.46 |
3 | 1009 | 28.64 | 10.89 | 0.50 |
5 | 1131 | 30.01 | 12.37 | 0.53 |
10 | 2004 | 40.72 | 19.58 | 0.71 |
44 | 7094 | 99.29 | 62.03 | 1.71 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 695 | 30.42 | 9.64 | 0.50 |
2 | 840 | 32.36 | 10.90 | 0.53 |
3 | 1020 | 34.71 | 12.40 | 0.56 |
5 | 1159 | 37.30 | 14.31 | 0.61 |
10 | 2091 | 49.57 | 21.96 | 0.80 |
34 | 5575 | 98.42 | 53.86 | 1.58 |
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.76 | 8.75 | 0.93 |
2 | 11775 | 35.07 | 11.98 | 1.04 |
3 | 11751 | 38.53 | 13.00 | 1.07 |
4 | 11910 | 47.95 | 16.29 | 1.18 |
5 | 12112 | 57.47 | 19.65 | 1.29 |
6 | 12277 | 69.78 | 23.81 | 1.43 |
7 | 12419 | 78.86 | 26.84 | 1.53 |
8 | 12543 | 87.89 | 29.98 | 1.63 |
9 | 12678 | 90.21 | 30.80 | 1.66 |
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 | 17.71 | 6.07 | 0.85 |
10 | 1 | 57 | 11748 | 19.72 | 6.89 | 0.88 |
10 | 5 | 286 | 11886 | 26.60 | 9.74 | 0.96 |
10 | 10 | 569 | 12053 | 36.02 | 13.61 | 1.07 |
10 | 20 | 1140 | 12394 | 54.90 | 21.36 | 1.29 |
10 | 30 | 1705 | 12731 | 72.86 | 28.77 | 1.51 |
10 | 40 | 2278 | 13074 | 92.53 | 36.81 | 1.74 |
10 | 44 | 2505 | 13209 | 99.58 | 39.72 | 1.82 |
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-12-02 11:52:52.446837175 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 5.203546503 |
P99 | 10.164401919999998ms |
P95 | 7.3871618ms |
P50 | 4.7967405ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 25.007633280 |
P99 | 114.70126577ms |
P95 | 33.278651549999985ms |
P50 | 22.831028ms |
Number of Invalid txs | 0 |
a42125a
to
f7fadff
Compare
@locallycompact can you please update the description to describe what brought about this change/etc, thanks :) |
32a241c
to
fafe435
Compare
fafe435
to
2b20fb7
Compare
No description provided.