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: 8.39 #1316

Merged
merged 1 commit into from
Mar 5, 2024
Merged

cardano-api: 8.39 #1316

merged 1 commit into from
Mar 5, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Feb 21, 2024

Raises bound on cardano-api to 8.39. No significant changes.


  • 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 Feb 21, 2024

Transactions 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-03-05 18:08:58.080578248 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial bccf2a430c016bc960fbf31b02694011cd399d20da8882aac9d33611 4110
νCommit 56b0f0b597150e619c76bed60683f3b1e42d7bc0685ed951b882bfc5 1975
νHead 86bff95ba20e9d1d1b34899a56d86bbacc9fed999260b27dcc92d128 9351
μHead 88f533cf67cd0fc93d7d9ccf0a8b1d69ffd1208a825efbebbc1d36ba* 4213
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per Head.

Cost of Init Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 4798 8.76 3.35 0.46
2 4999 10.72 4.10 0.49
3 5197 12.74 4.88 0.52
5 5599 16.64 6.37 0.58
10 6605 26.27 10.07 0.73
48 14244 99.85 38.32 1.86

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 594 10.24 4.04 0.29
2 782 13.88 5.64 0.34
3 972 17.66 7.29 0.39
5 1344 25.66 10.74 0.49
10 2282 48.19 20.30 0.79
19 3967 97.83 40.79 1.41

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 16.93 6.68 0.36
2 114 654 27.47 10.93 0.48
3 171 764 38.45 15.46 0.61
4 225 874 53.45 21.57 0.78
5 282 988 68.86 27.95 0.95
6 337 1095 84.70 34.61 1.13
7 394 1209 98.47 40.61 1.29

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 532 8.05 3.82 0.27
2 779 9.32 5.95 0.30
3 907 10.03 7.01 0.32
5 1203 11.56 9.21 0.36
10 1978 16.31 15.50 0.48
50 7912 49.00 61.89 1.34

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 640 8.69 4.76 0.28
2 769 9.30 5.77 0.30
3 894 10.15 6.89 0.32
5 1237 12.21 9.60 0.37
10 1923 15.73 14.93 0.47
50 8136 51.18 63.40 1.38

Cost of Abort Transaction

Some variation because of random mixture of still initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 4666 17.09 7.39 0.55
2 4851 28.91 12.67 0.69
3 5040 43.02 18.99 0.86
4 4935 50.87 22.11 0.94
5 5246 77.80 34.27 1.26
6 5267 94.55 41.55 1.45

Cost of FanOut Transaction

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 ₳
5 0 0 4628 7.85 3.28 0.44
5 1 57 4662 9.00 3.99 0.46
5 5 284 4796 13.82 6.93 0.52
5 10 569 4966 19.16 10.31 0.60
5 20 1138 5305 30.69 17.44 0.76
5 30 1708 5647 42.85 24.84 0.92
5 40 2279 5988 53.75 31.72 1.08
5 50 2847 6326 65.92 39.13 1.24
5 79 4498 7310 99.21 59.77 1.70

End-To-End Benchmark Results

This page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest master code.

Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes.

Generated at 2024-03-05 18:11:56.038998994 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.254362258
P99 115.16525705ms
P95 31.10411354999998ms
P50 19.3986375ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.081765017
P99 6.82238950999997ms
P95 4.883122349999997ms
P50 3.947594ms
Number of Invalid txs 0

Copy link

github-actions bot commented Feb 21, 2024

Test Results

418 tests  ±0   410 ✅ ±0   14m 35s ⏱️ +56s
139 suites ±0     8 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit c47100b. ± Comparison against base commit 3006762.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact force-pushed the lc/cardano-api-8.39 branch 3 times, most recently from 50d236c to 3a170a1 Compare February 21, 2024 21:21
hydra-tui/src/Hydra/TUI/Drawing.hs Outdated Show resolved Hide resolved
@locallycompact locallycompact merged commit 6fcc456 into master Mar 5, 2024
20 checks passed
@locallycompact locallycompact deleted the lc/cardano-api-8.39 branch March 5, 2024 18:15
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.

None yet

2 participants