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

💅 Tip about jq; docker compose cleanup #1490

Merged
merged 2 commits into from
Jul 9, 2024
Merged

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Jul 9, 2024


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

- Adds a tip about using `jq` to check the status of the node
- Removes the `version` term from the docker compose yaml files, which
  is obsolete now
@noonio noonio force-pushed the small-getting-started-fixes branch from 387289e to a6e4a22 Compare July 9, 2024 09:31
@noonio noonio force-pushed the small-getting-started-fixes branch from c4a040d to 76ee960 Compare July 9, 2024 10:38
Copy link

github-actions bot commented Jul 9, 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-09 10:40:51.506395702 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 4819 5.83 2.29 0.43
2 5020 7.40 2.91 0.45
3 5218 8.67 3.41 0.47
5 5625 11.50 4.52 0.52
10 6629 18.40 7.24 0.64
58 16278 85.79 33.82 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 559 9.69 3.82 0.28
2 748 12.48 5.10 0.32
3 931 15.33 6.40 0.36
5 1309 21.26 9.09 0.45
10 2252 37.35 16.27 0.67
25 5059 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.55 5.82 0.33
2 114 654 23.49 9.48 0.44
3 170 768 33.62 13.70 0.55
4 226 878 45.57 18.69 0.69
5 281 984 58.20 24.06 0.84
6 340 1095 72.97 30.32 1.01
7 394 1205 88.81 37.10 1.19

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 620 8.22 4.59 0.28
2 750 8.88 5.63 0.30
3 923 10.16 7.08 0.32
5 1218 11.73 9.36 0.37
10 2120 16.92 16.12 0.50
50 8078 48.75 62.40 1.35

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 581 8.19 4.38 0.27
2 767 9.33 5.79 0.30
3 1029 10.86 7.56 0.34
5 1225 11.82 9.31 0.37
10 2046 17.02 15.88 0.49
50 8196 53.90 65.07 1.42

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 4608 13.93 5.77 0.51
2 4784 24.67 10.61 0.64
3 5015 42.21 18.56 0.85
4 4973 48.51 20.98 0.91
5 5182 71.41 31.28 1.18

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 8.97 3.98 0.46
5 5 285 4822 14.00 7.01 0.53
5 10 570 4992 19.55 10.48 0.60
5 20 1138 5329 31.08 17.61 0.76
5 30 1707 5670 42.40 24.66 0.92
5 40 2273 6007 54.14 31.88 1.08
5 50 2841 6345 65.26 38.85 1.24
5 79 4494 7331 99.39 59.85 1.71

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-09 10:43:08.099161761 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.775969735
P99 9.433473359999967ms
P95 6.513965299999994ms
P50 4.507854ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.305840902
P99 48.71637432000001ms
P95 30.479520949999998ms
P50 20.2614715ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jul 9, 2024

Test Results

437 tests  ±0   425 ✅ ±0   14m 49s ⏱️ -50s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 76ee960. ± Comparison against base commit 3e8cff2.

@ch1bo ch1bo merged commit bceb304 into master Jul 9, 2024
21 checks passed
@ch1bo ch1bo deleted the small-getting-started-fixes branch July 9, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants