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 capitalization issues related to titles #12

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

Conversation

oduameh
Copy link
Owner

@oduameh oduameh commented Jul 25, 2024


This pull request updates the capitalization of titles in the footer and benchmarks section to adhere to style guidelines.

Copy link

github-actions bot commented Jul 25, 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-08-12 11:27:43.062082958 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial baafeb5dc37bbe6e068784746bda0a3b1bb1d034fa0c55270f6079c1 4082
νCommit fe7af84822bcba542fae377ae7311fc5fd20152f925ccd980f73ecdc 2061
νHead 93c08c55e804d7f82ca545a01883b5fda6a6d3623cb78885625800ae 9366
μHead 5e65c73722b4bb3f0cbfcc8433e1dcdfea099eaf0a43060f1731a65b* 4237
  • 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 4818 5.89 2.31 0.43
2 5019 7.40 2.91 0.45
3 5220 8.80 3.46 0.48
5 5621 11.63 4.58 0.52
10 6628 18.61 7.33 0.65
58 16276 85.71 33.78 1.80

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 557 9.69 3.82 0.28
2 749 12.48 5.10 0.32
3 931 15.33 6.40 0.36
5 1313 21.26 9.09 0.45
10 2245 37.35 16.27 0.67
25 5054 96.42 41.75 1.45

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 14.78 5.90 0.34
2 114 658 23.13 9.35 0.43
3 171 764 33.90 13.81 0.56
4 226 874 45.39 18.62 0.69
5 282 984 57.55 23.81 0.83
6 337 1095 74.31 30.80 1.02
7 394 1205 92.28 38.35 1.23

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 568 7.98 3.81 0.27
2 771 9.29 5.94 0.30
3 874 9.71 6.74 0.32
5 1129 11.07 8.82 0.35
10 2009 16.38 15.56 0.48
50 8126 49.55 62.90 1.36

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 637 8.64 4.74 0.28
2 757 9.37 5.80 0.30
3 960 10.55 7.24 0.33
5 1193 11.91 9.32 0.37
10 1939 15.87 15.06 0.47
50 8397 52.10 64.47 1.41

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 4700 16.95 7.34 0.55
2 4825 27.83 12.13 0.67
3 4835 36.17 15.61 0.77
4 5081 58.50 25.68 1.03
5 5285 77.27 34.07 1.25
6 5323 97.09 42.69 1.48

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 4651 8.03 3.36 0.44
5 1 57 4685 9.18 4.07 0.46
5 5 283 4820 13.58 6.83 0.52
5 10 570 4992 19.34 10.39 0.60
5 20 1139 5330 30.87 17.52 0.76
5 30 1706 5669 42.61 24.75 0.92
5 40 2278 6011 54.35 31.97 1.08
5 50 2848 6352 66.10 39.20 1.25
5 80 4550 7363 99.91 60.30 1.72

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-08-12 11:32:49.148782506 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.946812760
P99 9.935076729999993ms
P95 7.122158449999999ms
P50 4.679933ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.742700247
P99 48.702189910000314ms
P95 31.269077999999986ms
P50 20.708081ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jul 25, 2024

Test Results

437 tests  ±0   425 ✅ ±0   16m 10s ⏱️ +48s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 61d911f. ± Comparison against base commit 3e7bd6b.

♻️ This comment has been updated with latest results.

plutus-merkle-tree/bench/Main.hs Outdated Show resolved Hide resolved
@olgahryniuk olgahryniuk changed the title footer updates for hydra docs Fix capitalization issues related to titles Aug 12, 2024
@olgahryniuk olgahryniuk added the documentation Improvements or additions to documentation label Aug 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants