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

Update default compiler in nix to GHC 9.6.3 #1135

Merged
merged 3 commits into from Nov 2, 2023
Merged

Update default compiler in nix to GHC 9.6.3 #1135

merged 3 commits into from Nov 2, 2023

Conversation

locallycompact
Copy link
Contributor

No description provided.

@locallycompact locallycompact changed the title lc/ghc963 ghc: 962 -> 963 Oct 20, 2023
@github-actions
Copy link

github-actions bot commented Oct 20, 2023

Test Results

362 tests  ±0   357 ✔️ ±0   21m 36s ⏱️ + 3m 25s
122 suites ±0       5 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit ba093c2. ± Comparison against base commit 781aee4.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Oct 23, 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-10-31 15:05:23.937295647 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 9bad424d8a3bc67f63acfe1b015b551e84a14d7d8818204089a021b5 4120
νCommit 171a1e6bdbc8aa96d957a65b3f505517386af06ba265e3f784741f67 2050
νHead 00a8a1475bd29c02c0e3ff02a2fc83607425cd9b94eaa9f2a3056ab1 9185
μHead 16bb32b8df4dfc6cefe5bbaad9174db1b61394bdeaf1b26e83024bf6* 4150
  • 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 4743 11.98 4.74 0.49
2 4949 13.93 5.47 0.52
3 5151 16.36 6.39 0.56
5 5564 21.15 8.22 0.63
10 6586 33.01 12.75 0.80
38 12331 99.86 38.24 1.78

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 599 12.55 4.94 0.31
2 784 16.25 6.61 0.36
3 969 20.09 8.33 0.42
5 1348 28.20 11.93 0.52
10 2288 50.91 21.81 0.82
18 3785 94.52 40.28 1.37

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 814 23.60 9.42 0.44
2 113 1135 36.90 14.84 0.61
3 170 1455 51.38 20.84 0.78
4 228 1775 72.04 29.25 1.02
5 282 2095 85.19 35.03 1.18

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 693 18.76 8.66 0.39
2 799 18.75 8.29 0.40
3 1118 22.17 11.80 0.46
5 1505 25.20 14.61 0.53
10 2577 33.90 22.43 0.70
50 7699 83.46 44.50 1.48

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 722 22.54 10.09 0.44
2 930 24.87 11.89 0.48
3 1157 26.28 13.35 0.51
5 1569 30.50 16.78 0.59
10 2633 39.44 24.59 0.76
45 9707 99.94 77.71 1.95

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 4976 20.97 9.08 0.60
2 5451 35.55 15.59 0.79
3 5898 53.35 23.53 1.01
4 6054 67.09 29.46 1.17
5 6798 98.22 43.51 1.56

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 4770 8.68 3.67 0.46
5 1 57 4798 10.11 4.52 0.48
5 5 285 4948 15.30 7.70 0.55
5 10 570 5126 21.78 11.67 0.64
5 20 1139 5489 34.76 19.61 0.81
5 30 1710 5848 47.51 27.45 0.99
5 40 2278 6204 60.72 35.50 1.17
5 50 2843 6557 73.71 43.45 1.35
5 70 3982 7286 99.48 59.28 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 2023-10-31 14:56:34.913531375 UTC

3-nodes Scenario

A rather typical setup, with 3 nodes forming a Hydra head.

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 68.008361632
P99 217.75547400999997ms
P95 148.67382434999996ms
P50 56.213803ms
Number of Invalid txs 0

Baseline Scenario

This scenario represents a minimal case and as such is a good baseline against which to assess the overhead introduced by more complex setups. There is a single hydra-node d with a single client submitting single input and single output transactions with a constant UTxO set of 1.

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 6.532117303
P99 17.894675049999986ms
P95 12.478967100000007ms
P50 5.555314ms
Number of Invalid txs 0

The version on nixpkgs is marked as broken.
This was raising the warning:

  bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
@ch1bo ch1bo changed the title ghc: 962 -> 963 Update default compiler in nix to GHC 9.6.3 Oct 31, 2023
@ch1bo ch1bo merged commit 7a83a7d into master Nov 2, 2023
19 of 21 checks passed
@ch1bo ch1bo deleted the lc/ghc963 branch November 2, 2023 09:11
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

2 participants