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

Reorder new docs according to new structure #1440

Merged
merged 3 commits into from
May 17, 2024
Merged

Conversation

ffakenz
Copy link
Contributor

@ffakenz ffakenz commented May 17, 2024


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

@ffakenz ffakenz added the documentation 📖 Documentation changes label May 17, 2024
@ffakenz ffakenz requested a review from a team May 17, 2024 08:57
@ffakenz ffakenz self-assigned this May 17, 2024
Copy link

github-actions bot commented May 17, 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-05-17 11:54:49.069279793 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.89 3.40 0.46
2 4996 10.82 4.14 0.49
3 5194 12.66 4.84 0.52
5 5600 16.53 6.33 0.58
10 6609 26.21 10.04 0.73
47 14043 97.83 37.53 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 559 10.24 4.04 0.29
2 743 13.88 5.64 0.34
3 935 17.66 7.29 0.39
5 1313 25.66 10.74 0.49
10 2244 48.19 20.30 0.78
19 3929 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.88 6.67 0.36
2 114 654 27.44 10.92 0.48
3 169 764 37.68 15.18 0.60
4 227 874 51.05 20.69 0.75
5 283 984 67.13 27.32 0.93
6 337 1095 84.56 34.55 1.13

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 610 8.30 4.60 0.28
2 688 8.59 5.32 0.29
3 871 9.66 6.71 0.32
5 1166 11.52 9.17 0.36
10 2017 16.35 15.55 0.48
50 8054 49.92 62.83 1.36

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 626 8.65 4.73 0.28
2 778 9.38 5.82 0.30
3 886 10.11 6.87 0.32
5 1171 11.44 8.98 0.36
10 1961 16.34 15.34 0.48
50 7945 50.62 62.53 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 4662 17.05 7.37 0.55
2 4782 27.75 12.09 0.67
3 4914 41.20 18.03 0.83
4 4978 52.70 22.95 0.96
5 5189 71.38 31.29 1.18
6 5271 88.76 38.81 1.38

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 4661 9.00 3.99 0.46
5 5 285 4797 13.82 6.93 0.52
5 10 569 4966 19.37 10.40 0.60
5 20 1140 5307 30.69 17.44 0.76
5 30 1708 5648 42.85 24.84 0.92
5 40 2275 5984 53.96 31.81 1.08
5 50 2846 6325 65.92 39.13 1.24
5 79 4493 7305 98.79 59.59 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-05-17 11:57:04.110384428 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.322335306
P99 9.418143129999958ms
P95 5.293851149999998ms
P50 3.9084825ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.627906872
P99 42.201948100000145ms
P95 29.8919881ms
P50 19.840983ms
Number of Invalid txs 0

Copy link

github-actions bot commented May 17, 2024

Test Results

427 tests  ±0   419 ✅ ±0   14m 48s ⏱️ - 2m 16s
139 suites ±0     8 💤 ±0 
  2 files   ±0     0 ❌ ±0 

Results for commit 2c42a62. ± Comparison against base commit 433c5dc.

♻️ This comment has been updated with latest results.

Copy link
Member

@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.

There is a broken link, see CI.

docs/docs/how-to/event-sinks-and-sources.md Show resolved Hide resolved
docs/docs/how-to/event-sinks-and-sources.md Outdated Show resolved Hide resolved
ffakenz and others added 2 commits May 17, 2024 13:48
@ffakenz ffakenz merged commit 414c111 into master May 17, 2024
21 checks passed
@ffakenz ffakenz deleted the ffakenz/docs-tidy-up branch May 17, 2024 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation 📖 Documentation changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants