Skip to content

Conversation

locallycompact
Copy link
Contributor

No description provided.

@locallycompact locallycompact force-pushed the capi-10.17 branch 10 times, most recently from 8d124ff to 4a0dccd Compare June 16, 2025 10:47
@locallycompact locallycompact marked this pull request as draft June 18, 2025 09:42
@locallycompact locallycompact force-pushed the capi-10.17 branch 13 times, most recently from d6d74f1 to 3e92092 Compare July 4, 2025 14:08
Copy link

github-actions bot commented Jul 4, 2025

Transaction cost differences

No cost or size differences found

@locallycompact
Copy link
Contributor Author

@locallycompact locallycompact force-pushed the capi-10.17 branch 2 times, most recently from 070ef3d to 12187af Compare July 12, 2025 13:22
Copy link

github-actions bot commented Jul 12, 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-08-18 13:00:18.639507744 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 5838 10.36 3.28 0.51
2 6038 12.67 4.01 0.55
3 6239 14.47 4.57 0.57
5 6640 18.83 5.95 0.64
10 7646 28.92 9.11 0.79
43 14279 98.56 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 561 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 2172 12.13 7.25 0.40
54 10066 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 114 636 32.28 9.39 0.51
3 170 747 42.57 12.28 0.62
4 225 858 52.66 15.08 0.72
5 282 969 55.76 16.16 0.76
6 339 1085 75.33 21.31 0.96
7 394 1196 84.37 23.83 1.06
8 451 1303 84.69 24.30 1.07

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1820 23.87 7.97 0.48
2 1979 26.73 9.57 0.52
3 2013 25.78 9.84 0.52
5 2417 31.08 12.97 0.60
10 3129 40.40 19.37 0.75
41 7710 97.37 58.67 1.70

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 628 22.53 7.31 0.41
2 755 23.62 8.24 0.43
3 959 26.95 9.88 0.48
5 1168 28.00 11.47 0.51
10 1990 38.12 17.63 0.67
41 6655 96.73 54.62 1.62

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 647 29.00 9.24 0.48
2 808 30.75 10.46 0.51
3 903 30.13 10.90 0.51
5 1134 35.53 13.83 0.59
10 2080 45.12 20.73 0.76
37 6117 97.77 56.03 1.61

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 678 33.70 10.50 0.53
2 853 36.37 12.07 0.57
3 942 37.66 13.04 0.59
5 1324 42.95 16.19 0.67
10 2024 53.89 22.99 0.84
30 4967 99.06 50.60 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 5785 27.13 9.11 0.69
2 6005 37.06 12.50 0.80
3 5978 40.59 13.56 0.84
4 6290 54.94 18.51 1.00
5 6322 62.66 21.06 1.09
6 6604 71.49 24.14 1.19
7 6813 84.06 28.37 1.33
8 6900 89.40 30.14 1.39
9 6973 99.66 33.64 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 1 57 5868 20.78 7.06 0.63
10 5 285 6004 28.47 10.13 0.72
10 10 569 6174 39.08 14.30 0.84
10 20 1139 6513 58.69 22.08 1.07
10 38 2165 7127 96.50 36.94 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 2025-08-18 13:09:45.628403696 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 12.161480703
P99 261.34748857999995ms
P95 8.221475100000026ms
P50 5.151719ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-08-18 13:08:30.621302646 UTC 1175M 7429M
2025-08-18 13:08:31.621105494 UTC 1179M 7425M
2025-08-18 13:08:32.621097288 UTC 1204M 7399M
2025-08-18 13:08:33.621255392 UTC 1253M 7323M
2025-08-18 13:08:34.621218418 UTC 1270M 7304M
2025-08-18 13:08:35.621188826 UTC 1257M 7315M
2025-08-18 13:08:36.621227097 UTC 1253M 7319M
2025-08-18 13:08:37.621206363 UTC 1256M 7313M
2025-08-18 13:08:38.62112648 UTC 1260M 7307M
2025-08-18 13:08:39.62111172 UTC 1260M 7307M
2025-08-18 13:08:40.62112457 UTC 1261M 7306M
2025-08-18 13:08:41.621145566 UTC 1266M 7301M
2025-08-18 13:08:42.621148557 UTC 1266M 7301M
2025-08-18 13:08:43.621163734 UTC 1266M 7301M
2025-08-18 13:08:44.621152453 UTC 1266M 7301M
2025-08-18 13:08:45.621154287 UTC 1266M 7301M
2025-08-18 13:08:46.621114542 UTC 1266M 7301M
2025-08-18 13:08:47.621136943 UTC 1266M 7301M
2025-08-18 13:08:48.621119612 UTC 1266M 7301M
2025-08-18 13:08:49.621125102 UTC 1266M 7300M
2025-08-18 13:08:50.621163729 UTC 1266M 7300M
2025-08-18 13:08:51.621151427 UTC 1267M 7300M
2025-08-18 13:08:52.621161438 UTC 1267M 7300M
2025-08-18 13:08:53.621162668 UTC 1266M 7300M
2025-08-18 13:08:54.621148594 UTC 1266M 7300M
2025-08-18 13:08:55.621121322 UTC 1267M 7300M
2025-08-18 13:08:56.621112758 UTC 1266M 7300M
2025-08-18 13:08:57.621154175 UTC 1266M 7300M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 31.849952983
P99 49.23786380999999ms
P95 41.34024104999999ms
P50 30.6247035ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-08-18 13:09:09.504795367 UTC 1192M 7411M
2025-08-18 13:09:10.505524172 UTC 1206M 7397M
2025-08-18 13:09:11.504976868 UTC 1360M 7190M
2025-08-18 13:09:12.504978359 UTC 1386M 7137M
2025-08-18 13:09:13.505208968 UTC 1420M 7102M
2025-08-18 13:09:14.507803123 UTC 1429M 7090M
2025-08-18 13:09:15.506907995 UTC 1469M 7039M
2025-08-18 13:09:16.506746086 UTC 1488M 7009M
2025-08-18 13:09:17.50654298 UTC 1499M 6988M
2025-08-18 13:09:18.504762301 UTC 1500M 6975M
2025-08-18 13:09:19.506485677 UTC 1508M 6957M
2025-08-18 13:09:20.505186312 UTC 1514M 6939M
2025-08-18 13:09:21.505435728 UTC 1524M 6918M
2025-08-18 13:09:22.507320483 UTC 1529M 6902M
2025-08-18 13:09:23.504731887 UTC 1534M 6887M
2025-08-18 13:09:24.504933641 UTC 1537M 6879M
2025-08-18 13:09:25.50482996 UTC 1539M 6878M
2025-08-18 13:09:26.504959225 UTC 1538M 6878M
2025-08-18 13:09:27.504927605 UTC 1538M 6878M
2025-08-18 13:09:28.504933554 UTC 1538M 6878M
2025-08-18 13:09:29.504900826 UTC 1538M 6877M
2025-08-18 13:09:30.504999905 UTC 1538M 6877M
2025-08-18 13:09:31.505061263 UTC 1539M 6876M
2025-08-18 13:09:32.505117178 UTC 1539M 6876M
2025-08-18 13:09:33.504984628 UTC 1539M 6876M
2025-08-18 13:09:34.505055299 UTC 1539M 6875M
2025-08-18 13:09:35.504885998 UTC 1539M 6875M
2025-08-18 13:09:36.504957386 UTC 1540M 6874M
2025-08-18 13:09:37.504911044 UTC 1549M 6865M
2025-08-18 13:09:38.505087231 UTC 1549M 6865M
2025-08-18 13:09:39.504909196 UTC 1549M 6865M
2025-08-18 13:09:40.504863695 UTC 1549M 6865M
2025-08-18 13:09:41.504906414 UTC 1548M 6865M
2025-08-18 13:09:42.504887057 UTC 1549M 6864M
2025-08-18 13:09:43.504874838 UTC 1549M 6864M
2025-08-18 13:09:44.504879261 UTC 1549M 6864M
2025-08-18 13:09:45.504874764 UTC 1460M 6952M

@locallycompact locallycompact force-pushed the capi-10.17 branch 2 times, most recently from 8f6a166 to 1987e9d Compare July 15, 2025 08:43
@locallycompact locallycompact force-pushed the capi-10.17 branch 10 times, most recently from 41e06e8 to 71acc06 Compare August 18, 2025 12:56
@noonio noonio moved this from Triage 🏥 to Blocked ✋ in ☕ Hydra Team Work Aug 19, 2025
@locallycompact locallycompact force-pushed the capi-10.17 branch 2 times, most recently from fdba935 to 0a54290 Compare September 16, 2025 16:49
@locallycompact locallycompact changed the title cardano-api: 10.17 cardano-api: 10.18 Sep 16, 2025
@locallycompact locallycompact force-pushed the capi-10.17 branch 3 times, most recently from a3f7cbe to 41dddeb Compare September 17, 2025 09:08
@v0d1ch v0d1ch self-assigned this Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Blocked ✋
Development

Successfully merging this pull request may close these issues.

2 participants