Skip to content

V1.2.3 pr5 6#7

Open
awcjack wants to merge 17 commits intov1.2.0-basefrom
v1.2.3-pr5-6
Open

V1.2.3 pr5 6#7
awcjack wants to merge 17 commits intov1.2.0-basefrom
v1.2.3-pr5-6

Conversation

@awcjack
Copy link

@awcjack awcjack commented Jan 22, 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 13 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

github-actions bot commented Jan 22, 2026

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-23 09:16:17.110503986 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.26 3.25 0.51
2 6038 13.16 4.19 0.55
3 6238 14.59 4.61 0.58
5 6638 18.64 5.88 0.64
10 7644 28.92 9.11 0.79
43 14279 98.97 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 563 2.44 1.16 0.20
2 742 3.38 1.73 0.22
3 923 4.36 2.33 0.24
5 1277 6.41 3.60 0.28
10 2176 12.13 7.25 0.40
54 10061 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.23 9.37 0.51
3 170 747 41.62 12.04 0.61
4 224 858 52.40 15.00 0.72
5 283 969 64.35 18.25 0.84
6 338 1081 67.52 19.40 0.88
7 394 1192 84.78 23.93 1.06
8 450 1307 94.97 26.91 1.17

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1792 24.00 7.62 0.48
2 1954 25.84 8.78 0.51
3 2146 29.17 10.39 0.56
5 2367 31.53 12.37 0.60
10 3295 43.20 18.98 0.78
39 7375 92.54 52.01 1.60

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 615 22.80 7.38 0.41
2 758 24.25 8.44 0.44
3 971 27.10 9.91 0.48
5 1196 30.01 12.06 0.53
10 2234 43.37 19.11 0.74
41 6515 95.68 54.30 1.60

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 674 27.51 8.47 0.46
2 855 29.56 9.71 0.50
3 1020 34.18 11.67 0.56
5 1202 34.29 13.02 0.57
10 1909 43.66 18.98 0.72
36 6206 98.76 51.91 1.60

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 674 33.83 10.16 0.53
2 807 35.85 11.38 0.56
3 970 37.80 12.59 0.59
5 1200 42.01 15.08 0.65
10 2093 55.13 22.13 0.85
29 5009 99.19 47.06 1.51

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 5790 27.13 9.10 0.69
2 5893 34.87 11.66 0.78
3 6251 47.24 15.96 0.92
4 6091 49.19 16.43 0.93
5 6288 56.98 19.07 1.02
6 6423 68.89 23.06 1.16
7 6768 82.70 27.90 1.32
8 6824 92.26 31.07 1.42
9 6792 90.52 30.32 1.40

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.93 6.32 0.61
10 1 57 5869 21.66 7.37 0.64
10 5 284 6003 29.79 10.58 0.73
10 10 569 6174 38.62 14.15 0.84
10 20 1138 6512 60.87 22.83 1.09
10 30 1707 6853 80.92 30.76 1.33
10 38 2164 7126 96.44 36.92 1.51

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-23 09:19:52.131636853 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.630647606
P99 12.012606909999988ms
P95 6.937144200000002ms
P50 5.215849ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-23 09:18:24.012150629 UTC 1715M 7044M
2026-01-23 09:18:25.012219105 UTC 1742M 6983M
2026-01-23 09:18:26.012194731 UTC 1756M 6969M
2026-01-23 09:18:27.012125929 UTC 1785M 6939M
2026-01-23 09:18:28.012111131 UTC 1801M 6874M
2026-01-23 09:18:29.012227312 UTC 1825M 6823M
2026-01-23 09:18:30.012158044 UTC 1848M 6797M
2026-01-23 09:18:31.012118644 UTC 1854M 6787M
2026-01-23 09:18:32.012109652 UTC 1854M 6785M
2026-01-23 09:18:33.01210102 UTC 1854M 6785M
2026-01-23 09:18:34.01210524 UTC 1854M 6785M
2026-01-23 09:18:35.012116068 UTC 1854M 6785M
2026-01-23 09:18:36.012116563 UTC 1854M 6785M
2026-01-23 09:18:37.012109394 UTC 1854M 6784M
2026-01-23 09:18:38.012112423 UTC 1854M 6784M
2026-01-23 09:18:39.012116719 UTC 1854M 6784M
2026-01-23 09:18:40.012110191 UTC 1854M 6784M
2026-01-23 09:18:41.012123487 UTC 1852M 6786M
2026-01-23 09:18:42.012115542 UTC 1856M 6782M
2026-01-23 09:18:43.012117285 UTC 1856M 6782M
2026-01-23 09:18:44.012111465 UTC 1856M 6782M
2026-01-23 09:18:45.012121525 UTC 1856M 6781M
2026-01-23 09:18:46.01211009 UTC 1856M 6781M
2026-01-23 09:18:47.012114267 UTC 1856M 6781M
2026-01-23 09:18:48.012116609 UTC 1856M 6781M
2026-01-23 09:18:49.01212035 UTC 1856M 6781M
2026-01-23 09:18:50.012119027 UTC 1856M 6781M
2026-01-23 09:18:51.012120036 UTC 1857M 6780M
2026-01-23 09:18:52.012116567 UTC 1857M 6780M
2026-01-23 09:18:53.01210921 UTC 1857M 6780M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 38.144533460
P99 75.17686619999999ms
P95 63.200868ms
P50 34.3692985ms
Number of Invalid txs 0

