-
Notifications
You must be signed in to change notification settings - Fork 99
Use logical config for hydra-node keypath arguments instead of filepa… #2358
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
Conversation
52ad1e9 to
626a7ff
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 | 5837 | 10.19 | 3.22 | 0.51 |
| 2 | 6038 | 12.63 | 4.00 | 0.55 |
| 3 | 6242 | 14.31 | 4.52 | 0.57 |
| 5 | 6641 | 18.41 | 5.80 | 0.63 |
| 10 | 7644 | 29.00 | 9.14 | 0.79 |
| 43 | 14281 | 98.85 | 30.89 | 1.80 |
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 | 743 | 3.38 | 1.73 | 0.22 |
| 3 | 920 | 4.36 | 2.33 | 0.24 |
| 5 | 1283 | 6.41 | 3.60 | 0.28 |
| 10 | 2179 | 12.13 | 7.25 | 0.40 |
| 54 | 10064 | 98.61 | 68.52 | 1.88 |
CollectCom transaction costs
| Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 1 | 57 | 529 | 25.24 | 7.32 | 0.43 |
| 2 | 114 | 636 | 33.18 | 9.60 | 0.52 |
| 3 | 168 | 746 | 41.11 | 11.90 | 0.60 |
| 4 | 226 | 858 | 54.20 | 15.48 | 0.74 |
| 5 | 285 | 969 | 56.17 | 16.32 | 0.76 |
| 6 | 337 | 1081 | 67.89 | 19.49 | 0.89 |
| 7 | 394 | 1196 | 82.62 | 23.45 | 1.04 |
| 8 | 450 | 1303 | 85.38 | 24.47 | 1.07 |
Cost of Increment Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 1793 | 24.00 | 7.62 | 0.48 |
| 2 | 1970 | 26.43 | 8.97 | 0.52 |
| 3 | 2074 | 27.02 | 9.79 | 0.53 |
| 5 | 2415 | 31.37 | 12.33 | 0.60 |
| 10 | 3058 | 38.70 | 17.73 | 0.73 |
| 39 | 7659 | 98.79 | 53.79 | 1.67 |
Cost of Decrement Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 649 | 22.81 | 7.37 | 0.42 |
| 2 | 743 | 23.54 | 8.22 | 0.43 |
| 3 | 898 | 25.72 | 9.52 | 0.47 |
| 5 | 1115 | 27.05 | 11.20 | 0.50 |
| 10 | 1928 | 38.42 | 17.71 | 0.67 |
| 42 | 6722 | 98.79 | 55.81 | 1.65 |
Close transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 674 | 27.50 | 8.46 | 0.46 |
| 2 | 774 | 30.94 | 10.07 | 0.51 |
| 3 | 906 | 30.26 | 10.55 | 0.51 |
| 5 | 1243 | 37.10 | 13.80 | 0.60 |
| 10 | 1955 | 46.42 | 19.75 | 0.75 |
| 37 | 6089 | 99.66 | 52.79 | 1.60 |
Contest transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 629 | 33.15 | 9.95 | 0.52 |
| 2 | 825 | 35.81 | 11.37 | 0.56 |
| 3 | 900 | 37.13 | 12.38 | 0.58 |
| 5 | 1255 | 42.53 | 15.25 | 0.66 |
| 10 | 2078 | 54.62 | 21.99 | 0.84 |
| 30 | 4980 | 99.95 | 47.90 | 1.52 |
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 | 5787 | 27.13 | 9.10 | 0.69 |
| 2 | 6054 | 36.73 | 12.40 | 0.80 |
| 3 | 6175 | 47.02 | 15.88 | 0.92 |
| 4 | 6258 | 52.28 | 17.67 | 0.98 |
| 5 | 6366 | 63.83 | 21.53 | 1.10 |
| 6 | 6607 | 73.98 | 24.96 | 1.22 |
| 7 | 6703 | 82.48 | 27.76 | 1.31 |
| 8 | 6960 | 91.66 | 30.97 | 1.42 |
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 | 5834 | 19.19 | 6.41 | 0.61 |
| 10 | 5 | 285 | 6004 | 29.35 | 10.43 | 0.73 |
| 10 | 10 | 569 | 6173 | 39.95 | 14.60 | 0.85 |
| 10 | 30 | 1709 | 6855 | 80.92 | 30.76 | 1.33 |
| 10 | 39 | 2222 | 7162 | 98.05 | 37.58 | 1.53 |
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-11-27 16:48:12.235639339 UTC
Baseline Scenario
| Number of nodes | 1 |
|---|---|
| Number of txs | 300 |
| Avg. Confirmation Time (ms) | 7.285094416 |
| P99 | 13.691930989999838ms |
| P95 | 6.978026050000001ms |
| P50 | 5.215388ms |
| Number of Invalid txs | 0 |
Memory data
| Time | Used | Free |
|---|---|---|
| 2025-11-27 16:46:43.777331426 UTC | 1360M | 2610M |
| 2025-11-27 16:46:44.777296914 UTC | 1341M | 2628M |
| 2025-11-27 16:46:45.777312321 UTC | 1366M | 2603M |
| 2025-11-27 16:46:46.777316889 UTC | 1398M | 2571M |
| 2025-11-27 16:46:47.777293976 UTC | 1416M | 2553M |
| 2025-11-27 16:46:48.777320055 UTC | 1442M | 2499M |
| 2025-11-27 16:46:49.777389251 UTC | 1465M | 2474M |
| 2025-11-27 16:46:50.777313575 UTC | 1456M | 2482M |
| 2025-11-27 16:46:51.777327716 UTC | 1464M | 2469M |
| 2025-11-27 16:46:52.777312197 UTC | 1464M | 2469M |
| 2025-11-27 16:46:53.777309169 UTC | 1464M | 2469M |
| 2025-11-27 16:46:54.777350791 UTC | 1464M | 2469M |
| 2025-11-27 16:46:55.777328763 UTC | 1464M | 2469M |
| 2025-11-27 16:46:56.777353543 UTC | 1464M | 2468M |
| 2025-11-27 16:46:57.777302114 UTC | 1464M | 2468M |
| 2025-11-27 16:46:58.777325242 UTC | 1464M | 2468M |
| 2025-11-27 16:46:59.777306739 UTC | 1464M | 2468M |
| 2025-11-27 16:47:00.77728742 UTC | 1464M | 2468M |
| 2025-11-27 16:47:01.777312941 UTC | 1464M | 2468M |
| 2025-11-27 16:47:02.777284785 UTC | 1465M | 2467M |
| 2025-11-27 16:47:03.777365697 UTC | 1465M | 2467M |
| 2025-11-27 16:47:04.77731086 UTC | 1466M | 2466M |
| 2025-11-27 16:47:05.777320828 UTC | 1467M | 2465M |
| 2025-11-27 16:47:06.777310222 UTC | 1467M | 2465M |
| 2025-11-27 16:47:07.77730897 UTC | 1467M | 2465M |
| 2025-11-27 16:47:08.777318012 UTC | 1467M | 2465M |
| 2025-11-27 16:47:09.77731052 UTC | 1469M | 2463M |
| 2025-11-27 16:47:10.777306763 UTC | 1469M | 2462M |
| 2025-11-27 16:47:11.777364701 UTC | 1470M | 2462M |
| 2025-11-27 16:47:12.777331188 UTC | 1470M | 2462M |
Three local nodes
| Number of nodes | 3 |
|---|---|
| Number of txs | 900 |
| Avg. Confirmation Time (ms) | 33.644542721 |
| P99 | 50.6680813ms |
| P95 | 43.58550414999999ms |
| P50 | 32.6022875ms |
| Number of Invalid txs | 0 |
Memory data
| Time | Used | Free |
|---|---|---|
| 2025-11-27 16:47:24.610110158 UTC | 1375M | 2595M |
| 2025-11-27 16:47:25.610115792 UTC | 1375M | 2595M |
| 2025-11-27 16:47:26.610032253 UTC | 1380M | 2590M |
| 2025-11-27 16:47:27.610104547 UTC | 1380M | 2589M |
| 2025-11-27 16:47:28.610128894 UTC | 1381M | 2588M |
| 2025-11-27 16:47:29.610000222 UTC | 1381M | 2588M |
| 2025-11-27 16:47:30.610002199 UTC | 1382M | 2587M |
| 2025-11-27 16:47:31.610010616 UTC | 1438M | 2502M |
| 2025-11-27 16:47:32.610558413 UTC | 1506M | 2406M |
| 2025-11-27 16:47:33.610347093 UTC | 1573M | 2311M |
| 2025-11-27 16:47:34.610003058 UTC | 1620M | 2263M |
| 2025-11-27 16:47:35.610779847 UTC | 1636M | 2247M |
| 2025-11-27 16:47:36.610380905 UTC | 1650M | 2225M |
| 2025-11-27 16:47:37.611631936 UTC | 1677M | 2188M |
| 2025-11-27 16:47:38.610506284 UTC | 1701M | 2154M |
| 2025-11-27 16:47:39.611794171 UTC | 1706M | 2138M |
| 2025-11-27 16:47:40.611160961 UTC | 1711M | 2124M |
| 2025-11-27 16:47:41.610493761 UTC | 1715M | 2109M |
| 2025-11-27 16:47:42.610603474 UTC | 1738M | 2075M |
| 2025-11-27 16:47:43.610939941 UTC | 1758M | 2045M |
| 2025-11-27 16:47:44.611648518 UTC | 1761M | 2031M |
| 2025-11-27 16:47:45.610461202 UTC | 1777M | 2005M |
| 2025-11-27 16:47:46.610336148 UTC | 1797M | 1981M |
| 2025-11-27 16:47:47.612240196 UTC | 1797M | 1980M |
| 2025-11-27 16:47:48.610214716 UTC | 1797M | 1980M |
| 2025-11-27 16:47:49.610007069 UTC | 1798M | 1979M |
| 2025-11-27 16:47:50.610113911 UTC | 1800M | 1976M |
| 2025-11-27 16:47:51.610114161 UTC | 1801M | 1975M |
| 2025-11-27 16:47:52.61009499 UTC | 1801M | 1975M |
| 2025-11-27 16:47:53.610230785 UTC | 1801M | 1975M |
| 2025-11-27 16:47:54.610010256 UTC | 1800M | 1975M |
| 2025-11-27 16:47:55.610144799 UTC | 1801M | 1974M |
| 2025-11-27 16:47:56.610398302 UTC | 1803M | 1972M |
| 2025-11-27 16:47:57.610407472 UTC | 1803M | 1972M |
| 2025-11-27 16:47:58.60999055 UTC | 1804M | 1971M |
| 2025-11-27 16:47:59.610197479 UTC | 1804M | 1971M |
| 2025-11-27 16:48:00.610227782 UTC | 1806M | 1969M |
| 2025-11-27 16:48:01.610016932 UTC | 1807M | 1968M |
| 2025-11-27 16:48:02.610100635 UTC | 1806M | 1968M |
| 2025-11-27 16:48:03.610773957 UTC | 1806M | 1968M |
| 2025-11-27 16:48:04.610197502 UTC | 1806M | 1968M |
| 2025-11-27 16:48:05.61000834 UTC | 1809M | 1965M |
| 2025-11-27 16:48:06.610004414 UTC | 1811M | 1962M |
| 2025-11-27 16:48:07.610215638 UTC | 1811M | 1962M |
| 2025-11-27 16:48:08.60999758 UTC | 1811M | 1962M |
| 2025-11-27 16:48:09.610005801 UTC | 1813M | 1960M |
| 2025-11-27 16:48:10.610007338 UTC | 1813M | 1960M |
| 2025-11-27 16:48:11.610014639 UTC | 1813M | 1960M |
Transaction cost differencesNo cost or size differences found |
noonio
left a comment
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.
Seems like a nice and simple improvement; thanks!
…ths directly. This makes it easier to reuse downstream in other demo projects.
2e6ea1e to
b8c849b
Compare
…ths directly.
This makes it easier to reuse downstream in other demo projects.