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

Work around an issue in HLS 2.6 #1291

Merged
merged 1 commit into from
Feb 6, 2024
Merged

Work around an issue in HLS 2.6 #1291

merged 1 commit into from
Feb 6, 2024

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Feb 6, 2024

We are affected by
haskell/haskell-language-server#4046 and this makes hls 2.6.0.0 not block on our codebase.


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

@ch1bo ch1bo requested a review from a team February 6, 2024 15:15
Copy link

github-actions bot commented Feb 6, 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-02-06 15:37:20.783991835 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 985245919fcc6c0c5cd116023cd2c947c43e80dcbb5075fe12433fbb 4072
νCommit 7cb20fa71eb4c563ca283566ebe0aa65859d96c3f8cba35c52c181fd 2043
νHead 7a36661f5c15e9f1783aeaab890812c59b7286cbbc6de762d3110772 8816
μHead 8b111ac12274e46314769295a1c5dcab1d260096fc469fd698065463* 3851
  • 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 4374 10.25 3.95 0.45
2 4575 12.74 4.91 0.49
3 4777 14.83 5.69 0.52
5 5180 19.22 7.35 0.59
10 6184 30.30 11.55 0.75
41 12415 99.02 37.59 1.77

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 534 11.37 4.44 0.30
2 721 15.04 6.07 0.35
3 912 18.85 7.75 0.40
5 1282 26.90 11.27 0.51
10 2218 49.55 20.97 0.80
19 3911 99.43 41.75 1.43

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 480 21.78 8.51 0.41
2 113 590 34.16 13.45 0.55
3 171 700 48.49 19.23 0.71
4 228 810 59.89 24.02 0.84
5 283 924 74.36 30.06 1.01
6 336 1031 92.90 37.74 1.22

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 571 16.68 7.70 0.37
2 659 18.00 8.95 0.39
3 802 19.32 10.22 0.42
5 1174 22.99 13.54 0.49
10 2090 31.55 21.44 0.65
50 7900 89.72 76.71 1.78

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 597 20.18 8.96 0.40
2 655 21.40 9.99 0.42
3 786 22.85 11.31 0.45
5 1149 26.97 14.78 0.53
10 1958 35.94 22.65 0.69
47 7444 98.42 76.97 1.83

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 4322 18.98 8.17 0.55
2 4405 27.20 11.63 0.65
3 4602 46.65 20.40 0.88
4 4663 61.84 27.04 1.05
5 4703 70.44 30.54 1.15

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 4205 7.63 3.19 0.42
5 1 57 4239 9.07 4.04 0.44
5 5 284 4375 13.56 6.91 0.50
5 10 570 4546 19.71 10.73 0.59
5 20 1138 4883 31.80 18.26 0.75
5 30 1708 5226 44.10 25.89 0.92
5 40 2279 5566 57.12 33.83 1.10
5 50 2849 5906 69.14 41.34 1.27
5 74 4213 6718 98.92 59.78 1.68

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-02-06 15:39:47.039857747 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.786550735
P99 81.94981620000083ms
P95 31.161531049999994ms
P50 20.462563ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.930702607
P99 9.48893963999998ms
P95 7.20253095ms
P50 4.664858ms
Number of Invalid txs 0

Copy link

github-actions bot commented Feb 6, 2024

Test Results

409 tests  ±0   401 ✅ ±0   12m 33s ⏱️ -51s
138 suites ±0     8 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 77f64d1. ± Comparison against base commit 0684dbe.

We are affected by
haskell/haskell-language-server#4046 and this
makes hls 2.6.0.0 not block on our codebase.
@ch1bo ch1bo merged commit 1321711 into master Feb 6, 2024
16 of 17 checks passed
@ch1bo ch1bo deleted the fix-hls branch February 6, 2024 15:34
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.

4 participants