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 new team cachix cache #1648

Merged
merged 1 commit into from
Sep 19, 2024
Merged

Use new team cachix cache #1648

merged 1 commit into from
Sep 19, 2024

Conversation

ch1bo
Copy link
Member

@ch1bo ch1bo commented Sep 19, 2024

This switches our flake config to the use cachix binary cache and also makes nix-direnv users accept the flake config of this repository.

@ch1bo ch1bo requested review from noonio and a team September 19, 2024 16:16
Copy link

Transaction 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-09-19 16:18:56.072558262 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 2fac819a1f4f14e29639d1414220d2a18b6abd6b8e444d88d0dda8ff 3799
νCommit 2043a9f1a685bcf491413a5f139ee42e335157c8c6bc8d9e4018669d 1743
νHead 2ee477c60839936be49a50030690865b5bed4db8cd2f05bf255ac680 10068
μHead a1610f6e64843161f4a88229c0286176f5325de3e2f773eec2b1d818* 4508
νDeposit c2117fd9ebdee3e96b81fd67ff7092d638926415c10f1f7e5a267ad0 2791
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 5100 5.93 2.35 0.44
2 5295 7.18 2.84 0.46
3 5499 8.56 3.39 0.49
5 5899 11.32 4.48 0.53
10 6904 18.11 7.16 0.65
57 16356 82.89 32.79 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 566 10.52 4.15 0.29
2 756 13.86 5.65 0.34
3 946 17.33 7.20 0.38
5 1320 24.65 10.44 0.48
10 2257 45.22 19.36 0.75
20 4132 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 21.49 8.43 0.41
2 114 671 33.03 13.08 0.54
3 170 782 47.62 19.01 0.71
4 226 893 59.73 24.10 0.85
5 284 1004 75.06 30.53 1.02
6 340 1116 93.47 38.20 1.23

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 633 17.70 7.78 0.38
2 770 18.59 8.80 0.40
3 955 21.59 10.75 0.44
5 1230 23.52 12.90 0.49
10 2043 32.81 20.23 0.65
50 8093 99.68 75.33 1.85

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 651 20.07 9.01 0.41
2 833 21.91 10.73 0.44
3 924 22.92 11.79 0.46
5 1291 26.71 15.28 0.53
10 2025 34.82 22.95 0.69
50 8110 98.16 83.55 1.90

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 672 25.93 11.14 0.47
2 827 27.61 12.63 0.50
3 952 29.45 14.16 0.53
5 1426 34.24 18.26 0.62
10 2005 42.65 25.44 0.77
39 6344 97.33 72.56 1.74

Abort transaction costs

There is some variation due to the random mixture of initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 5001 17.36 7.56 0.57
2 5119 28.47 12.49 0.70
3 5256 42.66 18.87 0.86
4 5288 52.45 23.07 0.97
5 5524 75.70 33.65 1.25
6 5640 92.24 40.99 1.44

FanOut transaction costs

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 4935 7.78 3.29 0.45
5 1 57 4968 8.83 3.96 0.47
5 5 284 5103 13.35 6.81 0.53
5 10 569 5273 19.20 10.45 0.61
5 20 1136 5611 30.33 17.48 0.77
5 30 1704 5950 41.84 24.69 0.93
5 40 2277 6294 52.98 31.73 1.08
5 50 2845 6632 64.11 38.78 1.24
5 81 4613 7686 99.47 60.99 1.73

End-to-end benchmark results

This page is intended to collect the latest end-to-end benchmark results produced by Hydra's continuous integration (CI) system from the latest master code.

Please note that these results are approximate as they are currently produced from limited cloud VMs and not controlled hardware. Rather than focusing on the absolute results, the emphasis should be on relative results, such as how the timings for a scenario evolve as the code changes.

Generated at 2024-09-19 16:21:18.454648952 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 5.385736968
P99 12.197852189999956ms
P95 6.808632199999997ms
P50 4.7442605ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 23.835951881
P99 111.95289021000002ms
P95 30.688672849999996ms
P50 21.413155ms
Number of Invalid txs 0

Copy link

Test Results

503 tests  ±0   497 ✅ ±0   22m 18s ⏱️ +55s
160 suites ±0     6 💤 ±0 
  7 files   ±0     0 ❌ ±0 

Results for commit bd57d30. ± Comparison against base commit f72a220.

@locallycompact locallycompact merged commit 2cd1974 into master Sep 19, 2024
28 checks passed
@locallycompact locallycompact deleted the use-new-cachix-cache branch September 19, 2024 18:05
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.

3 participants