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

Use latest stable cardano-node in demo #1394

Merged
merged 1 commit into from
Apr 16, 2024
Merged

Use latest stable cardano-node in demo #1394

merged 1 commit into from
Apr 16, 2024

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Apr 16, 2024

The docker variant was broken as the conway-genesis.json was not parseable using the old 8.7.3 node and we seemingly have forgotten to update this container when we started to test against cardano-node 8.9


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

@ch1bo ch1bo requested a review from a team April 16, 2024 05:44
Copy link

github-actions bot commented Apr 16, 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-04-16 15:05:40.490665831 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 4792 8.76 3.35 0.46
2 4995 10.82 4.14 0.49
3 5197 12.93 4.96 0.52
5 5599 16.47 6.30 0.58
10 6602 26.12 10.01 0.72
48 14244 99.77 38.28 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 781 13.88 5.64 0.34
3 969 17.66 7.29 0.39
5 1345 25.66 10.74 0.49
10 2282 48.19 20.30 0.79
19 3959 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.56 6.55 0.36
2 113 654 26.30 10.50 0.47
3 169 764 39.12 15.71 0.61
4 226 874 52.35 21.17 0.76
5 283 988 65.85 26.87 0.92
6 339 1095 84.74 34.60 1.13
7 397 1205 98.67 40.67 1.29

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 545 7.85 4.25 0.27
2 688 8.59 5.32 0.29
3 823 9.30 6.38 0.31
5 1143 10.99 8.80 0.35
10 1982 16.01 15.38 0.48
50 8139 48.81 62.47 1.35

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 635 8.69 4.75 0.28
2 768 9.38 5.81 0.30
3 919 10.07 6.88 0.32
5 1220 12.01 9.38 0.37
10 1960 16.21 15.29 0.48
50 7865 50.71 62.58 1.36

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 4683 17.09 7.40 0.55
2 4782 27.97 12.18 0.67
3 4899 41.07 17.96 0.83
4 5112 55.27 24.24 1.00
5 5130 74.50 32.69 1.21
6 5373 95.12 41.83 1.46

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.94 3.31 0.44
5 1 57 4662 9.00 3.99 0.46
5 5 285 4797 13.82 6.93 0.52
5 10 568 4965 19.37 10.40 0.60
5 20 1139 5307 31.11 17.62 0.76
5 30 1708 5647 42.22 24.58 0.92
5 40 2273 5983 54.17 31.89 1.08
5 50 2839 6318 65.08 38.77 1.23
5 79 4496 7308 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-04-16 15:07:56.133992196 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.679153758
P99 114.38513234ms
P95 30.66583325ms
P50 18.9384485ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 3.957529488
P99 6.305093269999996ms
P95 4.892663899999999ms
P50 3.801731ms
Number of Invalid txs 0

The docker variant was broken as the conway-genesis.json was not
parseable using the old 8.7.3 node and we seemingly have forgotten to
update this container when we started to test against cardano-node 8.9
@ch1bo ch1bo enabled auto-merge April 16, 2024 15:02
@ch1bo ch1bo merged commit fcc1c40 into master Apr 16, 2024
19 checks passed
@ch1bo ch1bo deleted the fix-demo-docker branch April 16, 2024 15:10
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