Skip to content
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

cardano-node: 10.2 #1814

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

cardano-node: 10.2 #1814

wants to merge 1 commit into from

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Jan 31, 2025

Transaction cost differences

Script summary

Name Size (Bytes)
νInitial -
νCommit -
νHead -
μHead -
νDeposit -

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
44 - - - -

Commit transaction costs

UTxO Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
54 - - - -

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 - - - - -
2 - - - - -
3 - - - - -
4 - - - - -
5 - - - - -
6 - - - - -
7 - - - - -
8 - - - - -
9 - - - - -
10 - - - - -

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - +0.39 +0.09 -
2 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ $${\color{green}-0.01}$$
3 - - - -
5 - - - -
10 - $${\color{green}-0.38}$$ $${\color{green}-0.10}$$ -
43 - - - -

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
45 - - - -

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
41 - - - -

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
33 - - - -

FanOut transaction costs

UTxO, Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
(0, 10) - - - - -
(1, 10) - - - - -
(5, 10) - - - - -
(10, 10) - - - - -
(20, 10) - - - - -
(40, 10) - - - - -
(41, 10) - - - - -

@locallycompact locallycompact force-pushed the lc/cardano-node-10.2 branch 2 times, most recently from d1744ed to 0e8e553 Compare January 31, 2025 11:17
Copy link

github-actions bot commented Jan 31, 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-01-31 12:04:49.78115028 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 5350e9d521552ebfd9e846fd70c3b801f716fc14296134ec0fb71e97 14492
μHead 6b49dc4e571207d615dba01996548cb610b0caa85c30423d169d0091* 5612
ν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 6164 10.00 3.17 0.53
2 6366 12.36 3.94 0.56
3 6566 14.43 4.59 0.59
5 6968 18.26 5.77 0.65
10 7974 28.59 9.03 0.80
44 14814 98.59 31.06 1.82

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 2.44 1.16 0.20
2 740 3.38 1.73 0.22
3 919 4.36 2.33 0.24
5 1279 6.41 3.60 0.28
10 2180 12.13 7.25 0.40
54 10071 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 25.00 7.26 0.43
2 114 636 33.95 9.78 0.52
3 170 747 39.78 11.57 0.59
4 227 862 52.14 14.94 0.72
5 282 969 55.87 16.23 0.76
6 339 1085 66.73 19.25 0.88
7 394 1192 72.37 21.10 0.94
8 449 1303 98.11 27.56 1.20

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1812 23.66 7.92 0.48
2 1963 26.18 9.43 0.52
3 2072 26.61 10.18 0.53
5 2322 30.03 12.56 0.59
10 3121 39.53 19.10 0.74
44 8087 96.78 60.68 1.73

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 597 22.72 7.32 0.41
2 688 22.39 7.88 0.42
3 869 24.96 9.27 0.46
5 1271 32.31 12.66 0.56
10 2072 41.21 18.51 0.71
42 6778 97.67 55.71 1.64

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 716 26.99 8.73 0.46
2 817 28.61 9.90 0.49
3 956 32.66 11.85 0.54
5 1295 36.61 14.53 0.61
10 2051 45.66 20.82 0.76
40 6603 99.83 59.26 1.67

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 663 33.39 10.43 0.52
2 804 35.33 11.69 0.56
3 947 37.33 12.97 0.59
5 1273 41.66 15.75 0.66
10 1967 51.94 22.34 0.82
31 5337 99.39 52.11 1.56

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 6052 26.17 8.85 0.69
2 6238 35.68 12.11 0.80
3 6337 44.09 14.95 0.89
4 6394 51.55 17.45 0.97
5 6680 63.39 21.57 1.11
6 6425 55.57 18.55 1.02
7 6850 77.35 26.23 1.27
8 7133 91.62 31.08 1.43
10 7135 97.70 32.98 1.49

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 6196 19.26 6.67 0.63
10 5 286 6334 27.25 9.88 0.72
10 42 2391 7589 99.57 38.97 1.57

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-01-31 12:07:52.662445628 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.164342590
P99 9.642952519999996ms
P95 6.801178ms
P50 4.937037500000001ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.574701196
P99 114.79897514999999ms
P95 31.78102404999999ms
P50 21.3256815ms
Number of Invalid txs 0

@locallycompact locallycompact force-pushed the lc/cardano-node-10.2 branch 2 times, most recently from 6ffaf6a to c1e7c42 Compare January 31, 2025 11:36
Copy link

Test Results

  5 files  ±0  165 suites  ±0   31m 43s ⏱️ + 2m 37s
563 tests ±0  561 ✅ ±0  2 💤 ±0  0 ❌ ±0 
565 runs  ±0  563 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit c1e7c42. ± Comparison against base commit fc926ab.

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.

1 participant