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 mithril to 2418.1 #1430

Merged
merged 1 commit into from
May 13, 2024
Merged

Update mithril to 2418.1 #1430

merged 1 commit into from
May 13, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented May 13, 2024


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

@locallycompact locallycompact enabled auto-merge May 13, 2024 10:36
Copy link

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-05-13 10:40:22.847036225 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial bccf2a430c016bc960fbf31b02694011cd399d20da8882aac9d33611 4110
νCommit 56b0f0b597150e619c76bed60683f3b1e42d7bc0685ed951b882bfc5 1975
νHead 86bff95ba20e9d1d1b34899a56d86bbacc9fed999260b27dcc92d128 9351
μHead 88f533cf67cd0fc93d7d9ccf0a8b1d69ffd1208a825efbebbc1d36ba* 4213
  • 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 4796 9.02 3.45 0.46
2 4996 10.82 4.14 0.49
3 5197 12.74 4.88 0.52
5 5600 16.43 6.29 0.57
10 6605 26.41 10.13 0.73
48 14244 99.77 38.28 1.86

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 556 10.24 4.04 0.29
2 745 13.88 5.64 0.34
3 931 17.66 7.29 0.39
5 1309 25.66 10.74 0.49
10 2246 48.19 20.30 0.78
19 3925 97.83 40.79 1.41

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 16.56 6.55 0.36
2 114 654 26.89 10.72 0.47
3 170 764 37.69 15.18 0.60
4 225 874 51.46 20.84 0.75
5 282 984 69.98 28.36 0.96
6 338 1095 85.05 34.75 1.14

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 625 8.34 4.63 0.28
2 591 8.48 4.07 0.27
3 864 9.75 6.73 0.32
5 1198 11.40 9.14 0.36
10 1909 15.74 15.09 0.47
50 8173 50.62 63.35 1.38

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 619 8.69 4.74 0.28
2 764 9.30 5.77 0.30
3 907 10.32 7.04 0.32
5 1293 12.29 9.68 0.38
10 2122 17.40 16.22 0.50
50 8051 51.60 63.42 1.38

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 4677 17.13 7.41 0.55
2 4753 24.59 10.58 0.63
3 4909 38.59 16.79 0.80
4 5168 60.42 26.69 1.06
5 5081 72.97 31.96 1.19
6 5389 99.95 44.08 1.51

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 4627 7.85 3.28 0.44
5 1 57 4662 9.00 3.99 0.46
5 5 284 4796 13.91 6.96 0.52
5 10 568 4966 19.37 10.40 0.60
5 20 1139 5306 30.69 17.44 0.76
5 30 1706 5645 42.43 24.67 0.92
5 40 2276 5986 54.17 31.89 1.08
5 50 2842 6321 65.50 38.95 1.24
5 79 4494 7307 99.00 59.68 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 2024-05-13 10:43:53.131753321 UTC

Baseline Scenario

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.580942774
P99 102.17221123000013ms
P95 30.753914349999995ms
P50 19.0736685ms
Number of Invalid txs 0

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 3.774006811
P99 5.386080639999989ms
P95 4.465443549999999ms
P50 3.6814095ms
Number of Invalid txs 0

@locallycompact locallycompact requested a review from a team May 13, 2024 11:35
Copy link

Test Results

426 tests  ±0   416 ✅ ±0   14m 32s ⏱️ -12s
138 suites ±0    10 💤 ±0 
  2 files   ±0     0 ❌ ±0 

Results for commit 711b5ad. ± Comparison against base commit 4791447.

Copy link
Contributor

@v0d1ch v0d1ch left a comment

Choose a reason for hiding this comment

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

I approve but perhaps it would be good to detect changes in the mithril version similar to what we do for cardano-cli:

it "has expected cardano-cli version available" $
      readProcess "cardano-cli" ["--version"] "" >>= (`shouldContain` "8.20.3.0")

@locallycompact locallycompact merged commit 616b962 into master May 13, 2024
20 checks passed
@locallycompact locallycompact deleted the lc/mithril branch May 13, 2024 13:10
@ch1bo ch1bo added this to the 0.17.0 milestone Jun 10, 2024
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