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: 10.1 -> 10.4 #1760

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

cardano-api: 10.1 -> 10.4 #1760

wants to merge 3 commits into from

Conversation

locallycompact
Copy link
Contributor


  • CHANGELOG updated or not needed
  • Documentation updated or not needed
  • Haddocks updated or not needed
  • No new TODOs introduced or explained herafter

Copy link

github-actions bot commented Dec 7, 2024

Transaction cost differences

No cost or size differences found

Copy link

github-actions bot commented Dec 7, 2024

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-12-17 17:33:52.598162932 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 00a6ddbc130ab92f5b7cb8d1ccd8d79eca5bfe25f6843c07b62841f0 2667
νCommit 3e5a776bcee213e3dfd15806952a10ac5590e3e97d09d62eb99266b2 690
νHead 8fc2a74df32d01d1db56b3acb561831ef9c9970123079423abfcb86e 12622
μHead c40e78e78083a4c137734abe9ac4070cc978842e9755fe88e0c7b922* 11133
νDeposit 2feb47889a4f658dc593cefcb0e37d584b9431944f08a687f3dab4af 4865
  • 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 11717 8.84 2.88 0.76
2 11918 10.53 3.43 0.78
3 12121 12.55 4.10 0.81
5 12522 15.73 5.11 0.87
10 13528 24.76 8.06 1.00
24 16343 49.37 16.05 1.38

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 2.45 1.17 0.20
2 740 3.40 1.74 0.22
3 923 4.39 2.34 0.24
5 1273 6.46 3.61 0.28
10 2175 12.24 7.28 0.40
54 10079 99.20 68.72 1.89

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 56 559 24.12 7.06 0.42
2 114 671 33.75 9.75 0.52
3 170 782 40.77 11.83 0.60
4 226 893 51.46 14.76 0.71
5 284 1004 58.27 16.77 0.79
6 337 1116 70.68 20.18 0.92
7 393 1227 70.70 20.61 0.92
8 453 1338 79.88 23.27 1.02
10 560 1560 97.82 28.25 1.21

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 659 22.63 7.31 0.41
2 838 24.86 8.61 0.45
3 986 26.71 9.78 0.48
5 1173 28.59 11.64 0.52
10 1822 35.00 16.76 0.63
43 6836 97.25 56.19 1.64

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 644 24.38 8.01 0.43
2 870 26.59 9.49 0.47
3 937 27.50 10.34 0.49
5 1274 31.68 13.20 0.56
10 2012 39.83 19.24 0.70
44 7263 99.84 62.49 1.73

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 685 30.47 9.65 0.50
2 795 32.31 10.88 0.52
3 947 34.14 12.11 0.56
5 1390 39.57 15.45 0.64
10 2040 49.06 21.75 0.79
34 5919 99.90 54.79 1.61

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 11617 25.66 8.74 0.93
2 11718 34.04 11.58 1.02
3 11809 39.43 13.36 1.08
4 11907 50.04 16.93 1.20
5 12027 55.90 18.96 1.27
6 12171 64.77 21.96 1.37
7 12334 74.90 25.42 1.48
8 12436 81.73 27.74 1.56
9 12720 96.91 33.00 1.73

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 11714 17.71 6.07 0.85
10 1 57 11748 19.19 6.70 0.87
10 5 285 11884 26.23 9.61 0.95
10 10 570 12054 35.86 13.55 1.07
10 20 1138 12393 54.38 21.17 1.29
10 30 1708 12734 72.91 28.78 1.51
10 40 2278 13074 91.44 36.40 1.73
10 44 2504 13208 99.22 39.59 1.82

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-12-17 17:36:29.441779116 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.463640236
P99 14.828622929999993ms
P95 5.384722050000001ms
P50 4.208951000000001ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.009702065
P99 114.88139315ms
P95 31.077194949999992ms
P50 20.200557ms
Number of Invalid txs 0

Copy link

github-actions bot commented Dec 7, 2024

Test Results

  5 files  ±0  162 suites  ±0   33m 56s ⏱️ + 3m 35s
556 tests ±0  550 ✅ ±0  6 💤 ±0  0 ❌ ±0 
558 runs  ±0  552 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit bdb4aae. ± Comparison against base commit 9bb093a.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact force-pushed the lc/cardano-api-10.4 branch 4 times, most recently from e76fdf8 to 67f1485 Compare December 8, 2024 10:15
@locallycompact locallycompact requested a review from a team December 8, 2024 12:30
@locallycompact locallycompact linked an issue Dec 8, 2024 that may be closed by this pull request
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.

cardano-api: 10.1 -> 10.4
1 participant