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

Support Conway in IsXEraOnwards type classes #1207

Merged
merged 2 commits into from
Dec 13, 2023

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Dec 12, 2023

Required for Conway Support #1177

Add ConwayEra to IsBabbageEraOnward, IsAlonzoEraOnwards and IsMaryEraOnwards.


  • 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 Dec 12, 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-12-13 11:51:20.45198654 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.34 3.99 0.46
2 4575 12.47 4.79 0.49
3 4776 15.02 5.77 0.52
5 5179 19.22 7.35 0.59
10 6184 30.41 11.60 0.75
41 12418 99.06 37.61 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 531 11.37 4.44 0.30
2 722 15.04 6.07 0.35
3 912 18.85 7.75 0.40
5 1285 26.90 11.27 0.51
10 2216 49.55 20.97 0.80
19 3899 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 114 590 32.22 12.74 0.53
3 170 700 44.77 17.86 0.67
4 226 810 61.82 24.73 0.86
5 282 924 77.95 31.36 1.05
6 341 1031 98.02 39.55 1.27

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 494 16.27 7.34 0.36
2 732 18.49 9.33 0.40
3 949 20.31 11.01 0.44
5 1264 23.80 14.20 0.50
10 2236 32.43 22.32 0.67
50 8897 95.88 82.32 1.91

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 600 20.22 8.98 0.40
2 764 22.17 10.66 0.44
3 920 24.23 12.37 0.48
5 1330 28.24 15.84 0.55
10 2209 38.40 24.44 0.73
43 7454 97.18 75.60 1.81

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 4223 15.14 6.24 0.50
2 4492 32.09 13.98 0.71
3 4629 47.60 20.88 0.89
4 4755 60.23 26.30 1.04
5 4978 87.42 38.56 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 4206 8.26 3.46 0.43
5 1 57 4240 9.49 4.22 0.44
5 5 285 4375 14.19 7.18 0.51
5 10 568 4544 20.55 11.08 0.60
5 20 1136 4881 32.64 18.62 0.76
5 30 1709 5226 45.15 26.34 0.93
5 40 2277 5564 57.25 33.88 1.10
5 50 2844 5902 69.56 41.52 1.27
5 74 4211 6716 99.34 59.96 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 2023-12-13 11:56:45.930227236 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.678226230
P99 57.31759633000003ms
P95 31.497613799999982ms
P50 20.672231ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 5.036067471
P99 8.066599029999995ms
P95 6.6905402ms
P50 4.8055475ms
Number of Invalid txs 0

Copy link

github-actions bot commented Dec 12, 2023

Test Results

377 tests  ±0   372 ✔️ ±0   22m 11s ⏱️ +35s
128 suites ±0       5 💤 ±0 
    5 files   ±0       0 ±0 

Results for commit 337c61e. ± Comparison against base commit f37f8ff.

♻️ This comment has been updated with latest results.

@ch1bo ch1bo requested a review from a team December 13, 2023 10:45
Copy link
Collaborator

@ch1bo ch1bo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for removing the empty module which I committed accidentally.

@ch1bo ch1bo force-pushed the lc/conway-for-x-onwards-type-classes branch from d62a847 to 337c61e Compare December 13, 2023 11:48
@ffakenz ffakenz mentioned this pull request Dec 13, 2023
8 tasks
@ffakenz ffakenz merged commit b7c618c into master Dec 13, 2023
21 checks passed
@ffakenz ffakenz deleted the lc/conway-for-x-onwards-type-classes branch December 13, 2023 12:31
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