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-api: 9.4 #1706

Merged
merged 1 commit into from
Oct 15, 2024
Merged

cardano-api: 9.4 #1706

merged 1 commit into from
Oct 15, 2024

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

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 2024-10-14 06:43:09.902710459 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial b512161ccb0652d7e9a0b540e4a3c808f73d6558a4bcabf374d85880 3969
νCommit ea444d37d226e71eef73ac78d149750da977feb588900135bf9e8221 692
νHead 2253ddd95837c7aacc8635a971caaea743434152dd8dd2849bdf4162 10797
μHead 4d648ca239040b0e87901835aa11423e7aa3bd947ce6befe7db1bae8* 4508
νDeposit 1a011f23b139a6426767026bde10319546485d553219a5848cdac4e5 2993
  • 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 5096 5.71 2.25 0.44
2 5301 7.13 2.82 0.46
3 5496 8.51 3.36 0.49
5 5901 11.49 4.55 0.54
10 6910 18.02 7.12 0.65
57 16353 82.91 32.79 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 569 10.84 4.26 0.29
2 757 14.31 5.80 0.34
3 947 17.92 7.39 0.39
5 1317 25.56 10.73 0.49
10 2255 47.11 19.97 0.77
19 3951 94.71 39.81 1.38

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 20.58 7.85 0.40
2 113 671 29.00 11.03 0.49
3 170 782 35.35 13.47 0.57
4 226 897 45.46 17.28 0.68
5 284 1004 54.07 20.56 0.78
6 340 1120 61.98 23.56 0.87
7 393 1227 70.03 26.63 0.96
8 450 1342 86.81 32.90 1.15
9 505 1453 85.62 32.56 1.14
10 560 1560 86.08 32.85 1.15

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 637 18.36 8.05 0.38
2 771 19.35 9.15 0.41
3 899 21.49 10.82 0.44
5 1227 24.25 13.37 0.50
10 2067 33.65 20.87 0.66
49 7803 98.56 76.28 1.84

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 602 20.42 8.97 0.41
2 791 22.34 10.78 0.44
3 868 23.29 11.84 0.46
5 1263 27.02 15.43 0.54
10 1996 35.24 23.34 0.69
50 8172 98.74 86.26 1.93

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 694 26.76 11.48 0.48
2 807 28.61 13.05 0.51
3 1015 30.63 14.90 0.55
5 1312 34.61 18.33 0.62
10 2092 44.28 26.88 0.79
40 6349 99.91 75.72 1.78

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 4992 15.43 6.60 0.54
2 5121 21.86 9.41 0.62
3 5269 28.69 12.47 0.70
4 5465 36.11 15.78 0.80
5 5514 37.43 16.12 0.81
6 5698 49.71 21.77 0.96
7 5707 53.22 23.01 1.00
8 5955 63.52 27.77 1.13
9 6145 72.56 31.73 1.24
10 6041 71.90 31.05 1.22
11 6305 82.96 36.11 1.36
12 6342 89.65 38.84 1.43
13 6465 93.18 40.36 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 5089 9.99 4.18 0.49
10 1 56 5122 10.96 4.81 0.50
10 5 286 5261 15.83 7.79 0.57
10 10 570 5429 21.84 11.48 0.65
10 20 1139 5768 32.96 18.47 0.80
10 30 1708 6109 44.65 25.71 0.97
10 40 2280 6451 56.93 33.20 1.13
10 50 2845 6787 68.24 40.28 1.29
10 76 4333 7676 98.97 59.26 1.71

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 2024-10-14 06:46:10.448556631 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.038032753
P99 17.710871619999946ms
P95 7.849419800000004ms
P50 4.44201ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 22.495713692
P99 39.36158241999997ms
P95 30.428083699999995ms
P50 20.8266885ms
Number of Invalid txs 0

Copy link

Test Results

544 tests  ±0   538 ✅ ±0   24m 59s ⏱️ -46s
162 suites ±0     6 💤 ±0 
  7 files   ±0     0 ❌ ±0 

Results for commit e6693e8. ± Comparison against base commit d8c0a49.

Copy link
Contributor

@noonio noonio left a comment

Choose a reason for hiding this comment

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

Looks good; just add an entry in the changelog to track the update.

@locallycompact locallycompact added this pull request to the merge queue Oct 15, 2024
Merged via the queue into master with commit 2c0707f Oct 15, 2024
28 checks passed
@locallycompact locallycompact deleted the lc/cardano-api-9.4 branch October 15, 2024 13:49
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