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 --start-chain-from in hydra-explorer #1464

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ffakenz
Copy link
Contributor

@ffakenz ffakenz commented Jun 3, 2024


  • 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 Jun 3, 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-06-03 07:39:27.202141615 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial baafeb5dc37bbe6e068784746bda0a3b1bb1d034fa0c55270f6079c1 4082
νCommit fe7af84822bcba542fae377ae7311fc5fd20152f925ccd980f73ecdc 2061
νHead 93c08c55e804d7f82ca545a01883b5fda6a6d3623cb78885625800ae 9366
μHead 5e65c73722b4bb3f0cbfcc8433e1dcdfea099eaf0a43060f1731a65b* 4237
  • 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 4819 6.02 2.37 0.43
2 5017 7.23 2.84 0.45
3 5221 8.63 3.39 0.47
5 5628 11.77 4.64 0.53
10 6626 18.49 7.28 0.64
58 16276 85.90 33.87 1.80

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 9.69 3.82 0.28
2 747 12.48 5.10 0.32
3 937 15.33 6.40 0.36
5 1307 21.26 9.09 0.45
10 2243 37.35 16.27 0.67
25 5048 96.42 41.75 1.45

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 14.78 5.90 0.34
2 114 654 22.89 9.26 0.43
3 170 764 32.43 13.26 0.54
4 226 874 45.11 18.53 0.69
5 284 988 56.88 23.57 0.82
6 339 1095 72.91 30.28 1.01
7 395 1209 90.05 37.55 1.20

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 587 8.26 4.58 0.28
2 551 8.09 3.75 0.27
3 921 9.99 7.02 0.32
5 1140 11.24 8.97 0.36
10 2061 16.40 15.82 0.49
50 7950 48.12 61.63 1.33

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 618 8.64 4.73 0.28
2 831 9.73 6.14 0.31
3 977 10.46 7.22 0.33
5 1204 11.91 9.33 0.37
10 1999 16.55 15.59 0.48
50 7816 49.36 61.62 1.34

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 4690 16.91 7.32 0.55
2 4824 27.64 12.06 0.67
3 4875 39.78 17.35 0.81
4 4988 55.21 24.14 0.99
5 5213 71.47 31.33 1.18
6 5353 93.71 41.13 1.44

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 4651 7.82 3.27 0.44
5 1 56 4685 8.97 3.98 0.46
5 5 284 4821 13.37 6.74 0.52
5 10 570 4992 19.55 10.48 0.60
5 20 1137 5328 30.74 17.47 0.76
5 30 1708 5671 42.61 24.75 0.92
5 40 2275 6009 53.93 31.80 1.08
5 50 2845 6348 65.68 39.03 1.24
5 79 4497 7333 99.18 59.76 1.71

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-06-03 07:41:35.106366044 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 3.753696828
P99 7.502265039999999ms
P95 4.475292249999997ms
P50 3.5831229999999996ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 21.165593343
P99 113.76609088000005ms
P95 29.262928449999983ms
P50 18.472702ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jun 3, 2024

Test Results

436 tests  ±0   424 ✅ ±0   14m 58s ⏱️ -14s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 071de8d. ± Comparison against base commit d5c3df9.

@ffakenz ffakenz merged commit f17cbc8 into master Jun 3, 2024
21 checks passed
@ffakenz ffakenz deleted the update-hydra-explorer-start-chain-from-v2 branch June 3, 2024 07:55
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.

2 participants