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 some wording in the testnet tutorial #1482

Merged
merged 1 commit into from
Jul 8, 2024
Merged

Fix some wording in the testnet tutorial #1482

merged 1 commit into from
Jul 8, 2024

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Jul 5, 2024

  • Inconsistent title
  • The network we use is called 'preprod'
  • Clarify that machine needs to be accessible from the internet (to connect to each other)
  • Call unspent transaction outputs UTxO with lower case x as everywhere else in our docs

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

- Inconsistent title
- The network we use is called 'preprod'
- Clarify that machine needs to be accessible from the internet
  (to connect to each other)
- Call unspent transaction outputs UTxO with lower case x as everywhere else in our docs
@ch1bo ch1bo requested a review from a team July 5, 2024 07:55
Copy link

github-actions bot commented Jul 5, 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-07-05 07:57:52.94842751 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 4816 5.93 2.33 0.43
2 5020 7.19 2.82 0.45
3 5218 8.69 3.42 0.47
5 5624 11.50 4.52 0.52
10 6628 18.51 7.29 0.64
58 16276 85.81 33.83 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 556 9.69 3.82 0.28
2 745 12.48 5.10 0.32
3 937 15.33 6.40 0.36
5 1303 21.26 9.09 0.44
10 2247 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.83 5.92 0.34
2 114 654 23.49 9.48 0.44
3 170 764 32.80 13.41 0.55
4 228 878 44.13 18.18 0.68
5 283 984 58.83 24.29 0.84
6 337 1099 74.76 30.95 1.03
7 392 1205 91.98 38.27 1.22

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 617 8.22 4.59 0.28
2 815 9.33 5.99 0.30
3 918 10.12 7.07 0.32
5 1221 11.93 9.51 0.37
10 1916 15.36 14.81 0.47
50 7969 48.16 61.87 1.34

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 647 8.56 4.72 0.28
2 796 9.78 6.13 0.31
3 995 10.42 7.21 0.33
5 1369 13.30 10.42 0.39
10 2042 16.68 15.67 0.49
50 8160 51.53 63.97 1.39

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 4710 16.96 7.35 0.55
2 4855 28.81 12.62 0.69
3 4967 41.97 18.44 0.84
4 5077 58.34 25.61 1.03
5 5205 71.91 31.49 1.19
6 5327 88.44 38.70 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 4651 8.03 3.36 0.44
5 1 57 4685 9.39 4.16 0.46
5 5 285 4822 13.37 6.74 0.52
5 10 567 4988 19.34 10.39 0.60
5 20 1136 5328 31.08 17.61 0.76
5 30 1710 5674 42.40 24.66 0.92
5 40 2276 6009 53.93 31.80 1.08
5 50 2846 6349 65.47 38.94 1.24
5 79 4492 7328 98.76 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-07-05 08:00:15.044198907 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.273551445
P99 11.376737589999918ms
P95 5.0622517999999985ms
P50 3.781146ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.736967344
P99 111.00654433000007ms
P95 31.12235124999998ms
P50 19.2753625ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jul 7, 2024

Test Results

437 tests  ±0   425 ✅ ±0   16m 30s ⏱️ + 1m 28s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 4128cb4. ± Comparison against base commit cdcf0f0.

@v0d1ch v0d1ch merged commit 59527da into master Jul 8, 2024
21 checks passed
@v0d1ch v0d1ch deleted the reword-tutorial branch July 8, 2024 07:42
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.

None yet

2 participants