Skip to content

Conversation

v0d1ch
Copy link
Contributor

@v0d1ch v0d1ch commented Sep 2, 2025

Some fixes for the blockfrost tests to pass


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

@v0d1ch v0d1ch self-assigned this Sep 2, 2025
@v0d1ch v0d1ch marked this pull request as draft September 2, 2025 13:27
Copy link

github-actions bot commented Sep 2, 2025

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-09-02 15:10:00.178683486 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 be6ebc744208c660bf0fdc1cfbb5157477cd305de5b1777e575cbb4c 14665
μHead 1f47a42d1d6edc32ccd834acb19d5db3b2a5232f0bd7eaa8908dc519* 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 5834 10.38 3.29 0.51
2 6039 12.65 4.01 0.55
3 6238 14.71 4.65 0.58
5 6641 18.60 5.87 0.64
10 7646 28.94 9.11 0.79
43 14286 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 561 2.44 1.16 0.20
2 742 3.38 1.73 0.22
3 920 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2180 12.13 7.25 0.40
54 10079 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 56 524 25.20 7.30 0.43
2 114 636 32.27 9.39 0.51
3 169 747 41.51 12.00 0.61
4 226 858 48.31 14.04 0.68
5 282 969 64.44 18.33 0.85
6 341 1081 65.96 19.03 0.87
7 394 1192 73.12 21.08 0.95
8 449 1303 89.35 25.46 1.11

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1808 23.87 7.97 0.48
2 1994 26.80 9.59 0.52
3 2018 25.81 9.85 0.52
5 2326 29.71 12.48 0.58
10 3077 39.41 18.99 0.74
41 7774 99.91 59.56 1.73

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 635 22.57 7.31 0.41
2 711 22.59 7.95 0.42
3 946 26.79 9.83 0.48
5 1193 27.98 11.46 0.51
10 1976 39.83 18.11 0.69
43 6786 98.35 56.40 1.65

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 644 29.04 9.25 0.48
2 786 30.79 10.46 0.51
3 1012 33.97 12.30 0.56
5 1232 36.77 14.41 0.61
10 1981 43.98 20.18 0.74
34 5596 97.64 53.61 1.57

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 678 33.73 10.50 0.53
2 838 35.73 11.79 0.56
3 942 37.74 13.06 0.59
5 1298 43.03 16.20 0.67
10 2059 53.65 22.90 0.84
30 4988 98.81 50.42 1.53

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 5820 27.09 9.08 0.69
2 5964 35.93 12.07 0.79
3 6052 44.66 15.03 0.89
4 6270 56.07 18.97 1.02
5 6415 64.02 21.58 1.11
6 6638 73.60 24.84 1.22
7 6503 73.32 24.53 1.21
8 7100 94.56 32.09 1.46
9 6787 93.70 31.41 1.43

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 19.19 6.41 0.61
10 10 569 6173 39.08 14.30 0.84
10 20 1138 6512 60.46 22.69 1.09
10 39 2219 7158 98.11 37.59 1.53

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-09-02 15:12:36.156052881 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.552551170
P99 8.808880539999983ms
P95 6.865118000000001ms
P50 5.2975065ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-09-02 15:11:21.597582263 UTC 1306M 6735M
2025-09-02 15:11:22.597563139 UTC 1370M 6633M
2025-09-02 15:11:23.59755021 UTC 1415M 6516M
2025-09-02 15:11:24.597728999 UTC 1431M 6499M
2025-09-02 15:11:25.597553328 UTC 1434M 6491M
2025-09-02 15:11:26.597536286 UTC 1449M 6473M
2025-09-02 15:11:27.597477517 UTC 1449M 6473M
2025-09-02 15:11:28.597515218 UTC 1449M 6473M
2025-09-02 15:11:29.597586156 UTC 1449M 6473M
2025-09-02 15:11:30.597552019 UTC 1449M 6473M
2025-09-02 15:11:31.597587058 UTC 1449M 6473M
2025-09-02 15:11:32.597588237 UTC 1454M 6468M
2025-09-02 15:11:33.597575631 UTC 1454M 6468M
2025-09-02 15:11:34.597606595 UTC 1454M 6468M
2025-09-02 15:11:35.597585342 UTC 1454M 6468M
2025-09-02 15:11:36.597577055 UTC 1454M 6467M
2025-09-02 15:11:37.597553416 UTC 1454M 6467M
2025-09-02 15:11:38.597570913 UTC 1454M 6467M
2025-09-02 15:11:39.597564676 UTC 1454M 6467M
2025-09-02 15:11:40.597491699 UTC 1454M 6467M
2025-09-02 15:11:41.597588596 UTC 1454M 6467M
2025-09-02 15:11:42.597571749 UTC 1454M 6467M
2025-09-02 15:11:43.59750797 UTC 1454M 6467M
2025-09-02 15:11:44.597498859 UTC 1454M 6467M
2025-09-02 15:11:45.597480913 UTC 1454M 6467M
2025-09-02 15:11:46.59755746 UTC 1454M 6467M
2025-09-02 15:11:47.597577719 UTC 1454M 6467M
2025-09-02 15:11:48.59746623 UTC 1454M 6467M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 32.486059275
P99 47.67161796999999ms
P95 41.87123044999999ms
P50 31.5653145ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-09-02 15:11:59.704878265 UTC 1351M 6605M
2025-09-02 15:12:00.704895698 UTC 1353M 6603M
2025-09-02 15:12:01.704962333 UTC 1372M 6585M
2025-09-02 15:12:02.704918381 UTC 1538M 6339M
2025-09-02 15:12:03.705053917 UTC 1550M 6327M
2025-09-02 15:12:04.705164001 UTC 1581M 6296M
2025-09-02 15:12:05.70542262 UTC 1599M 6273M
2025-09-02 15:12:06.705230778 UTC 1624M 6237M
2025-09-02 15:12:07.704889456 UTC 1649M 6202M
2025-09-02 15:12:08.705575783 UTC 1655M 6186M
2025-09-02 15:12:09.706501263 UTC 1665M 6165M
2025-09-02 15:12:10.705464048 UTC 1668M 6152M
2025-09-02 15:12:11.704835359 UTC 1678M 6131M
2025-09-02 15:12:12.705039698 UTC 1684M 6114M
2025-09-02 15:12:13.706003507 UTC 1690M 6098M
2025-09-02 15:12:14.70491274 UTC 1692M 6085M
2025-09-02 15:12:15.705148978 UTC 1693M 6080M
2025-09-02 15:12:16.705029588 UTC 1693M 6080M
2025-09-02 15:12:17.705081431 UTC 1693M 6080M
2025-09-02 15:12:18.704976952 UTC 1693M 6080M
2025-09-02 15:12:19.70491076 UTC 1694M 6079M
2025-09-02 15:12:20.705033527 UTC 1693M 6080M
2025-09-02 15:12:21.705155591 UTC 1693M 6080M
2025-09-02 15:12:22.705099471 UTC 1693M 6080M
2025-09-02 15:12:23.704951995 UTC 1692M 6080M
2025-09-02 15:12:24.704991393 UTC 1692M 6080M
2025-09-02 15:12:25.705072922 UTC 1692M 6080M
2025-09-02 15:12:26.705103992 UTC 1692M 6079M
2025-09-02 15:12:27.70501144 UTC 1692M 6079M
2025-09-02 15:12:28.705038837 UTC 1692M 6079M
2025-09-02 15:12:29.704943593 UTC 1693M 6078M
2025-09-02 15:12:30.704942171 UTC 1693M 6078M
2025-09-02 15:12:31.704863784 UTC 1693M 6078M
2025-09-02 15:12:32.705057233 UTC 1693M 6078M
2025-09-02 15:12:33.704992695 UTC 1697M 6074M
2025-09-02 15:12:34.704916178 UTC 1698M 6073M
2025-09-02 15:12:35.704899349 UTC 1697M 6072M

Copy link

github-actions bot commented Sep 2, 2025

Transaction cost differences

No cost or size differences found

Some fixes for the blockfrost tests to pass
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