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 hydra-explorer version during release #1466

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

v0d1ch
Copy link
Contributor

@v0d1ch v0d1ch 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

@v0d1ch v0d1ch enabled auto-merge June 3, 2024 15:25
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 15:31:11.978575685 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 4823 5.87 2.30 0.43
2 5019 7.33 2.88 0.45
3 5221 8.80 3.46 0.48
5 5623 11.58 4.56 0.52
10 6628 18.49 7.28 0.64
58 16279 85.85 33.85 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 749 12.48 5.10 0.32
3 935 15.33 6.40 0.36
5 1311 21.26 9.09 0.45
10 2242 37.35 16.27 0.67
25 5052 96.42 41.75 1.45

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 548 14.78 5.90 0.34
2 114 654 23.49 9.48 0.44
3 170 764 32.58 13.32 0.54
4 227 874 45.50 18.67 0.69
5 284 988 59.37 24.49 0.85
6 340 1095 74.13 30.73 1.02
7 393 1205 90.70 37.78 1.21

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 549 7.86 4.25 0.27
2 740 8.88 5.63 0.30
3 909 10.03 7.02 0.32
5 927 10.75 5.62 0.32
10 2047 16.70 15.85 0.49
50 8347 53.68 65.52 1.42

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 645 8.60 4.74 0.28
2 782 9.33 5.81 0.30
3 890 10.01 6.84 0.32
5 1298 12.36 9.71 0.38
10 2117 17.41 16.23 0.50
50 7876 48.28 61.51 1.33

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 4684 17.00 7.35 0.55
2 4882 28.58 12.55 0.69
3 5013 43.09 19.00 0.86
4 5097 53.86 23.56 0.98
5 5278 74.08 32.61 1.22
6 5346 93.21 40.93 1.43

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 57 4685 8.76 3.89 0.46
5 5 284 4820 13.37 6.74 0.52
5 10 568 4990 19.34 10.39 0.60
5 20 1136 5327 30.66 17.43 0.76
5 30 1708 5671 42.61 24.75 0.92
5 40 2276 6009 54.14 31.88 1.08
5 50 2843 6347 65.68 39.03 1.24
5 79 4498 7334 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 15:33:36.023083351 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.967275300
P99 10.375320959999991ms
P95 6.588973449999998ms
P50 4.3176655ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.352001595
P99 103.55697048000015ms
P95 30.233105449999993ms
P50 20.092408ms
Number of Invalid txs 0

@ffakenz ffakenz disabled auto-merge June 3, 2024 15:27
@locallycompact locallycompact enabled auto-merge June 3, 2024 15:34
@ffakenz ffakenz changed the title Update hydra-explorer version and start-chain-from Update hydra-explorer version during release Jun 3, 2024
@locallycompact locallycompact merged commit d3c44f6 into master Jun 3, 2024
20 checks passed
@locallycompact locallycompact deleted the update-explorer-docker-compose branch June 3, 2024 15:36
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