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

Remove cardano-configurations submodule #1707

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Oct 14, 2024

As far as I can tell this isn't used. It's interfering with using it as a source-repository-package for hydra-explorer.

Copy link

github-actions bot commented Oct 14, 2024

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-10-15 11:48:48.241948408 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial b512161ccb0652d7e9a0b540e4a3c808f73d6558a4bcabf374d85880 3969
νCommit ea444d37d226e71eef73ac78d149750da977feb588900135bf9e8221 692
νHead 2253ddd95837c7aacc8635a971caaea743434152dd8dd2849bdf4162 10797
μHead 4d648ca239040b0e87901835aa11423e7aa3bd947ce6befe7db1bae8* 4508
νDeposit 1a011f23b139a6426767026bde10319546485d553219a5848cdac4e5 2993
  • 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 5094 5.61 2.21 0.44
2 5297 6.99 2.76 0.46
3 5499 8.37 3.30 0.48
5 5899 11.32 4.48 0.53
10 6904 18.11 7.16 0.65
57 16356 82.91 32.79 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 569 10.84 4.26 0.29
2 755 14.31 5.80 0.34
3 942 17.92 7.39 0.39
5 1320 25.56 10.73 0.49
10 2257 47.11 19.97 0.77
19 3937 94.71 39.81 1.38

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 20.58 7.85 0.40
2 114 671 28.88 10.99 0.49
3 170 782 35.11 13.37 0.56
4 227 897 41.35 15.77 0.64
5 280 1004 49.05 18.71 0.73
6 339 1116 63.43 24.09 0.89
7 395 1227 62.38 23.76 0.88
8 450 1338 83.17 31.52 1.11
9 505 1449 99.97 37.82 1.29
10 560 1560 96.15 36.53 1.26

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 637 18.68 8.17 0.39
2 795 19.23 9.10 0.41
3 946 22.40 11.15 0.45
5 1378 27.21 14.56 0.54
10 2002 33.45 20.79 0.66
48 7855 97.96 75.26 1.83

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 656 20.87 9.34 0.42
2 745 21.89 10.42 0.44
3 931 23.82 12.24 0.47
5 1251 26.93 15.38 0.53
10 2019 35.52 23.55 0.70
50 8056 99.40 86.22 1.93

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 667 26.76 11.46 0.48
2 814 28.61 13.05 0.51
3 942 30.39 14.60 0.54
5 1217 33.90 17.71 0.61
10 2108 43.78 26.56 0.79
40 6364 99.27 75.48 1.78

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 4979 15.38 6.58 0.54
2 5105 21.97 9.45 0.62
3 5226 28.00 12.10 0.69
4 5370 35.77 15.52 0.79
5 5458 41.63 18.02 0.86
6 5750 50.68 22.19 0.97
7 5765 54.21 23.50 1.01
8 6041 63.94 28.14 1.14
9 6122 70.40 30.78 1.21
10 6311 76.46 33.49 1.29
11 6226 78.04 33.85 1.30
12 6416 86.70 37.63 1.40
13 6431 89.73 38.77 1.44

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 ₳
10 0 0 5089 9.88 4.13 0.48
10 1 57 5123 11.16 4.90 0.50
10 5 284 5259 16.03 7.87 0.57
10 10 568 5428 21.87 11.49 0.65
10 20 1138 5767 33.64 18.76 0.81
10 30 1705 6107 45.04 25.88 0.97
10 40 2275 6446 56.54 33.03 1.13
10 50 2846 6788 69.03 40.62 1.30
10 76 4329 7673 98.68 59.14 1.71

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-10-15 11:50:36.340451351 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.530364280
P99 8.986571919999983ms
P95 6.138804700000001ms
P50 4.3074345ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 24.298012134
P99 118.21130888999998ms
P95 30.872443249999986ms
P50 21.635948999999997ms
Number of Invalid txs 0

Copy link

github-actions bot commented Oct 14, 2024

Transaction cost differences

Script summary

Name Size (Bytes)
νInitial -
νCommit -
νHead -
μHead -
νDeposit -

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - $${\color{green}-0.20}$$ $${\color{green}-0.09}$$ -
2 +7 +0.31 +0.13 -
3 $${\color{green}-1.00}$$ +0.08 +0.04 -
5 $${\color{green}-1.00}$$ $${\color{green}-0.04}$$ $${\color{green}-0.02}$$ -
10 $${\color{green}-1.00}$$ $${\color{green}-0.10}$$ $${\color{green}-0.04}$$ -
57 - - - -

Commit transaction costs