Memory data

Time Used Free
2026-01-23 09:19:04.998547491 UTC 1740M 6935M
2026-01-23 09:19:05.998506029 UTC 1740M 6934M
2026-01-23 09:19:06.998523271 UTC 1754M 6920M
2026-01-23 09:19:07.998531867 UTC 1757M 6917M
2026-01-23 09:19:08.99852719 UTC 1759M 6915M
2026-01-23 09:19:09.998436834 UTC 1767M 6907M
2026-01-23 09:19:10.99991532 UTC 1824M 6822M
2026-01-23 09:19:11.998440098 UTC 1863M 6783M
2026-01-23 09:19:12.998448054 UTC 1901M 6717M
2026-01-23 09:19:13.998419149 UTC 1939M 6651M
2026-01-23 09:19:14.999552564 UTC 1983M 6606M
2026-01-23 09:19:15.99877582 UTC 2005M 6583M
2026-01-23 09:19:16.99886591 UTC 2024M 6553M
2026-01-23 09:19:17.998887211 UTC 2033M 6534M
2026-01-23 09:19:18.999719532 UTC 2051M 6506M
2026-01-23 09:19:19.99901362 UTC 2062M 6485M
2026-01-23 09:19:20.998893028 UTC 2067M 6470M
2026-01-23 09:19:21.998863027 UTC 2074M 6452M
2026-01-23 09:19:22.998660969 UTC 2083M 6432M
2026-01-23 09:19:24.000461946 UTC 2086M 6423M
2026-01-23 09:19:24.998466005 UTC 2093M 6410M
2026-01-23 09:19:25.998410635 UTC 2097M 6400M
2026-01-23 09:19:26.998487024 UTC 2099M 6391M
2026-01-23 09:19:27.998489357 UTC 2100M 6386M
2026-01-23 09:19:28.998515841 UTC 2102M 6385M
2026-01-23 09:19:29.998423904 UTC 2104M 6382M
2026-01-23 09:19:30.99848705 UTC 2107M 6379M
2026-01-23 09:19:31.99845966 UTC 2108M 6377M
2026-01-23 09:19:32.998463367 UTC 2107M 6378M
2026-01-23 09:19:33.998431616 UTC 2107M 6378M
2026-01-23 09:19:34.998432453 UTC 2110M 6375M
2026-01-23 09:19:35.998481705 UTC 2110M 6374M
2026-01-23 09:19:36.998461423 UTC 2111M 6374M
2026-01-23 09:19:37.998437174 UTC 2115M 6369M
2026-01-23 09:19:38.998478568 UTC 2115M 6369M
2026-01-23 09:19:39.998451954 UTC 2115M 6369M
2026-01-23 09:19:40.998460625 UTC 2115M 6369M
2026-01-23 09:19:41.998436854 UTC 2115M 6369M
2026-01-23 09:19:42.99844149 UTC 2124M 6359M
2026-01-23 09:19:43.998501958 UTC 2125M 6359M
2026-01-23 09:19:44.998453004 UTC 2124M 6359M
2026-01-23 09:19:45.998432092 UTC 2124M 6359M
2026-01-23 09:19:46.998473344 UTC 2125M 6358M
2026-01-23 09:19:47.998484184 UTC 2125M 6358M
2026-01-23 09:19:48.998462386 UTC 2127M 6356M
2026-01-23 09:19:49.998484916 UTC 2127M 6356M
2026-01-23 09:19:50.998466701 UTC 2127M 6355M
2026-01-23 09:19:51.998468728 UTC 2126M 6355M

@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