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

Add hydra-cluster to macos release zip #1455

Closed
wants to merge 1 commit into from

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented May 28, 2024

See if our CI can build binaries that @yHSJ can use directly.


  • 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 May 28, 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-06-04 16:23:18.793010541 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 6.17 2.43 0.43
2 5024 7.33 2.88 0.45
3 5218 8.78 3.45 0.48
5 5621 11.50 4.52 0.52
10 6626 18.61 7.33 0.65
58 16279 86.04 33.93 1.81

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 741 12.48 5.10 0.32
3 934 15.33 6.40 0.36
5 1308 21.26 9.09 0.45
10 2246 37.35 16.27 0.67
25 5060 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 113 658 23.48 9.48 0.44
3 170 764 33.52 13.67 0.55
4 225 874 45.01 18.49 0.69
5 283 984 56.85 23.56 0.82
6 339 1095 74.74 30.97 1.03
7 395 1205 92.17 38.31 1.22

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 588 8.27 4.58 0.28
2 736 9.01 5.67 0.30
3 904 9.95 6.98 0.32
5 1136 11.07 8.84 0.35
10 2001 15.92 15.37 0.48
50 7954 49.85 62.47 1.35

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 636 8.60 4.73 0.28
2 771 9.33 5.79 0.30
3 937 10.51 7.20 0.33
5 1223 11.82 9.31 0.37
10 2084 17.28 16.15 0.50
50 8035 51.25 63.16 1.37

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 4698 17.09 7.39 0.55
2 4759 26.88 11.64 0.66
3 4851 33.76 14.49 0.74
4 5070 53.91 23.57 0.98
5 5313 79.27 34.97 1.28
6 5407 99.80 44.02 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 4651 7.82 3.27 0.44
5 1 57 4685 8.97 3.98 0.46
5 5 285 4821 13.58 6.83 0.52
5 10 570 4991 19.34 10.39 0.60
5 20 1139 5330 30.66 17.43 0.76
5 30 1708 5672 42.40 24.66 0.92
5 40 2275 6008 53.72 31.71 1.08
5 50 2845 6348 65.68 39.03 1.24
5 79 4498 7335 98.97 59.67 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-06-04 16:25:41.078949326 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.780286195
P99 9.514316829999984ms
P95 6.1203340499999985ms
P50 4.5448745ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.743198713
P99 102.48054937ms
P95 30.09735414999998ms
P50 19.296155499999998ms
Number of Invalid txs 0

Copy link

github-actions bot commented May 28, 2024

Test Results

436 tests   424 ✅  14m 55s ⏱️
143 suites   12 💤
  5 files      0 ❌

Results for commit 89bcb22.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact force-pushed the 0.17.0-macos-hydra-cluster branch from f7b9cb3 to 89bcb22 Compare June 4, 2024 16:20
@ch1bo ch1bo closed this Jun 10, 2024
@ch1bo ch1bo deleted the 0.17.0-macos-hydra-cluster branch June 10, 2024 15:06
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.

1 participant