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

Fix tutorial download instructions #1367

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Fix tutorial download instructions #1367

merged 4 commits into from
Mar 20, 2024

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented Mar 18, 2024

  • Fixes the tutorial download instructions for linux and macos as the paths in the cardano-node tarball had changed in 8.9.0.

  • Also, the macos instructions were referring the hydra-local build of mithril and cardano-node which we had temporarily.

  • Also update to latest version of mithril and use the latest snapshot as this is now available in mithril-client


  • 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 18, 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-20 10:30:18.399756753 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.91 3.41 0.46
2 4999 10.82 4.14 0.49
3 5197 12.66 4.84 0.52
5 5597 16.43 6.29 0.57
10 6604 26.50 10.17 0.73
48 14245 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 784 13.88 5.64 0.34
3 972 17.66 7.29 0.39
5 1342 25.66 10.74 0.49
10 2276 48.19 20.30 0.79
19 3972 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.52 6.53 0.35
2 114 654 26.39 10.53 0.47
3 170 764 38.31 15.41 0.60
4 227 874 53.04 21.41 0.77
5 282 984 67.82 27.56 0.94
6 340 1095 84.89 34.67 1.13
7 393 1205 98.80 40.73 1.30

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 598 8.25 4.58 0.28
2 597 8.48 4.07 0.27
3 861 9.70 6.71 0.31
5 1180 11.56 9.19 0.36
10 2018 16.57 15.78 0.49
50 8093 50.48 63.16 1.37

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 622 8.69 4.74 0.28
2 762 9.38 5.80 0.30
3 947 10.48 7.20 0.33
5 1282 12.33 9.69 0.38
10 1982 16.38 15.38 0.48
50 7869 50.54 62.32 1.35

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 4669 17.00 7.35 0.55
2 4738 26.86 11.63 0.66
3 4896 41.23 18.03 0.83
4 5104 57.79 25.41 1.02
5 5152 75.04 32.92 1.22
6 5441 99.74 44.01 1.51

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.64 3.19 0.44
5 1 57 4661 9.00 3.99 0.46
5 5 284 4797 13.19 6.66 0.52
5 10 569 4967 19.16 10.31 0.60
5 20 1140 5307 31.11 17.62 0.76
5 30 1708 5648 42.85 24.84 0.92
5 40 2281 5990 53.96 31.81 1.08
5 50 2849 6328 65.71 39.04 1.24
5 79 4497 7309 98.79 59.60 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-20 10:34:01.139233888 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.177453228
P99 113.93484578ms
P95 32.09957744999999ms
P50 19.3100725ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 3.655985857
P99 4.832827199999989ms
P95 4.230593149999999ms
P50 3.5822529999999997ms
Number of Invalid txs 0

@ch1bo ch1bo requested a review from a team March 19, 2024 10:36
@ch1bo ch1bo enabled auto-merge March 19, 2024 13:37
They slightly changed the messages produced by mithril-client.
@ch1bo ch1bo merged commit 66f560c into master Mar 20, 2024
20 checks passed
@ch1bo ch1bo deleted the fix-tutorial branch March 20, 2024 10:37
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