Skip to content

Conversation

@noonio
Copy link
Contributor

@noonio noonio commented Nov 28, 2025

TODO:

  • Fix fixmes

@github-actions
Copy link

Transaction costs

Sizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using arbitrary values and results are not fully deterministic and comparable to previous runs.

Metadata
Generated at 2025-11-28 16:42:39.838497765 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial c8a101a5c8ac4816b0dceb59ce31fc2258e387de828f02961d2f2045 2652
νCommit 61458bc2f297fff3cc5df6ac7ab57cefd87763b0b7bd722146a1035c 685
νHead a1442faf26d4ec409e2f62a685c1d4893f8d6bcbaf7bcb59d6fa1340 14599
μHead fd173b993e12103cd734ca6710d364e17120a5eb37a224c64ab2b188* 5284
νDeposit ae01dade3a9c346d5c93ae3ce339412b90a0b8f83f94ec6baa24e30c 1102
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 5836 10.19 3.22 0.51
2 6037 12.32 3.89 0.54
3 6239 14.31 4.52 0.57
5 6640 18.58 5.86 0.63
10 7646 29.11 9.17 0.79
43 14282 98.56 30.79 1.80

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 558 2.44 1.16 0.20
2 743 3.38 1.73 0.22
3 916 4.36 2.33 0.24
5 1282 6.41 3.60 0.28
10 2180 12.13 7.25 0.40
54 10063 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 56 524 24.42 7.12 0.42
2 114 640 33.32 9.64 0.52
3 171 747 43.95 12.60 0.63
4 228 858 49.39 14.32 0.69
5 282 969 62.50 17.80 0.83
6 339 1081 70.16 20.07 0.91
7 396 1192 84.31 23.77 1.06
8 451 1303 93.99 26.62 1.16

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1802 24.00 7.62 0.48
2 1924 25.55 8.71 0.50
3 2169 29.30 10.42 0.56
5 2370 31.16 12.28 0.59
10 3228 42.97 18.91 0.78
39 7491 97.50 53.42 1.65

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 663 22.54 7.31 0.41
2 746 24.08 8.40 0.44
3 830 24.09 9.04 0.45
5 1187 29.03 11.77 0.52
10 2105 42.15 18.75 0.72
40 6638 99.16 54.62 1.64

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 647 29.13 8.90 0.48
2 881 29.97 9.84 0.50
3 942 32.76 11.24 0.54
5 1234 36.95 13.76 0.60
10 2078 45.38 19.52 0.75
34 5701 99.82 50.70 1.57

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 675 33.87 10.16 0.53
2 833 35.81 11.37 0.56
3 955 37.87 12.61 0.59
5 1281 42.45 15.23 0.66
10 2021 54.13 21.83 0.83
29 4836 98.10 46.71 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 5839 26.92 9.05 0.69
2 5864 32.68 10.90 0.75
3 5945 40.51 13.53 0.84
4 6210 51.55 17.35 0.97
5 6312 62.24 20.83 1.08
6 6708 75.46 25.51 1.24
7 6888 84.10 28.34 1.34
8 6991 91.66 30.92 1.42
9 7000 98.70 33.20 1.50

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 1 57 5868 21.22 7.21 0.63
10 10 570 6175 39.51 14.45 0.85
10 20 1138 6513 60.87 22.83 1.09
10 39 2219 7158 98.93 37.88 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-11-28 16:45:32.138939208 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 6.435050250
P99 11.366582949999982ms
P95 6.38401955ms
P50 5.092672ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-11-28 16:44:05.457787993 UTC 1351M 2550M
2025-11-28 16:44:06.457791906 UTC 1378M 2522M
2025-11-28 16:44:07.457783496 UTC 1392M 2508M
2025-11-28 16:44:08.457723124 UTC 1402M 2498M
2025-11-28 16:44:09.457722464 UTC 1468M 2404M
2025-11-28 16:44:10.457769446 UTC 1479M 2392M
2025-11-28 16:44:11.457737129 UTC 1484M 2383M
2025-11-28 16:44:12.457776413 UTC 1496M 2368M
2025-11-28 16:44:13.457788021 UTC 1493M 2371M
2025-11-28 16:44:14.457687935 UTC 1490M 2374M
2025-11-28 16:44:15.457749885 UTC 1487M 2377M
2025-11-28 16:44:16.457789202 UTC 1492M 2371M
2025-11-28 16:44:17.457773005 UTC 1492M 2371M
2025-11-28 16:44:18.457812216 UTC 1492M 2371M
2025-11-28 16:44:19.457769251 UTC 1493M 2371M
2025-11-28 16:44:20.457645409 UTC 1493M 2371M
2025-11-28 16:44:21.457763262 UTC 1493M 2370M
2025-11-28 16:44:22.457804044 UTC 1493M 2370M
2025-11-28 16:44:23.457776937 UTC 1493M 2370M
2025-11-28 16:44:24.457759605 UTC 1493M 2370M
2025-11-28 16:44:25.457778343 UTC 1493M 2370M
2025-11-28 16:44:26.457785258 UTC 1493M 2370M
2025-11-28 16:44:27.457809548 UTC 1494M 2369M
2025-11-28 16:44:28.457765916 UTC 1494M 2369M
2025-11-28 16:44:29.457738799 UTC 1493M 2369M
2025-11-28 16:44:30.457767454 UTC 1493M 2369M
2025-11-28 16:44:31.457783135 UTC 1493M 2369M
2025-11-28 16:44:32.457751274 UTC 1493M 2369M
2025-11-28 16:44:33.457787585 UTC 1493M 2369M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 40.151819913
P99 66.61872371ms
P95 58.77870904999999ms
P50 38.326745ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-11-28 16:44:45.502018075 UTC 1390M 2510M
2025-11-28 16:44:46.502098656 UTC 1397M 2503M
2025-11-28 16:44:47.501978426 UTC 1397M 2503M
2025-11-28 16:44:48.502018336 UTC 1397M 2502M
2025-11-28 16:44:49.501949408 UTC 1402M 2497M
2025-11-28 16:44:50.50200498 UTC 1403M 2495M
2025-11-28 16:44:51.5020342 UTC 1458M 2413M
2025-11-28 16:44:52.501977867 UTC 1522M 2320M
2025-11-28 16:44:53.502012751 UTC 1585M 2228M
2025-11-28 16:44:54.501995931 UTC 1620M 2192M
2025-11-28 16:44:55.502788696 UTC 1630M 2182M
2025-11-28 16:44:56.503279798 UTC 1660M 2144M
2025-11-28 16:44:57.502840664 UTC 1678M 2116M
2025-11-28 16:44:58.502946806 UTC 1690M 2093M
2025-11-28 16:44:59.502120151 UTC 1706M 2066M
2025-11-28 16:45:00.502861936 UTC 1709M 2056M
2025-11-28 16:45:01.50462004 UTC 1731M 2026M
2025-11-28 16:45:02.502954504 UTC 1735M 2016M
2025-11-28 16:45:03.503298498 UTC 1760M 1983M
2025-11-28 16:45:04.504686838 UTC 1763M 1972M
2025-11-28 16:45:05.503500511 UTC 1773M 1955M
2025-11-28 16:45:06.502318329 UTC 1774M 1945M
2025-11-28 16:45:07.501988877 UTC 1787M 1923M
2025-11-28 16:45:08.502052915 UTC 1789M 1916M
2025-11-28 16:45:09.502023426 UTC 1807M 1897M
2025-11-28 16:45:10.502081684 UTC 1808M 1896M
2025-11-28 16:45:11.502062832 UTC 1812M 1891M
2025-11-28 16:45:12.501990265 UTC 1812M 1891M
2025-11-28 16:45:13.502039837 UTC 1812M 1891M
2025-11-28 16:45:14.50198391 UTC 1812M 1891M
2025-11-28 16:45:15.502077915 UTC 1797M 1906M
2025-11-28 16:45:16.502036313 UTC 1798M 1904M
2025-11-28 16:45:17.502074854 UTC 1798M 1904M
2025-11-28 16:45:18.502037612 UTC 1798M 1904M
2025-11-28 16:45:19.502043921 UTC 1798M 1904M
2025-11-28 16:45:20.502000404 UTC 1798M 1904M
2025-11-28 16:45:21.502085081 UTC 1799M 1903M
2025-11-28 16:45:22.5020812 UTC 1799M 1902M
2025-11-28 16:45:23.501996953 UTC 1799M 1902M
2025-11-28 16:45:24.502012683 UTC 1800M 1901M
2025-11-28 16:45:25.501996594 UTC 1800M 1901M
2025-11-28 16:45:26.501970719 UTC 1800M 1901M
2025-11-28 16:45:27.502080964 UTC 1799M 1901M
2025-11-28 16:45:28.50196097 UTC 1801M 1899M
2025-11-28 16:45:29.501973845 UTC 1801M 1899M
2025-11-28 16:45:30.501958704 UTC 1800M 1899M
2025-11-28 16:45:31.502057139 UTC 1800M 1899M

@github-actions
Copy link

Transaction cost differences

No cost or size differences found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants