Skip to content

V1.2.5#6

Open
HinsonSIDAN wants to merge 8 commits intov1.2.0-basefrom
v1.2.5
Open

V1.2.5#6
HinsonSIDAN wants to merge 8 commits intov1.2.0-basefrom
v1.2.5

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 8 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 23:11:58.019255257 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.19 3.22 0.51
2 6037 12.25 3.87 0.54
3 6238 14.29 4.51 0.57
5 6640 18.41 5.80 0.63
10 7646 28.92 9.11 0.79
43 14279 98.95 30.93 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 737 3.38 1.73 0.22
3 920 4.36 2.33 0.24
5 1279 6.41 3.60 0.28
10 2176 12.13 7.25 0.40
54 10071 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 529 25.20 7.30 0.43
2 113 636 33.25 9.61 0.52
3 170 747 41.48 11.99 0.60
4 226 858 50.50 14.54 0.70
5 284 969 62.18 17.70 0.82
6 338 1081 64.22 18.65 0.85
7 394 1192 82.97 23.54 1.04
8 450 1303 79.81 23.17 1.02

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1795 24.29 7.69 0.48
2 1972 26.58 9.01 0.52
3 2013 26.24 9.56 0.52
5 2527 33.18 12.85 0.62
10 3086 39.51 17.95 0.73
39 7576 98.07 53.54 1.66

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 606 22.53 7.29 0.41
2 782 24.28 8.45 0.44
3 978 27.10 9.89 0.48
5 1229 31.18 12.38 0.55
10 2007 39.98 18.15 0.69
42 6737 99.99 56.18 1.66

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 687 27.51 8.47 0.46
2 813 31.58 10.26 0.52
3 1005 31.65 10.97 0.53
5 1225 34.41 13.05 0.58
10 2061 44.97 19.40 0.74
37 6059 99.15 52.57 1.60

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 685 33.83 10.16 0.53
2 806 35.89 11.39 0.56
3 997 38.51 12.80 0.60
5 1325 43.28 15.48 0.67
10 2116 54.85 22.04 0.85
28 4765 96.37 45.58 1.47

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 5836 27.05 9.08 0.69
2 5921 32.41 10.83 0.75
3 6143 45.57 15.38 0.90
4 6255 55.05 18.54 1.00
5 6315 62.59 21.03 1.09
6 6519 68.66 23.16 1.16
7 6756 83.88 28.25 1.33
8 6833 92.46 31.17 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 18.75 6.26 0.60
10 5 285 6004 30.23 10.73 0.74
10 10 571 6175 39.95 14.60 0.85
10 20 1138 6513 60.42 22.68 1.09
10 30 1707 6853 80.85 30.74 1.33
10 39 2222 7162 99.31 38.01 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-21 23:15:01.679895791 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.095630640
P99 7.8227407899999974ms
P95 6.00060485ms
P50 4.9486245ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-21 23:13:33.755272392 UTC 1727M 7104M
2026-01-21 23:13:34.75521519 UTC 1732M 7065M
2026-01-21 23:13:35.755171145 UTC 1739M 7058M
2026-01-21 23:13:36.75520653 UTC 1773M 7023M
2026-01-21 23:13:37.755215229 UTC 1774M 6974M
2026-01-21 23:13:38.755245737 UTC 1821M 6898M
2026-01-21 23:13:39.755182803 UTC 1839M 6878M
2026-01-21 23:13:40.75522516 UTC 1847M 6865M
2026-01-21 23:13:41.755232854 UTC 1846M 6865M
2026-01-21 23:13:42.755222077 UTC 1847M 6864M
2026-01-21 23:13:43.755168831 UTC 1847M 6864M
2026-01-21 23:13:44.755200358 UTC 1846M 6864M
2026-01-21 23:13:45.755218758 UTC 1846M 6864M
2026-01-21 23:13:46.755140946 UTC 1847M 6864M
2026-01-21 23:13:47.755234385 UTC 1847M 6863M
2026-01-21 23:13:48.755225754 UTC 1847M 6863M
2026-01-21 23:13:49.755223659 UTC 1847M 6863M
2026-01-21 23:13:50.755234136 UTC 1847M 6863M
2026-01-21 23:13:51.755219656 UTC 1847M 6863M
2026-01-21 23:13:52.755223941 UTC 1848M 6862M
2026-01-21 23:13:53.755226743 UTC 1848M 6862M
2026-01-21 23:13:54.755230816 UTC 1849M 6861M
2026-01-21 23:13:55.755195791 UTC 1849M 6861M
2026-01-21 23:13:56.755194076 UTC 1849M 6860M
2026-01-21 23:13:57.755226502 UTC 1850M 6860M
2026-01-21 23:13:58.755200724 UTC 1850M 6860M
2026-01-21 23:13:59.755221095 UTC 1850M 6860M
2026-01-21 23:14:00.755203638 UTC 1850M 6859M
2026-01-21 23:14:01.755220743 UTC 1850M 6859M
2026-01-21 23:14:02.755221446 UTC 1852M 6857M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 34.918056923
P99 61.46430015999999ms
P95 52.0740414ms
P50 32.525987ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-21 23:14:14.706587152 UTC 1742M 7005M
2026-01-21 23:14:15.706503269 UTC 1742M 7005M
2026-01-21 23:14:16.706531004 UTC 1750M 6997M
2026-01-21 23:14:17.706510658 UTC 1754M 6992M
2026-01-21 23:14:18.70653123 UTC 1755M 6991M
2026-01-21 23:14:19.706522552 UTC 1761M 6985M
2026-01-21 23:14:20.706422806 UTC 1761M 6985M
2026-01-21 23:14:21.706598079 UTC 1805M 6913M
2026-01-21 23:14:22.707194407 UTC 1847M 6843M
2026-01-21 23:14:23.706530974 UTC 1927M 6735M
2026-01-21 23:14:24.706600837 UTC 1959M 6702M
2026-01-21 23:14:25.707104786 UTC 1961M 6700M
2026-01-21 23:14:26.708498646 UTC 2006M 6645M
2026-01-21 23:14:27.706953729 UTC 2018M 6625M
2026-01-21 23:14:28.707330511 UTC 2036M 6595M
2026-01-21 23:14:29.710415593 UTC 2045M 6576M
2026-01-21 23:14:30.706655173 UTC 2050M 6560M
2026-01-21 23:14:31.707045644 UTC 2065M 6534M
2026-01-21 23:14:32.707388536 UTC 2069M 6520M
2026-01-21 23:14:33.7068322 UTC 2071M 6507M
2026-01-21 23:14:34.708141312 UTC 2075M 6497M
2026-01-21 23:14:35.706472405 UTC 2082M 6481M
2026-01-21 23:14:36.706590749 UTC 2085M 6473M
2026-01-21 23:14:37.706583998 UTC 2087M 6471M
2026-01-21 23:14:38.706765653 UTC 2087M 6471M
2026-01-21 23:14:39.706630269 UTC 2087M 6471M
2026-01-21 23:14:40.706554542 UTC 2088M 6470M
2026-01-21 23:14:41.706634198 UTC 2090M 6467M
2026-01-21 23:14:42.706726419 UTC 2092M 6465M
2026-01-21 23:14:43.706647223 UTC 2092M 6465M
2026-01-21 23:14:44.706593659 UTC 2092M 6465M
2026-01-21 23:14:45.706622323 UTC 2092M 6465M
2026-01-21 23:14:46.706676411 UTC 2092M 6465M
2026-01-21 23:14:47.706814782 UTC 2101M 6455M
2026-01-21 23:14:48.706744707 UTC 2101M 6455M
2026-01-21 23:14:49.706589295 UTC 2101M 6455M
2026-01-21 23:14:50.706559996 UTC 2101M 6455M
2026-01-21 23:14:51.706623612 UTC 2102M 6454M
2026-01-21 23:14:52.706589978 UTC 2103M 6452M
2026-01-21 23:14:53.706559009 UTC 2104M 6451M
2026-01-21 23:14:54.706623532 UTC 2106M 6449M
2026-01-21 23:14:55.706715466 UTC 2106M 6449M
2026-01-21 23:14:56.706537634 UTC 2106M 6449M
2026-01-21 23:14:57.706570487 UTC 2114M 6441M
2026-01-21 23:14:58.706434926 UTC 2114M 6441M
2026-01-21 23:14:59.706660396 UTC 2115M 6439M
2026-01-21 23:15:00.706510228 UTC 2116M 6438M

@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