-
Notifications
You must be signed in to change notification settings - Fork 96
Refactor minting in cluster tests #2260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
We want to split test code and code that is used to publish hydra transactions to reduce tech debt.
b1f6254
to
5c8d3f5
Compare
Transaction costsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 5836 | 10.93 | 3.49 | 0.52 |
2 | 6037 | 12.70 | 4.03 | 0.55 |
3 | 6239 | 14.29 | 4.51 | 0.57 |
5 | 6641 | 18.64 | 5.88 | 0.64 |
10 | 7644 | 28.73 | 9.04 | 0.78 |
43 | 14281 | 99.04 | 30.96 | 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 | 736 | 3.38 | 1.73 | 0.22 |
3 | 923 | 4.36 | 2.33 | 0.24 |
5 | 1283 | 6.41 | 3.60 | 0.28 |
10 | 2170 | 12.13 | 7.25 | 0.40 |
54 | 10053 | 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.24 | 9.37 | 0.51 |
3 | 171 | 747 | 42.54 | 12.22 | 0.61 |
4 | 227 | 858 | 49.42 | 14.25 | 0.69 |
5 | 281 | 969 | 64.43 | 18.30 | 0.85 |
6 | 340 | 1081 | 64.19 | 18.64 | 0.85 |
7 | 396 | 1192 | 78.24 | 22.36 | 1.00 |
8 | 451 | 1303 | 80.35 | 23.26 | 1.02 |
Cost of Increment Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 1810 | 24.37 | 7.71 | 0.48 |
2 | 1999 | 26.76 | 9.04 | 0.52 |
3 | 2059 | 27.02 | 9.79 | 0.53 |
5 | 2438 | 32.07 | 12.54 | 0.61 |
10 | 3219 | 42.21 | 18.70 | 0.77 |
39 | 7261 | 91.63 | 51.76 | 1.58 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 635 | 22.81 | 7.37 | 0.42 |
2 | 807 | 25.00 | 8.65 | 0.45 |
3 | 902 | 25.14 | 9.33 | 0.46 |
5 | 1248 | 30.70 | 12.24 | 0.54 |
10 | 1996 | 39.72 | 18.09 | 0.69 |
41 | 6470 | 94.61 | 54.02 | 1.59 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 662 | 29.17 | 8.91 | 0.48 |
2 | 808 | 29.22 | 9.61 | 0.49 |
3 | 994 | 31.61 | 10.96 | 0.53 |
5 | 1303 | 37.77 | 14.00 | 0.61 |
10 | 2058 | 47.43 | 20.05 | 0.77 |
37 | 6006 | 97.77 | 52.15 | 1.58 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 629 | 33.15 | 9.95 | 0.52 |
2 | 814 | 35.85 | 11.38 | 0.56 |
3 | 995 | 38.47 | 12.79 | 0.60 |
5 | 1158 | 41.26 | 14.85 | 0.64 |
10 | 2056 | 54.73 | 22.01 | 0.84 |
30 | 5009 | 99.37 | 47.75 | 1.52 |
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.09 | 9.09 | 0.69 |
2 | 6039 | 36.84 | 12.42 | 0.80 |
3 | 5978 | 40.28 | 13.43 | 0.84 |
4 | 6227 | 53.18 | 17.91 | 0.98 |
5 | 6412 | 61.69 | 20.78 | 1.08 |
6 | 6445 | 69.83 | 23.46 | 1.17 |
7 | 6848 | 85.68 | 28.94 | 1.35 |
8 | 7030 | 94.55 | 31.88 | 1.45 |
9 | 6894 | 94.96 | 31.95 | 1.45 |
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 | 19.45 | 6.61 | 0.61 |
10 | 5 | 285 | 6005 | 28.90 | 10.28 | 0.72 |
10 | 10 | 569 | 6174 | 38.62 | 14.15 | 0.84 |
10 | 30 | 1706 | 6852 | 80.67 | 30.67 | 1.32 |
10 | 40 | 2277 | 7193 | 99.66 | 38.24 | 1.55 |
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-17 10:41:53.629310074 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 5.763542603 |
P99 | 11.759909659999998ms |
P95 | 7.69670285ms |
P50 | 5.477582999999999ms |
Number of Invalid txs | 0 |
Memory data
Time | Used | Free |
---|---|---|
2025-09-17 10:40:32.63947842 UTC | 1253M | 4524M |
2025-09-17 10:40:33.639317913 UTC | 1290M | 4449M |
2025-09-17 10:40:34.639360718 UTC | 1341M | 4397M |
2025-09-17 10:40:35.639435279 UTC | 1372M | 4340M |
2025-09-17 10:40:36.639416764 UTC | 1396M | 4315M |
2025-09-17 10:40:37.639380535 UTC | 1404M | 4303M |
2025-09-17 10:40:38.639399921 UTC | 1407M | 4297M |
2025-09-17 10:40:39.63935152 UTC | 1407M | 4297M |
2025-09-17 10:40:40.639351117 UTC | 1407M | 4297M |
2025-09-17 10:40:41.639393216 UTC | 1406M | 4297M |
2025-09-17 10:40:42.639328025 UTC | 1408M | 4296M |
2025-09-17 10:40:43.639334879 UTC | 1408M | 4296M |
2025-09-17 10:40:44.639405013 UTC | 1403M | 4301M |
2025-09-17 10:40:45.639378041 UTC | 1402M | 4302M |
2025-09-17 10:40:46.639331457 UTC | 1402M | 4302M |
2025-09-17 10:40:47.639350719 UTC | 1402M | 4302M |
2025-09-17 10:40:48.639350361 UTC | 1402M | 4302M |
2025-09-17 10:40:49.639379911 UTC | 1402M | 4302M |
2025-09-17 10:40:50.639402047 UTC | 1402M | 4301M |
2025-09-17 10:40:51.639396073 UTC | 1405M | 4298M |
2025-09-17 10:40:52.639370065 UTC | 1405M | 4298M |
2025-09-17 10:40:53.639401948 UTC | 1405M | 4298M |
2025-09-17 10:40:54.639350044 UTC | 1404M | 4298M |
2025-09-17 10:40:55.639359068 UTC | 1404M | 4298M |
2025-09-17 10:40:56.63933774 UTC | 1404M | 4298M |
2025-09-17 10:40:57.63935996 UTC | 1404M | 4298M |
2025-09-17 10:40:58.63937944 UTC | 1404M | 4298M |
2025-09-17 10:40:59.639384511 UTC | 1404M | 4298M |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 34.658838974 |
P99 | 54.06884319ms |
P95 | 45.71859155ms |
P50 | 33.4085565ms |
Number of Invalid txs | 0 |
Memory data
Time | Used | Free |
---|---|---|
2025-09-17 10:41:11.607643003 UTC | 1303M | 4435M |
2025-09-17 10:41:12.607493045 UTC | 1304M | 4435M |
2025-09-17 10:41:13.60789674 UTC | 1310M | 4428M |
2025-09-17 10:41:14.607868528 UTC | 1475M | 4184M |
2025-09-17 10:41:15.607646505 UTC | 1501M | 4159M |
2025-09-17 10:41:16.609878799 UTC | 1544M | 4115M |
2025-09-17 10:41:17.609828577 UTC | 1558M | 4097M |
2025-09-17 10:41:18.609010833 UTC | 1581M | 4064M |
2025-09-17 10:41:19.608558482 UTC | 1603M | 4032M |
2025-09-17 10:41:20.608009417 UTC | 1616M | 4010M |
2025-09-17 10:41:21.60873418 UTC | 1617M | 3999M |
2025-09-17 10:41:22.608388182 UTC | 1627M | 3979M |
2025-09-17 10:41:23.610029627 UTC | 1636M | 3960M |
2025-09-17 10:41:24.608497398 UTC | 1659M | 3927M |
2025-09-17 10:41:25.608934441 UTC | 1664M | 3912M |
2025-09-17 10:41:26.607744712 UTC | 1683M | 3881M |
2025-09-17 10:41:27.607666552 UTC | 1691M | 3863M |
2025-09-17 10:41:28.607661375 UTC | 1690M | 3863M |
2025-09-17 10:41:29.607683205 UTC | 1690M | 3862M |
2025-09-17 10:41:30.607662979 UTC | 1690M | 3862M |
2025-09-17 10:41:31.607658813 UTC | 1691M | 3861M |
2025-09-17 10:41:32.60773256 UTC | 1691M | 3861M |
2025-09-17 10:41:33.60787702 UTC | 1691M | 3861M |
2025-09-17 10:41:34.607744767 UTC | 1691M | 3861M |
2025-09-17 10:41:35.607692235 UTC | 1696M | 3855M |
2025-09-17 10:41:36.607750816 UTC | 1696M | 3855M |
2025-09-17 10:41:37.607638656 UTC | 1696M | 3855M |
2025-09-17 10:41:38.607669997 UTC | 1696M | 3855M |
2025-09-17 10:41:39.607749633 UTC | 1695M | 3855M |
2025-09-17 10:41:40.607881973 UTC | 1700M | 3851M |
2025-09-17 10:41:41.6077531 UTC | 1699M | 3851M |
2025-09-17 10:41:42.607589142 UTC | 1699M | 3851M |
2025-09-17 10:41:43.607957416 UTC | 1699M | 3851M |
2025-09-17 10:41:44.60788062 UTC | 1699M | 3851M |
2025-09-17 10:41:45.607785457 UTC | 1701M | 3848M |
2025-09-17 10:41:46.607932857 UTC | 1703M | 3846M |
2025-09-17 10:41:47.607676181 UTC | 1705M | 3843M |
2025-09-17 10:41:48.607689951 UTC | 1711M | 3836M |
2025-09-17 10:41:49.607875427 UTC | 1711M | 3836M |
2025-09-17 10:41:50.608077412 UTC | 1712M | 3834M |
2025-09-17 10:41:51.607680982 UTC | 1712M | 3834M |
2025-09-17 10:41:52.607541671 UTC | 1712M | 3834M |
Transaction cost differencesNo cost or size differences found |
We want to split test code and code that is used to publish hydra transactions as per @ffakenz request.