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

Use cardano-scaling.cachix.org in more workflows #877

Merged
merged 1 commit into from
May 17, 2023

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented May 17, 2023

We want to use this new cachix cache to see why and when the static binary build (or any nix build) takes long because of garbage collected caches.


  • CHANGELOG update not needed
  • Documentation update not needed
  • Added and/or updated haddocks not needed
  • No new TODOs introduced or explained herafter

@github-actions
Copy link

github-actions bot commented May 17, 2023

Test Results

319 tests  ±0   313 ✔️ ±0   22m 1s ⏱️ +27s
108 suites ±0       6 💤 ±0 
    6 files   ±0       0 ±0 

Results for commit b546f8b. ± Comparison against base commit 03910fa.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented May 17, 2023

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 2023-05-17 13:29:53.302095101 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial e5cc20df4a2216e706b3d00b59fbb15a7cf12dbd28d271d4a8cf6d04 4336
νCommit 47c102d5f95a0648b4065f2b8bff59d3e34536a82ee7b0d42df73123 2124
νHead 9fe3a5c4d826f9475368e1e24c15bf22f4df19893cce2689d3c0564a 9492
μHead 7bec671467e923281c92e94257931913be106e217270a7b97076cb9b* 4148
  • 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 4742 15.46 6.11 0.53
2 4946 16.49 6.44 0.55
3 5155 19.39 7.56 0.59
5 5561 23.02 8.89 0.65
10 6586 35.04 13.43 0.82
37 12124 98.71 37.43 1.75

Cost of Commit Transaction

Currently only one UTxO per commit allowed (this is about to change soon)

UTxO Tx size % max Mem % max CPU Min fee ₳
1 603 15.41 5.98 0.34

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 816 27.63 10.77 0.49
2 113 1139 42.95 16.87 0.67
3 169 1461 60.84 24.07 0.88
4 226 1783 81.72 32.49 1.12

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 639 18.88 8.43 0.39
2 805 19.98 9.56 0.42
3 965 21.67 10.94 0.45
5 1296 24.46 13.45 0.50
10 1471 25.68 11.14 0.50
50 8734 87.17 69.99 1.74

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 676 24.77 10.64 0.46
2 840 26.06 11.84 0.48
3 1006 28.20 13.38 0.52
5 1335 31.20 15.95 0.58
10 2168 39.77 22.80 0.73
44 7772 98.46 69.54 1.79

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 4861 22.19 9.33 0.61
2 5177 36.33 15.48 0.78
3 5500 53.11 22.82 0.99
4 5822 72.84 31.45 1.22
5 5863 84.28 36.07 1.35

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 4764 8.67 3.57 0.46
5 1 57 4800 10.06 4.39 0.47
5 5 284 4948 15.64 7.69 0.55
5 10 570 5125 22.61 11.82 0.64
5 20 1137 5482 36.57 20.08 0.83
5 30 1710 5848 50.53 28.34 1.02
5 40 2279 6206 64.49 36.60 1.21
5 50 2851 6567 78.46 44.87 1.40
5 65 3700 7098 99.42 57.28 1.68

@ch1bo ch1bo force-pushed the use-cardano-scaling-cachix branch from eb6a32e to ea3ce5b Compare May 17, 2023 09:47
@ch1bo ch1bo force-pushed the use-cardano-scaling-cachix branch from ea3ce5b to b546f8b Compare May 17, 2023 13:08
@ch1bo ch1bo merged commit c77d536 into master May 17, 2023
@ch1bo ch1bo deleted the use-cardano-scaling-cachix branch May 17, 2023 15:58
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