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 darwin ci #1437

Closed
wants to merge 1 commit into from
Closed

Add darwin ci #1437

wants to merge 1 commit into from

Conversation

locallycompact
Copy link
Contributor


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

Copy link

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-16 13:42:15.98545798 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 4795 8.82 3.37 0.46
2 4995 11.00 4.22 0.49
3 5200 12.98 4.98 0.52
5 5599 16.43 6.29 0.57
10 6604 26.33 10.09 0.73
48 14248 99.87 38.32 1.86

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 749 13.88 5.64 0.34
3 934 17.66 7.29 0.39
5 1308 25.66 10.74 0.49
10 2245 48.19 20.30 0.78
19 3918 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.52 6.53 0.35
2 114 654 27.43 10.91 0.48
3 170 764 38.44 15.46 0.61
4 227 874 51.64 20.91 0.76
5 282 984 65.10 26.57 0.91
6 339 1095 84.26 34.43 1.13

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 549 7.85 4.25 0.27
2 718 9.04 5.67 0.30
3 931 10.16 7.09 0.32
5 1139 10.98 8.79 0.35
10 1918 15.82 15.12 0.47
50 8096 49.08 62.42 1.35

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 627 8.65 4.73 0.28
2 813 9.79 6.15 0.31
3 885 10.06 6.85 0.32
5 1322 12.96 10.10 0.39
10 2057 16.25 15.45 0.48
50 8319 52.60 64.66 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 4701 17.00 7.37 0.55
2 4782 27.80 12.11 0.67
3 4981 42.02 18.47 0.84
4 5114 58.27 25.61 1.03
5 5248 78.04 34.36 1.26
6 5250 94.70 41.59 1.45

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 8.06 3.37 0.44
5 1 57 4661 9.09 4.03 0.46
5 5 284 4796 13.61 6.84 0.52
5 10 570 4967 19.16 10.31 0.60
5 20 1139 5307 31.32 17.71 0.76
5 30 1705 5645 42.01 24.49 0.91
5 40 2279 5989 54.17 31.89 1.08
5 50 2844 6323 65.59 38.98 1.24
5 79 4496 7308 99.00 59.68 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-16 13:44:21.013988168 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.166699593
P99 9.766960909999863ms
P95 4.17468155ms
P50 3.4554575ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 20.561451651
P99 103.62914104000008ms
P95 28.4319499ms
P50 18.2314085ms
Number of Invalid txs 0

Copy link

Test Results

427 tests   419 ✅  14m 50s ⏱️
139 suites    8 💤
  2 files      0 ❌

Results for commit 44c0533.

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

1 participant