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

Don't build dockers in nix flake check - it is too big for CI #1465

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Jun 3, 2024


  • 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 Jun 3, 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-03 15:50:10.918820807 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 5.87 2.30 0.43
2 5019 7.57 2.98 0.45
3 5221 8.97 3.54 0.48
5 5623 11.44 4.50 0.52
10 6628 18.74 7.39 0.65
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 559 9.69 3.82 0.28
2 748 12.48 5.10 0.32
3 937 15.33 6.40 0.36
5 1309 21.26 9.09 0.45
10 2244 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 548 14.78 5.90 0.34
2 113 654 23.06 9.32 0.43
3 170 764 33.48 13.65 0.55
4 226 874 45.45 18.66 0.69
5 283 984 57.13 23.67 0.83
6 338 1095 71.51 29.78 0.99
7 393 1205 90.04 37.53 1.20

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 599 8.31 4.60 0.28
2 688 8.56 5.31 0.29
3 819 9.22 6.36 0.31
5 1246 11.97 9.55 0.37
10 1993 15.42 15.03 0.47
50 7949 48.27 61.78 1.34

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 635 8.56 4.70 0.28
2 758 9.33 5.78 0.30
3 957 10.42 7.19 0.33
5 1288 12.40 9.73 0.38
10 1906 15.82 14.96 0.47
50 8129 50.90 63.15 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 4690 17.00 7.35 0.55
2 4763 26.83 11.63 0.66
3 4916 41.01 17.95 0.83
4 5000 52.52 22.89 0.96
5 5222 76.18 33.50 1.24

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 4686 8.76 3.89 0.46
5 5 285 4821 13.58 6.83 0.52
5 10 569 4991 19.34 10.39 0.60
5 20 1138 5329 30.87 17.52 0.76
5 30 1709 5673 42.40 24.66 0.92
5 40 2276 6010 54.23 31.92 1.08
5 50 2848 6352 65.89 39.12 1.24
5 80 4552 7365 99.91 60.30 1.72

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-03 15:52:28.022918447 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.237393351
P99 8.366155369999953ms
P95 4.526130599999999ms
P50 3.6180375ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.027680955
P99 111.21964801000001ms
P95 29.07510804999999ms
P50 18.587669499999997ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jun 3, 2024

Test Results

436 tests  ±0   424 ✅ ±0   14m 39s ⏱️ -40s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 3052aea. ± Comparison against base commit f17cbc8.

@locallycompact locallycompact force-pushed the lc/no-docker-check branch 2 times, most recently from d83e03f to d613481 Compare June 3, 2024 15:48
@locallycompact locallycompact merged commit a876d9a into master Jun 3, 2024
20 checks passed
@locallycompact locallycompact deleted the lc/no-docker-check branch June 3, 2024 15:55
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.

2 participants