Skip to content

V1.2.4#5

Open
HinsonSIDAN wants to merge 7 commits intov1.2.0-basefrom
v1.2.4
Open

V1.2.4#5
HinsonSIDAN wants to merge 7 commits intov1.2.0-basefrom
v1.2.4

Conversation

@HinsonSIDAN
Copy link
Member


  • 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 7 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-21 22:08:36.965496224 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 5837 10.17 3.22 0.51
2 6038 12.25 3.87 0.54
3 6238 14.50 4.58 0.57
5 6641 18.43 5.81 0.63
10 7651 29.12 9.18 0.79
43 14285 98.58 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 559 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 2176 12.13 7.25 0.40
54 10050 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 24.42 7.12 0.42
2 114 636 32.24 9.37 0.51
3 170 751 41.20 11.90 0.60
4 226 862 52.60 15.09 0.72
5 283 969 61.35 17.59 0.82
6 340 1081 66.09 19.06 0.87
7 397 1196 86.55 24.39 1.08
8 448 1303 93.43 26.39 1.15

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1748 23.30 7.41 0.47
2 1981 26.84 9.06 0.52
3 2143 27.94 10.05 0.54
5 2278 29.01 11.68 0.57
10 3096 39.91 18.05 0.74
39 7588 97.54 53.42 1.66

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 648 22.81 7.37 0.42
2 816 25.43 8.79 0.46
3 1015 27.72 10.10 0.49
5 1254 29.97 12.04 0.53
10 2153 41.07 18.46 0.71
40 6384 95.88 53.70 1.59

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 654 29.13 8.90 0.48
2 832 29.22 9.61 0.49
3 1016 31.57 10.95 0.53
5 1253 35.08 13.26 0.58
10 2085 48.23 20.28 0.78
36 5941 96.61 51.24 1.56

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 667 33.87 10.16 0.53
2 834 35.92 11.40 0.56
3 1011 38.59 12.82 0.60
5 1311 43.43 15.51 0.67
10 2136 55.47 22.24 0.85
28 4625 94.44 44.99 1.44

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 5812 27.05 9.07 0.69
2 5956 35.89 12.04 0.79
3 6169 47.09 15.91 0.92
4 6208 54.22 18.24 0.99
5 6457 65.48 22.11 1.12
6 6503 70.63 23.75 1.18
7 6575 77.60 26.06 1.25
8 6887 93.48 31.52 1.44
9 6940 99.35 33.47 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 0 0 5834 18.05 6.02 0.60
10 1 57 5868 20.96 7.13 0.63
10 5 285 6004 30.67 10.88 0.74
10 10 569 6173 39.06 14.30 0.84
10 20 1138 6512 59.10 22.22 1.07
10 30 1708 6854 80.04 30.46 1.32
10 37 2105 7090 93.95 35.96 1.48

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-21 22:11:41.127475833 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.406813440
P99 7.966774359999991ms
P95 6.53257625ms
P50 5.2163695ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-21 22:10:17.668959742 UTC 1706M 7174M
2026-01-21 22:10:18.668884129 UTC 1718M 7127M
2026-01-21 22:10:19.668881346 UTC 1722M 7122M
2026-01-21 22:10:20.668828154 UTC 1747M 7097M
2026-01-21 22:10:21.668939463 UTC 1745M 7080M
2026-01-21 22:10:22.668874715 UTC 1815M 6953M
2026-01-21 22:10:23.668936497 UTC 1830M 6937M
2026-01-21 22:10:24.668930593 UTC 1834M 6928M
2026-01-21 22:10:25.668865523 UTC 1840M 6919M
2026-01-21 22:10:26.668847219 UTC 1840M 6919M
2026-01-21 22:10:27.668863621 UTC 1840M 6919M
2026-01-21 22:10:28.668926064 UTC 1840M 6919M
2026-01-21 22:10:29.668930032 UTC 1840M 6919M
2026-01-21 22:10:30.668924477 UTC 1845M 6914M
2026-01-21 22:10:31.668900964 UTC 1845M 6914M
2026-01-21 22:10:32.668909558 UTC 1845M 6914M
2026-01-21 22:10:33.668914733 UTC 1845M 6914M
2026-01-21 22:10:34.668906902 UTC 1845M 6914M
2026-01-21 22:10:35.668890446 UTC 1845M 6914M
2026-01-21 22:10:36.668894708 UTC 1845M 6914M
2026-01-21 22:10:37.668898866 UTC 1845M 6914M
2026-01-21 22:10:38.66890571 UTC 1845M 6913M
2026-01-21 22:10:39.668875941 UTC 1847M 6912M
2026-01-21 22:10:40.668885561 UTC 1847M 6912M
2026-01-21 22:10:41.668864721 UTC 1847M 6912M
2026-01-21 22:10:42.668840712 UTC 1847M 6912M
2026-01-21 22:10:43.668913922 UTC 1847M 6912M
2026-01-21 22:10:44.668887189 UTC 1847M 6911M
2026-01-21 22:10:45.668816344 UTC 1847M 6911M
2026-01-21 22:10:46.66889181 UTC 1847M 6911M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 32.526268395
P99 47.862951249999995ms
P95 42.1220079ms
P50 31.7344225ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-21 22:10:58.705840855 UTC 1740M 7055M
2026-01-21 22:10:59.705708257 UTC 1741M 7055M
2026-01-21 22:11:00.705792326 UTC 1754M 7042M
2026-01-21 22:11:01.705773917 UTC 1755M 7040M
2026-01-21 22:11:02.705853969 UTC 1757M 7038M
2026-01-21 22:11:03.705783542 UTC 1760M 7035M
2026-01-21 22:11:04.705915932 UTC 1760M 7035M
2026-01-21 22:11:05.705739751 UTC 1810M 6957M
2026-01-21 22:11:06.705853529 UTC 1870M 6869M
2026-01-21 22:11:07.705930108 UTC 1922M 6789M
2026-01-21 22:11:08.70585854 UTC 1965M 6746M
2026-01-21 22:11:09.708666273 UTC 1971M 6739M
2026-01-21 22:11:10.705860104 UTC 2004M 6698M
2026-01-21 22:11:11.705843572 UTC 2015M 6676M
2026-01-21 22:11:12.706035562 UTC 2036M 6645M
2026-01-21 22:11:13.707181206 UTC 2040M 6632M
2026-01-21 22:11:14.706347129 UTC 2048M 6613M
2026-01-21 22:11:15.706773118 UTC 2056M 6594M
2026-01-21 22:11:16.708263006 UTC 2062M 6577M
2026-01-21 22:11:17.707145108 UTC 2069M 6560M
2026-01-21 22:11:18.705858062 UTC 2077M 6542M
2026-01-21 22:11:19.705854731 UTC 2081M 6527M
2026-01-21 22:11:20.706993989 UTC 2083M 6524M
2026-01-21 22:11:21.706088986 UTC 2086M 6521M
2026-01-21 22:11:22.705949574 UTC 2091M 6517M
2026-01-21 22:11:23.705895366 UTC 2089M 6518M
2026-01-21 22:11:24.705831638 UTC 2089M 6518M
2026-01-21 22:11:25.70575947 UTC 2089M 6518M
2026-01-21 22:11:26.705822787 UTC 2089M 6517M
2026-01-21 22:11:27.705878549 UTC 2089M 6517M
2026-01-21 22:11:28.705827367 UTC 2090M 6516M
2026-01-21 22:11:29.705788867 UTC 2090M 6516M
2026-01-21 22:11:30.705763301 UTC 2091M 6515M
2026-01-21 22:11:31.705872039 UTC 2091M 6514M
2026-01-21 22:11:32.705803377 UTC 2099M 6506M
2026-01-21 22:11:33.705815946 UTC 2099M 6506M
2026-01-21 22:11:34.705850363 UTC 2099M 6506M
2026-01-21 22:11:35.705766879 UTC 2100M 6505M
2026-01-21 22:11:36.705866029 UTC 2103M 6502M
2026-01-21 22:11:37.705921842 UTC 2105M 6500M
2026-01-21 22:11:38.705836069 UTC 2104M 6500M
2026-01-21 22:11:39.705833784 UTC 2104M 6500M
2026-01-21 22:11:40.705764528 UTC 2104M 6500M

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

4 participants