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-22 09:41:15.142990472 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.61 3.37 0.52
2 6038 12.91 4.10 0.55
3 6236 14.71 4.65 0.58
5 6641 18.84 5.95 0.64
10 7647 28.71 9.03 0.78
43 14279 98.99 30.94 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 918 4.36 2.33 0.24
5 1283 6.41 3.60 0.28
10 2175 12.13 7.25 0.40
54 10056 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 25.20 7.30 0.43
2 113 640 34.23 9.85 0.53
3 170 747 40.28 11.70 0.59
4 225 858 49.33 14.23 0.69
5 284 969 57.79 16.68 0.78
6 336 1081 71.63 20.38 0.92
7 397 1192 81.86 23.22 1.03
8 450 1303 82.96 23.98 1.05
9 504 1414 91.43 26.42 1.14
10 561 1525 99.78 28.70 1.23

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1810 24.00 7.62 0.48
2 1934 25.47 8.69 0.50
3 2073 27.36 9.87 0.53
5 2432 31.99 12.52 0.61
10 3231 41.93 18.62 0.77
41 7757 98.77 55.11 1.69

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 651 22.77 7.36 0.42
2 705 22.58 7.94 0.42
3 968 26.10 9.60 0.47
5 1155 28.80 11.72 0.52
10 1890 36.48 17.17 0.65
41 6556 97.82 54.91 1.62

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 692 27.47 8.46 0.46
2 820 29.26 9.62 0.49
3 1048 31.57 10.95 0.53
5 1248 37.10 13.79 0.60
10 2032 44.67 19.31 0.74
35 5659 97.11 50.57 1.55

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 675 33.79 10.15 0.53
2 827 35.92 11.40 0.56
3 1017 38.58 12.82 0.60
5 1217 41.97 15.07 0.65
10 2040 54.42 21.92 0.84
28 4657 94.97 45.17 1.45

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 5781 26.97 9.05 0.69
2 5933 35.80 12.04 0.79
3 6204 46.86 15.84 0.92
4 6278 54.51 18.37 1.00
5 6420 63.97 21.53 1.10
6 6568 70.01 23.62 1.18
7 6864 84.99 28.77 1.35
8 6853 90.53 30.55 1.40
9 7084 96.68 32.63 1.48

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 1 57 5868 21.66 7.37 0.64
10 5 284 6004 28.90 10.28 0.72
10 20 1140 6515 59.54 22.38 1.08
10 30 1704 6850 80.48 30.61 1.32
10 39 2222 7162 98.93 37.88 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 2025-09-22 09:44:21.528289656 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.277896676
P99 7.387880679999995ms
P95 6.373956250000001ms
P50 5.084735ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-09-22 09:43:01.459673936 UTC 1297M 6815M
2025-09-22 09:43:02.459599239 UTC 1340M 6734M
2025-09-22 09:43:03.459593917 UTC 1404M 6597M
2025-09-22 09:43:04.45955348 UTC 1417M 6584M
2025-09-22 09:43:05.459607506 UTC 1420M 6577M
2025-09-22 09:43:06.459657339 UTC 1432M 6561M
2025-09-22 09:43:07.459664716 UTC 1432M 6561M
2025-09-22 09:43:08.459628928 UTC 1432M 6561M
2025-09-22 09:43:09.459652914 UTC 1432M 6561M
2025-09-22 09:43:10.459656986 UTC 1432M 6561M
2025-09-22 09:43:11.459627974 UTC 1437M 6555M
2025-09-22 09:43:12.45966519 UTC 1437M 6555M
2025-09-22 09:43:13.459564546 UTC 1437M 6555M
2025-09-22 09:43:14.459675795 UTC 1437M 6555M
2025-09-22 09:43:15.45965726 UTC 1437M 6555M
2025-09-22 09:43:16.4596397 UTC 1437M 6555M
2025-09-22 09:43:17.45966133 UTC 1437M 6555M
2025-09-22 09:43:18.459565563 UTC 1437M 6555M
2025-09-22 09:43:19.45963278 UTC 1437M 6555M
2025-09-22 09:43:20.459657665 UTC 1437M 6555M
2025-09-22 09:43:21.459678794 UTC 1437M 6555M
2025-09-22 09:43:22.459607748 UTC 1437M 6555M
2025-09-22 09:43:23.459567838 UTC 1437M 6555M
2025-09-22 09:43:24.459670685 UTC 1437M 6555M
2025-09-22 09:43:25.459669997 UTC 1437M 6555M
2025-09-22 09:43:26.459667018 UTC 1437M 6555M
2025-09-22 09:43:27.459653636 UTC 1437M 6555M
2025-09-22 09:43:28.459609417 UTC 1437M 6555M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 37.568702740
P99 65.56360199000001ms
P95 55.71529409999999ms
P50 35.508744ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-09-22 09:43:39.705898704 UTC 1331M 6697M
2025-09-22 09:43:40.705763498 UTC 1332M 6695M
2025-09-22 09:43:41.705916234 UTC 1355M 6672M
2025-09-22 09:43:42.705939336 UTC 1514M 6435M
2025-09-22 09:43:43.705935815 UTC 1543M 6405M
2025-09-22 09:43:44.70729074 UTC 1577M 6371M
2025-09-22 09:43:45.706556543 UTC 1594M 6349M
2025-09-22 09:43:46.707841066 UTC 1617M 6316M
2025-09-22 09:43:47.707871114 UTC 1633M 6289M
2025-09-22 09:43:48.705893807 UTC 1647M 6264M
2025-09-22 09:43:49.705930107 UTC 1654M 6247M
2025-09-22 09:43:50.705861302 UTC 1668M 6224M
2025-09-22 09:43:51.706284347 UTC 1688M 6197M
2025-09-22 09:43:52.708725834 UTC 1696M 6181M
2025-09-22 09:43:53.706051069 UTC 1698M 6172M
2025-09-22 09:43:54.706174308 UTC 1704M 6158M
2025-09-22 09:43:55.706001095 UTC 1720M 6134M
2025-09-22 09:43:56.708337066 UTC 1730M 6114M
2025-09-22 09:43:57.705896397 UTC 1730M 6114M
2025-09-22 09:43:58.705933679 UTC 1730M 6114M
2025-09-22 09:43:59.705954832 UTC 1730M 6114M
2025-09-22 09:44:00.709709176 UTC 1730M 6114M
2025-09-22 09:44:01.705867036 UTC 1730M 6114M
2025-09-22 09:44:02.705953003 UTC 1730M 6114M
2025-09-22 09:44:03.705954764 UTC 1731M 6112M
2025-09-22 09:44:04.705893237 UTC 1731M 6112M
2025-09-22 09:44:05.70590848 UTC 1732M 6111M
2025-09-22 09:44:06.705940626 UTC 1731M 6111M
2025-09-22 09:44:07.705908887 UTC 1731M 6111M
2025-09-22 09:44:08.706600047 UTC 1739M 6104M
2025-09-22 09:44:09.705878378 UTC 1736M 6106M
2025-09-22 09:44:10.705956071 UTC 1737M 6105M
2025-09-22 09:44:11.705919227 UTC 1736M 6105M
2025-09-22 09:44:12.705921324 UTC 1736M 6105M
2025-09-22 09:44:13.706065831 UTC 1738M 6103M
2025-09-22 09:44:14.705939856 UTC 1740M 6101M
2025-09-22 09:44:15.706038804 UTC 1740M 6101M
2025-09-22 09:44:16.706267157 UTC 1740M 6101M
2025-09-22 09:44:17.705941539 UTC 1740M 6101M
2025-09-22 09:44:18.705993867 UTC 1741M 6100M
2025-09-22 09:44:19.705872779 UTC 1741M 6099M
2025-09-22 09:44:20.705822241 UTC 1741M 6099M

Copy link

github-actions bot commented Sep 2, 2025

Transaction cost differences

No cost or size differences found

@v0d1ch v0d1ch force-pushed the push-nolxsltxwqkv branch 2 times, most recently from 22ad98f to aeb2117 Compare September 2, 2025 15:03
@v0d1ch v0d1ch marked this pull request as ready for review September 17, 2025 11:16
Copy link
Contributor

@vrom911 vrom911 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking nice! 🚀

Some fixes for the blockfrost tests to pass
@noonio noonio merged commit 8ada777 into master Sep 22, 2025
19 checks passed
@noonio noonio deleted the push-nolxsltxwqkv branch September 22, 2025 10:03
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