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

Fix docker-compose of explorer setup #1660

Merged
merged 1 commit into from
Sep 27, 2024
Merged

Conversation

ch1bo
Copy link
Collaborator

@ch1bo ch1bo commented Sep 27, 2024

This got broken in the recent cardano-node update. Was not noticed in that PR because explorer is only deployed with commits from master.


  • CHANGELOG update not needed
  • Documentation update not needed
  • Haddocks update not needed
  • No new TODOs introduced

This got broken in the recent cardano-node update. Was not noticed in
that PR because explorer is only deployed with commits from master.
@ch1bo ch1bo requested a review from a team September 27, 2024 15:51
Copy link

Transaction 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-09-27 15:55:10.835249232 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 2fac819a1f4f14e29639d1414220d2a18b6abd6b8e444d88d0dda8ff 3799
νCommit 2043a9f1a685bcf491413a5f139ee42e335157c8c6bc8d9e4018669d 1743
νHead 2ee477c60839936be49a50030690865b5bed4db8cd2f05bf255ac680 10068
μHead a1610f6e64843161f4a88229c0286176f5325de3e2f773eec2b1d818* 4508
νDeposit c2117fd9ebdee3e96b81fd67ff7092d638926415c10f1f7e5a267ad0 2791
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 5097 5.71 2.25 0.44
2 5297 6.99 2.76 0.46
3 5499 8.37 3.30 0.48
5 5902 11.21 4.43 0.53
10 6906 18.02 7.12 0.65
57 16356 83.00 32.84 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 566 10.52 4.15 0.29
2 758 13.86 5.65 0.34
3 947 17.33 7.20 0.38
5 1316 24.65 10.44 0.48
10 2253 45.22 19.36 0.75
20 4131 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 21.46 8.41 0.41
2 114 671 32.21 12.78 0.53
3 171 782 46.33 18.52 0.69
4 227 893 61.84 24.91 0.87
5 282 1009 74.38 30.30 1.01
6 337 1116 96.90 39.50 1.27

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 639 17.70 7.78 0.38
2 731 17.74 8.48 0.39
3 952 20.70 10.34 0.43
5 1169 23.48 12.97 0.48
10 1978 31.95 19.83 0.64
49 7942 96.86 73.48 1.81

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 665 20.11 9.03 0.41
2 841 21.95 10.76 0.44
3 872 22.58 11.47 0.45
5 1219 26.26 14.92 0.52
10 2106 35.35 23.37 0.70
50 8051 98.27 83.61 1.90

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 695 25.90 11.14 0.47
2 814 27.73 12.67 0.50
3 1000 29.79 14.48 0.54
5 1236 33.28 17.46 0.60
10 2107 43.82 26.39 0.79
39 6394 98.00 72.88 1.75

Abort transaction costs

There is some variation due to the random mixture of initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 4997 17.47 7.61 0.57
2 5116 28.50 12.50 0.70
3 5285 42.37 18.77 0.86
4 5358 56.72 25.09 1.03
5 5451 74.18 32.90 1.23
6 5580 93.90 41.73 1.46

FanOut transaction costs

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 4935 7.70 3.25 0.45
5 1 57 4969 8.83 3.96 0.47
5 5 284 5103 13.35 6.81 0.53
5 10 569 5273 18.61 10.20 0.61
5 20 1138 5613 30.61 17.61 0.77
5 30 1709 5955 41.65 24.61 0.93
5 40 2278 6294 53.17 31.82 1.09
5 50 2846 6633 64.51 38.94 1.24
5 81 4610 7683 99.28 60.90 1.73

End-to-end benchmark results

This page is intended to collect the latest end-to-end benchmark results produced by Hydra's continuous integration (CI) system from the latest master code.

Please note that these results are approximate as they are currently produced from limited cloud VMs and not controlled hardware. Rather than focusing on the absolute results, the emphasis should be on relative results, such as how the timings for a scenario evolve as the code changes.

Generated at 2024-09-27 15:58:02.470981824 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.897366911
P99 11.009307189999914ms
P95 6.644898849999999ms
P50 4.505803ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 23.002771425
P99 104.59553505000008ms
P95 29.430996499999992ms
P50 20.895470500000002ms
Number of Invalid txs 0

Copy link

Test Results

503 tests  ±0   497 ✅ ±0   22m 1s ⏱️ - 1m 32s
160 suites ±0     6 💤 ±0 
  7 files   ±0     0 ❌ ±0 

Results for commit cacc149. ± Comparison against base commit 4d5c4ca.

@locallycompact locallycompact added this pull request to the merge queue Sep 27, 2024
Merged via the queue into master with commit 76a4d16 Sep 27, 2024
28 checks passed
@locallycompact locallycompact deleted the fix-explorer-compose branch September 27, 2024 20:48
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