-
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
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 | 11715 | 9.01 | 2.95 | 0.76 |
2 | 11918 | 10.46 | 3.40 | 0.78 |
3 | 12117 | 12.77 | 4.18 | 0.82 |
5 | 12519 | 16.11 | 5.26 | 0.87 |
10 | 13525 | 24.76 | 8.06 | 1.00 |
24 | 16347 | 49.46 | 16.08 | 1.39 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 563 | 2.45 | 1.17 | 0.20 |
2 | 743 | 3.40 | 1.74 | 0.22 |
3 | 923 | 4.39 | 2.34 | 0.24 |
5 | 1283 | 6.46 | 3.61 | 0.29 |
10 | 2179 | 12.24 | 7.28 | 0.40 |
54 | 10060 | 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 | 675 | 32.92 | 9.57 | 0.51 |
3 | 170 | 782 | 40.74 | 11.80 | 0.60 |
4 | 226 | 893 | 52.95 | 15.11 | 0.73 |
5 | 283 | 1004 | 59.12 | 17.05 | 0.79 |
6 | 340 | 1116 | 74.01 | 20.98 | 0.95 |
7 | 393 | 1227 | 79.39 | 22.66 | 1.01 |
8 | 451 | 1338 | 88.43 | 25.32 | 1.11 |
9 | 505 | 1449 | 88.46 | 25.79 | 1.11 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 630 | 22.63 | 7.30 | 0.41 |
2 | 771 | 23.76 | 8.30 | 0.44 |
3 | 924 | 24.88 | 9.25 | 0.46 |
5 | 1214 | 28.70 | 11.66 | 0.52 |
10 | 1962 | 37.23 | 17.38 | 0.66 |
43 | 6929 | 97.67 | 56.37 | 1.65 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 598 | 23.82 | 7.74 | 0.42 |
2 | 783 | 25.86 | 9.16 | 0.46 |
3 | 998 | 28.11 | 10.64 | 0.50 |
5 | 1135 | 30.05 | 12.38 | 0.53 |
10 | 2054 | 40.67 | 19.59 | 0.71 |
44 | 7156 | 99.52 | 62.30 | 1.72 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 630 | 29.86 | 9.35 | 0.49 |
2 | 834 | 32.28 | 10.88 | 0.53 |
3 | 970 | 34.14 | 12.12 | 0.56 |
5 | 1313 | 39.08 | 15.17 | 0.63 |
10 | 1903 | 47.83 | 21.09 | 0.77 |
34 | 5620 | 98.54 | 53.92 | 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 | 11592 | 25.67 | 8.73 | 0.93 |
2 | 11678 | 31.17 | 10.55 | 0.99 |
3 | 11909 | 43.32 | 14.79 | 1.13 |
4 | 12081 | 52.85 | 18.05 | 1.24 |
5 | 12106 | 57.53 | 19.57 | 1.29 |
6 | 12214 | 65.82 | 22.36 | 1.38 |
7 | 12243 | 67.83 | 22.96 | 1.40 |
8 | 12611 | 89.22 | 30.55 | 1.65 |
9 | 12792 | 99.34 | 33.91 | 1.76 |
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.50 | 5.99 | 0.85 |
10 | 1 | 57 | 11748 | 19.56 | 6.83 | 0.87 |
10 | 5 | 285 | 11884 | 26.96 | 9.88 | 0.96 |
10 | 10 | 570 | 12055 | 37.27 | 14.07 | 1.08 |
10 | 20 | 1139 | 12393 | 55.11 | 21.43 | 1.30 |
10 | 30 | 1707 | 12733 | 73.64 | 29.05 | 1.51 |
10 | 40 | 2273 | 13070 | 91.96 | 36.60 | 1.73 |
10 | 44 | 2505 | 13209 | 99.95 | 39.85 | 1.83 |
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-26 14:53:46.441021638 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 4.393220856 |
P99 | 7.210112739999994ms |
P95 | 5.5110039ms |
P50 | 4.2233345ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 24.413156887 |
P99 | 62.329841389999615ms |
P95 | 35.57095045ms |
P50 | 21.94021ms |
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 :) |
f7fadff
to
67002e2
Compare
67002e2
to
32a241c
Compare
No description provided.