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: 8.8.0-pre -> 8.9.0 #1354

Merged
merged 2 commits into from
Mar 13, 2024
Merged

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Mar 13, 2024


  • 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 Mar 13, 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-13 13:05:52.740172074 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 4794 8.68 3.31 0.46
2 4993 10.61 4.05 0.48
3 5198 12.76 4.89 0.52
5 5603 16.58 6.35 0.58
10 6604 26.12 10.01 0.72
47 14043 98.04 37.62 1.83

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 1336 25.66 10.74 0.49
10 2288 48.19 20.30 0.79
19 3968 97.83 40.79 1.41

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 548 16.88 6.67 0.36
2 114 654 26.48 10.57 0.47
3 169 764 39.77 15.95 0.62
4 227 878 54.11 21.81 0.78
5 282 984 68.32 27.75 0.95
6 339 1095 81.71 33.49 1.10
7 393 1209 98.51 40.61 1.29

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 549 7.89 4.26 0.27
2 757 9.00 5.68 0.30
3 920 10.07 7.04 0.32
5 1273 12.47 9.90 0.38
10 1936 15.86 15.15 0.47
50 8053 48.96 62.32 1.35

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 634 8.65 4.74 0.28
2 711 8.89 5.44 0.29
3 846 9.58 6.49 0.31
5 1221 12.01 9.38 0.37
10 2043 16.96 15.79 0.49
50 8065 50.89 63.30 1.37

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 4678 17.05 7.37 0.55
2 4782 27.84 12.13 0.67
3 4851 39.94 17.40 0.81
4 4971 52.37 22.82 0.96
5 5133 71.74 31.39 1.18
6 5381 98.20 43.26 1.49

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 4627 7.85 3.28 0.44
5 1 57 4661 8.79 3.90 0.45
5 5 285 4798 13.40 6.75 0.52
5 10 569 4966 19.79 10.58 0.60
5 20 1139 5307 30.90 17.53 0.76
5 30 1706 5645 43.06 24.93 0.93
5 40 2278 5988 53.96 31.81 1.08
5 50 2844 6324 65.71 39.04 1.24
5 79 4498 7311 99.00 59.68 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-13 13:08:30.036898282 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.948750033
P99 115.84172547000001ms
P95 30.528288399999983ms
P50 19.122006ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 3.986809088
P99 6.105403419999994ms
P95 4.850962749999999ms
P50 3.8676375ms
Number of Invalid txs 0

Copy link

Test Results

413 tests  ±0   405 ✅ ±0   14m 42s ⏱️ + 1m 9s
136 suites ±0     8 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 10fed3d. ± Comparison against base commit aebba20.

Copy link
Collaborator

@ch1bo ch1bo 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 from my side. Ideally this "just works ™️" now on preview and preprod again.

We should definitely run smoke tests against these networks now.

CHANGELOG.md Show resolved Hide resolved
hydra-explorer/test/Hydra/ExplorerSpec.hs Show resolved Hide resolved
@locallycompact locallycompact merged commit c11f442 into master Mar 13, 2024
21 checks passed
@locallycompact locallycompact deleted the lc/cardano-node-8.9.0 branch March 13, 2024 13:36
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.

3 participants