UTxO Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 +1 - - -
3 +1 - - -
5 - - - -
10 +4 - - -
19 $${\color{green}-9.00}$$ - - -

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 - - +0.03 +0.01 -
2 - +4.0 $${\color{green}-1.10}$$ $${\color{green}-0.41}$$ $${\color{green}-0.01}$$
3 +2.0 - $${\color{green}-2.27}$$ $${\color{green}-0.84}$$ $${\color{green}-0.03}$$
4 $${\color{green}-2.00}$$ $${\color{green}-4.00}$$ $${\color{green}-3.88}$$ $${\color{green}-1.42}$$ $${\color{green}-0.04}$$
5 - $${\color{green}-5.00}$$ $${\color{green}-6.73}$$ $${\color{green}-2.48}$$ $${\color{green}-0.07}$$
6 +2.0 - $${\color{green}-3.56}$$ $${\color{green}-1.29}$$ $${\color{green}-0.04}$$
7 $${\color{green}-2.00}$$ $${\color{green}-4.00}$$ $${\color{green}-8.32}$$ $${\color{green}-3.07}$$ $${\color{green}-0.09}$$
8 +2.0 $${\color{green}-4.00}$$ $${\color{green}-1.75}$$ $${\color{green}-0.62}$$ $${\color{green}-0.01}$$
9 - $${\color{green}-4.00}$$ $${\color{green}-5.24}$$ $${\color{green}-1.87}$$ $${\color{green}-0.05}$$

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 $${\color{green}-9.00}$$ - $${\color{green}-0.01}$$ -
2 $${\color{green}-2.00}$$ - - -
3 $${\color{green}-120.00}$$ $${\color{green}-2.41}$$ $${\color{green}-0.90}$$ $${\color{green}-0.03}$$
5 +63.0 +0.72 +0.27 +0.01
10 +40.0 $${\color{green}-0.35}$$ $${\color{green}-0.21}$$ -

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 $${\color{green}-44.00}$$ $${\color{green}-0.33}$$ $${\color{green}-0.30}$$ -
2 +13.0 +0.04 +0.02 -
3 +42.0 +0.29 +0.28 +0.01
5 +249.0 +1.97 +1.67 +0.04
10 +18.0 $${\color{green}-0.07}$$ $${\color{green}-0.08}$$ -

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 $${\color{green}-39.00}$$ $${\color{green}-0.45}$$ $${\color{green}-0.35}$$ $${\color{green}-0.01}$$
2 $${\color{green}-59.00}$$ $${\color{green}-0.45}$$ $${\color{green}-0.37}$$ $${\color{green}-0.01}$$
3 +8.0 - - -
5 +119.0 +0.54 +0.59 +0.02
10 $${\color{green}-143.00}$$ $${\color{green}-1.09}$$ $${\color{green}-0.82}$$ $${\color{green}-0.02}$$

Abort transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 +27.0 - +0.02 -
2 $${\color{green}-29.00}$$ +0.1 +0.03 -
3 $${\color{green}-15.00}$$ $${\color{green}-0.59}$$ $${\color{green}-0.32}$$ -
4 $${\color{green}-102.00}$$ $${\color{green}-1.30}$$ $${\color{green}-0.72}$$ $${\color{green}-0.02}$$
5 +37.0 +0.91 +0.47 +0.01
6 $${\color{green}-94.00}$$ $${\color{green}-3.21}$$ $${\color{green}-1.61}$$ $${\color{green}-0.04}$$
7 $${\color{green}-59.00}$$ $${\color{green}-0.28}$$ $${\color{green}-0.21}$$ $${\color{green}-0.01}$$
8 $${\color{green}-34.00}$$ +0.78 +0.2 +0.01
9 $${\color{green}-112.00}$$ +1.63 +0.57 +0.01
10 +48.0 +2.76 +1.41 +0.03
11 +43.0 +1.07 +0.52 +0.01
12 +36.0 +9.97 +4.56 +0.11

FanOut transaction costs

Parties UTxO UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
10 - - +1 +0.2 +0.08 -
10 - - $${\color{green}-1.00}$$ - - -
10 - - - +0.09 +0.03 -
10 - - - +0.39 +0.17 +0.01
10 - $${\color{green}-1.00}$$ $${\color{green}-1.00}$$ +0.2 +0.08 +0.01
10 - +2 +2 $${\color{green}-0.59}$$ $${\color{green}-0.25}$$ $${\color{green}-0.01}$$
10 - $${\color{green}-1.00}$$ $${\color{green}-1.00}$$ $${\color{green}-1.18}$$ $${\color{green}-0.51}$$ $${\color{green}-0.02}$$
10 - - - +0.19 +0.09 +0.01
10 +1 +59 +36 +0.38 +0.38 +0.01

Copy link

github-actions bot commented Oct 14, 2024

Test Results

  7 files  ±0  164 suites  ±0   26m 38s ⏱️ -4s
557 tests ±0  551 ✅ ±0  6 💤 ±0  0 ❌ ±0 
559 runs  ±0  553 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit e47e129. ± Comparison against base commit 34c9916.

♻️ This comment has been updated with latest results.

@v0d1ch
Copy link
Contributor

v0d1ch commented Oct 14, 2024

I think this submodule is used, we describe it in our tutorials and/or demo I think too.

@locallycompact
Copy link
Contributor Author

It doesn't seem like it is used. Our instructions only refer to a clone of this repository and nothing references it outside of that.

@locallycompact locallycompact added this pull request to the merge queue Oct 16, 2024
Copy link
Contributor

@noonio noonio left a comment

Choose a reason for hiding this comment

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

Yay!

Merged via the queue into master with commit a0635c6 Oct 16, 2024
29 checks passed
@locallycompact locallycompact deleted the lc/remove-unused-submodule branch October 16, 2024 09:20
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