-
Notifications
You must be signed in to change notification settings - Fork 88
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
Add docker image for hydra-chain-observer #1831
Conversation
Transaction cost differencesScript summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
40 | - | - | - | - |
Commit
transaction costs
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
54 | - | - | - | - |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | - | - | - | - | - |
2 | - | - | - | - | - |
3 | - | - | - | - | - |
4 | - | - | - | - | - |
5 | - | - | - | - | - |
6 | - | - | - | - | - |
7 | - | - | - | - | - |
8 | - | - | - | - | - |
Cost of Increment Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | ||
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
37 | - | - | - | - |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
40 | - | - | - | - |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
34 | - | - | - | - |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
27 | - | - | - | - |
FanOut
transaction costs
UTxO, Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
(0, 10) | - | - | - | - | - |
(1, 10) | - | - | - | - | - |
(5, 10) | - | - | - | - | - |
(10, 10) | - | - | - | - | - |
(20, 10) | - | - | - | - | - |
(37, 10) | - | - | - | - | - |
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 | 6094 | 10.80 | 3.35 | 0.53 |
2 | 6295 | 13.13 | 4.07 | 0.56 |
3 | 6493 | 15.77 | 4.90 | 0.60 |
5 | 6898 | 19.98 | 6.17 | 0.66 |
10 | 7904 | 31.58 | 9.75 | 0.82 |
40 | 13933 | 98.18 | 30.14 | 1.77 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 561 | 2.44 | 1.16 | 0.20 |
2 | 736 | 3.38 | 1.73 | 0.22 |
3 | 920 | 4.36 | 2.33 | 0.24 |
5 | 1283 | 6.41 | 3.60 | 0.28 |
10 | 2183 | 12.13 | 7.25 | 0.40 |
54 | 10067 | 98.61 | 68.52 | 1.88 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 525 | 26.44 | 7.58 | 0.44 |
2 | 114 | 636 | 35.86 | 10.21 | 0.54 |
3 | 169 | 747 | 45.99 | 13.04 | 0.65 |
4 | 225 | 858 | 52.05 | 14.90 | 0.72 |
5 | 284 | 969 | 59.08 | 16.92 | 0.79 |
6 | 339 | 1081 | 72.59 | 20.52 | 0.93 |
7 | 395 | 1192 | 88.65 | 24.84 | 1.10 |
8 | 448 | 1303 | 92.33 | 26.27 | 1.14 |
Cost of Increment Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 1815 | 25.03 | 8.22 | 0.49 |
2 | 1933 | 27.16 | 9.50 | 0.52 |
3 | 2105 | 29.58 | 11.00 | 0.56 |
5 | 2446 | 34.20 | 13.82 | 0.63 |
10 | 2986 | 39.68 | 18.74 | 0.74 |
37 | 7364 | 98.02 | 55.95 | 1.67 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 627 | 23.71 | 7.55 | 0.42 |
2 | 753 | 24.89 | 8.50 | 0.45 |
3 | 930 | 28.53 | 10.19 | 0.50 |
5 | 1127 | 29.63 | 11.81 | 0.52 |
10 | 2013 | 43.76 | 19.03 | 0.73 |
38 | 6109 | 96.50 | 52.25 | 1.58 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 677 | 29.15 | 9.20 | 0.48 |
2 | 815 | 30.98 | 10.43 | 0.51 |
3 | 933 | 34.79 | 12.18 | 0.56 |
5 | 1317 | 40.76 | 15.61 | 0.65 |
10 | 2208 | 49.52 | 22.03 | 0.81 |
33 | 5543 | 96.06 | 52.15 | 1.55 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 670 | 35.95 | 11.00 | 0.55 |
2 | 882 | 38.81 | 12.63 | 0.59 |
3 | 900 | 39.58 | 13.32 | 0.61 |
5 | 1271 | 45.62 | 16.70 | 0.70 |
10 | 2096 | 58.22 | 24.07 | 0.89 |
26 | 4568 | 98.11 | 47.40 | 1.49 |
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 | 5986 | 28.16 | 9.29 | 0.71 |
2 | 6189 | 38.40 | 12.72 | 0.82 |
3 | 6375 | 48.98 | 16.25 | 0.94 |
4 | 6376 | 57.49 | 18.98 | 1.03 |
5 | 6560 | 66.81 | 22.13 | 1.14 |
6 | 6579 | 71.98 | 23.69 | 1.19 |
7 | 6872 | 89.04 | 29.48 | 1.38 |
8 | 6757 | 88.82 | 29.27 | 1.38 |
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 | 6091 | 20.78 | 6.84 | 0.64 |
10 | 5 | 284 | 6260 | 29.85 | 10.44 | 0.74 |
10 | 20 | 1139 | 6770 | 63.18 | 23.30 | 1.13 |
10 | 30 | 1708 | 7111 | 84.03 | 31.40 | 1.37 |
10 | 37 | 2105 | 7347 | 98.48 | 37.03 | 1.54 |
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 2025-02-10 08:03:58.657044888 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 4.681834693 |
P99 | 10.537809539999985ms |
P95 | 6.481732350000002ms |
P50 | 4.389282ms |
Number of Invalid txs | 0 |
| Memory data |
2025-02-10 08:02:33.840150793 UTC
Used: 956M, Free: 2228M
2025-02-10 08:02:38.84012018 UTC
Used: 1011M, Free: 2152M
2025-02-10 08:02:43.840022585 UTC
Used: 1008M, Free: 2154M
2025-02-10 08:02:48.839983773 UTC
Used: 1008M, Free: 2154M
2025-02-10 08:02:53.840076044 UTC
Used: 1012M, Free: 2149M
2025-02-10 08:02:58.840014819 UTC
Used: 1012M, Free: 2149M
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 24.122747783 |
P99 | 118.51693323ms |
P95 | 32.316327ms |
P50 | 21.259672000000002ms |
Number of Invalid txs | 0 |
| Memory data |
2025-02-10 08:03:11.686652335 UTC
Used: 929M, Free: 2244M
2025-02-10 08:03:16.686767681 UTC
Used: 1144M, Free: 2028M
2025-02-10 08:03:21.686773568 UTC
Used: 1155M, Free: 2017M
2025-02-10 08:03:26.686763484 UTC
Used: 1154M, Free: 2016M
2025-02-10 08:03:31.686671953 UTC
Used: 1198M, Free: 1903M
2025-02-10 08:03:36.686785743 UTC
Used: 1218M, Free: 1803M
2025-02-10 08:03:41.686716796 UTC
Used: 1218M, Free: 1802M
2025-02-10 08:03:46.686720493 UTC
Used: 1393M, Free: 1603M
2025-02-10 08:03:51.68671996 UTC
Used: 1380M, Free: 1614M
2025-02-10 08:03:56.686790156 UTC
Used: 1261M, Free: 1733M
51bb517
to
c7d7845
Compare
This will be available as a flake output and built by CI into https://github.com/orgs/cardano-scaling/packages
c7d7845
to
cc8f1dd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
This will be available as a flake output and built by CI into https://github.com/orgs/cardano-scaling/packages