Skip to content

V1.2.2#2

Open
awcjack wants to merge 6 commits intov1.2.0-basefrom
v1.2.2
Open

V1.2.2#2
awcjack wants to merge 6 commits intov1.2.0-basefrom
v1.2.2

Conversation

@awcjack
Copy link

@awcjack awcjack commented Jan 16, 2026


  • CHANGELOG updated or not needed
  • Documentation updated or not needed
  • Haddocks updated or not needed
  • No new TODOs introduced or explained herafter

v0d1ch and others added 6 commits January 15, 2026 10:29
This reduces the memory usage significantly (1.7 GB vs. 137 MB for the
stress-test I was running)

Signed-off-by: Sasha Bogicevic <sasha.bogicevic@iohk.io>
GitHub Actions runners have limited disk space (~14GB available).
When building uncached Nix derivations (like our modified hydra-node),
the build can exhaust disk space during compilation.

This adds a cleanup step that removes unused tools before the build:
- .NET SDK (~1.8GB)
- Android SDK (~9GB)
- GHC (~5GB)
- CodeQL (~2.5GB)
- Unused Docker images

This frees up ~20GB of disk space, ensuring builds complete successfully.
- Add pull_request trigger for PRs targeting master branch
- Tag PR builds as pr-<number> for easy identification
- Use PR head SHA as version for traceability
@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 2026-01-16 21:52:10.579932892 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.36 3.28 0.51
2 6038 12.70 4.03 0.55
3 6238 14.72 4.66 0.58
5 6641 19.10 6.05 0.64
10 7644 29.12 9.18 0.79
43 14285 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 559 2.44 1.16 0.20
2 742 3.38 1.73 0.22
3 919 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2179 12.13 7.25 0.40
54 10066 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 24.46 7.13 0.42
2 114 636 32.30 9.40 0.51
3 169 747 42.72 12.29 0.62
4 226 858 49.13 14.21 0.69
5 282 974 59.27 17.06 0.79
6 338 1081 72.91 20.69 0.94
7 396 1196 86.37 24.26 1.08
8 449 1303 90.04 25.68 1.12
9 506 1414 98.86 28.20 1.21

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1811 24.00 7.62 0.48
2 1941 25.76 8.76 0.51
3 2058 27.10 9.81 0.53
5 2515 33.27 12.87 0.62
10 3201 41.86 18.60 0.76
40 7717 99.09 54.54 1.68

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 635 22.54 7.30 0.41
2 784 25.39 8.75 0.45
3 958 26.06 9.59 0.47
5 1220 30.12 12.07 0.53
10 2021 39.80 18.10 0.69
40 6318 92.47 52.76 1.56

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 601 28.46 8.69 0.47
2 736 30.23 9.85 0.50
3 1005 31.53 10.94 0.53
5 1266 35.05 13.25 0.58
10 2028 48.23 20.28 0.78
37 6108 99.93 52.82 1.61

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 668 33.87 10.16 0.53
2 823 35.85 11.38 0.56
3 1024 39.22 13.02 0.61
5 1296 42.72 15.30 0.66
10 2075 54.17 21.85 0.84
30 4824 98.68 47.50 1.50

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 5795 27.16 9.10 0.69
2 5930 36.04 12.12 0.79
3 6101 46.22 15.55 0.90
4 6200 54.09 18.16 0.99
5 6474 65.58 22.08 1.12
6 6603 73.43 24.68 1.21
7 6647 78.20 26.25 1.26
8 6840 91.05 30.64 1.41

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 18.49 6.17 0.60
10 1 57 5868 20.78 7.06 0.63
10 5 285 6004 28.46 10.13 0.72
10 10 569 6174 40.39 14.75 0.85
10 20 1139 6513 58.66 22.07 1.07
10 30 1708 6854 80.22 30.52 1.32
10 39 2220 7159 99.56 38.10 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 2026-01-16 21:55:18.126771973 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.285364006
P99 7.379870069999999ms
P95 6.3107438500000015ms
P50 5.1352085ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-16 21:53:50.454785677 UTC 1709M 7168M
2026-01-16 21:53:51.454833752 UTC 1757M 7084M
2026-01-16 21:53:52.454821199 UTC 1768M 7073M
2026-01-16 21:53:53.45480654 UTC 1771M 7070M
2026-01-16 21:53:54.454752252 UTC 1832M 6932M
2026-01-16 21:53:55.45485634 UTC 1837M 6927M
2026-01-16 21:53:56.454760959 UTC 1845M 6915M
2026-01-16 21:53:57.454803914 UTC 1851M 6905M
2026-01-16 21:53:58.454804323 UTC 1851M 6905M
2026-01-16 21:53:59.454801842 UTC 1851M 6905M
2026-01-16 21:54:00.454799024 UTC 1851M 6905M
2026-01-16 21:54:01.454808786 UTC 1851M 6905M
2026-01-16 21:54:02.454818826 UTC 1848M 6907M
2026-01-16 21:54:03.454759074 UTC 1848M 6907M
2026-01-16 21:54:04.454774431 UTC 1848M 6907M
2026-01-16 21:54:05.454767608 UTC 1848M 6908M
2026-01-16 21:54:06.45480156 UTC 1848M 6908M
2026-01-16 21:54:07.454790348 UTC 1848M 6907M
2026-01-16 21:54:08.45480839 UTC 1848M 6907M
2026-01-16 21:54:09.454758325 UTC 1848M 6907M
2026-01-16 21:54:10.454793438 UTC 1849M 6906M
2026-01-16 21:54:11.454750707 UTC 1850M 6905M
2026-01-16 21:54:12.454790667 UTC 1850M 6905M
2026-01-16 21:54:13.454858495 UTC 1850M 6905M
2026-01-16 21:54:14.454746732 UTC 1849M 6905M
2026-01-16 21:54:15.454806945 UTC 1850M 6905M
2026-01-16 21:54:16.454791938 UTC 1850M 6904M
2026-01-16 21:54:17.454767411 UTC 1850M 6904M
2026-01-16 21:54:18.454816548 UTC 1852M 6902M
2026-01-16 21:54:19.45475011 UTC 1852M 6902M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 34.648381016
P99 61.012780899999996ms
P95 50.3818032ms
P50 32.8427505ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-16 21:54:30.813983985 UTC 1761M 7031M
2026-01-16 21:54:31.813952283 UTC 1762M 7030M
2026-01-16 21:54:32.81392941 UTC 1768M 7023M
2026-01-16 21:54:33.813937817 UTC 1770M 7022M
2026-01-16 21:54:34.813879548 UTC 1770M 7022M
2026-01-16 21:54:35.813840668 UTC 1779M 7012M
2026-01-16 21:54:36.813911358 UTC 1789M 7001M
2026-01-16 21:54:37.813893529 UTC 1836M 6927M
2026-01-16 21:54:38.813851415 UTC 1875M 6860M
2026-01-16 21:54:39.817844386 UTC 1952M 6755M
2026-01-16 21:54:40.813858078 UTC 1999M 6708M
2026-01-16 21:54:41.814142351 UTC 1998M 6708M
2026-01-16 21:54:42.814429405 UTC 2029M 6667M
2026-01-16 21:54:43.814947209 UTC 2039M 6647M
2026-01-16 21:54:44.815374979 UTC 2051M 6625M
2026-01-16 21:54:45.814446957 UTC 2058M 6607M
2026-01-16 21:54:46.815948255 UTC 2061M 6594M
2026-01-16 21:54:47.814596616 UTC 2073M 6571M
2026-01-16 21:54:48.815471354 UTC 2083M 6551M
2026-01-16 21:54:49.816835729 UTC 2089M 6534M
2026-01-16 21:54:50.815213595 UTC 2091M 6524M
2026-01-16 21:54:51.814611138 UTC 2092M 6516M
2026-01-16 21:54:52.813856872 UTC 2096M 6508M
2026-01-16 21:54:53.81385148 UTC 2097M 6507M
2026-01-16 21:54:54.813838023 UTC 2097M 6506M
2026-01-16 21:54:55.813854854 UTC 2097M 6506M
2026-01-16 21:54:56.814342293 UTC 2098M 6505M
2026-01-16 21:54:57.813842222 UTC 2103M 6500M
2026-01-16 21:54:58.813849246 UTC 2102M 6500M
2026-01-16 21:54:59.813842243 UTC 2106M 6496M
2026-01-16 21:55:00.813840761 UTC 2107M 6496M
2026-01-16 21:55:01.813853101 UTC 2106M 6496M
2026-01-16 21:55:02.814033349 UTC 2108M 6494M
2026-01-16 21:55:03.813842656 UTC 2109M 6492M
2026-01-16 21:55:04.813832662 UTC 2109M 6492M
2026-01-16 21:55:05.813850038 UTC 2110M 6491M
2026-01-16 21:55:06.813860211 UTC 2110M 6491M
2026-01-16 21:55:07.813846879 UTC 2110M 6491M
2026-01-16 21:55:08.813848261 UTC 2110M 6491M
2026-01-16 21:55:09.819295084 UTC 2110M 6490M
2026-01-16 21:55:10.813851309 UTC 2110M 6490M
2026-01-16 21:55:11.813850086 UTC 2110M 6490M
2026-01-16 21:55:12.813846808 UTC 2110M 6490M
2026-01-16 21:55:13.813851234 UTC 2110M 6489M
2026-01-16 21:55:14.813836452 UTC 2111M 6488M
2026-01-16 21:55:15.813862729 UTC 2114M 6485M
2026-01-16 21:55:16.813854907 UTC 2115M 6484M
2026-01-16 21:55:17.813857957 UTC 2114M 6484M

@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.

3 participants