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 unused Hash module #1701

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Remove unused Hash module #1701

merged 3 commits into from
Oct 22, 2024

Conversation

locallycompact
Copy link
Contributor

@locallycompact locallycompact commented Oct 11, 2024

We are migrating to aiken and so I don't think it makes sense to keep this around.

Copy link

github-actions bot commented Oct 11, 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-16 09:27:26.46517477 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 703883df80fe589a8f64a4127057f28c9100ea9ebbb3e726c05e89ca 3096
  • 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.81 2.30 0.44
2 5298 6.99 2.76 0.46
3 5498 8.46 3.34 0.48
5 5902 11.22 4.43 0.53
10 6907 18.21 7.20 0.65
57 16355 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 752 14.31 5.80 0.34
3 939 17.92 7.39 0.39
5 1322 25.56 10.73 0.49
10 2256 47.11 19.97 0.77
19 3945 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 113 671 26.92 10.26 0.47
3 168 782 35.11 13.37 0.56
4 227 893 46.94 17.81 0.70
5 284 1004 55.24 20.97 0.79
6 338 1116 59.30 22.55 0.84
7 395 1227 69.75 26.51 0.96
8 449 1342 76.42 29.10 1.04
9 504 1449 90.58 34.37 1.19

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 634 18.40 8.07 0.39
2 774 19.31 9.13 0.41
3 973 22.22 11.10 0.45
5 1240 24.57 13.50 0.50
10 1962 32.16 20.32 0.64
49 7780 99.17 76.60 1.85

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 671 20.87 9.35 0.42
2 796 22.22 10.73 0.44
3 932 23.74 12.21 0.47
5 1218 27.05 15.41 0.53
10 1833 33.73 22.20 0.66
49 7898 97.21 84.34 1.89

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 695 26.81 11.49 0.48
2 832 28.53 13.04 0.51
3 941 30.27 14.56 0.54
5 1405 34.89 18.66 0.63
10 2067 44.03 26.76 0.79
39 6437 99.19 75.19 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 4980 15.30 6.55 0.54
2 5111 21.73 9.35 0.62
3 5212 28.42 12.26 0.70
4 5370 35.47 15.41 0.78
5 5480 39.56 17.07 0.83
6 5798 50.06 22.04 0.97
7 5764 56.06 24.37 1.03
8 5842 61.49 26.63 1.10
9 6085 68.41 29.84 1.19
10 6365 74.81 32.76 1.27
11 6512 83.69 36.74 1.38
12 6468 92.95 40.58 1.48
13 6460 93.76 40.60 1.48

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 10.27 4.30 0.49
10 1 57 5124 11.16 4.90 0.50
10 5 285 5260 16.22 7.96 0.57
10 10 570 5429 22.06 11.57 0.65
10 20 1138 5767 33.35 18.64 0.81
10 30 1706 6107 45.24 25.96 0.97
10 40 2273 6445 56.15 32.86 1.12
10 50 2848 6790 68.24 40.28 1.29
10 77 4380 7700 99.85 59.86 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-10-16 09:30:41.347491374 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.867905676
P99 11.066846949999995ms
P95 7.124689200000002ms
P50 4.6212885ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.921853045
P99 117.91357773999998ms
P95 30.227833049999994ms
P50 21.276228ms
Number of Invalid txs 0

Copy link

github-actions bot commented Oct 11, 2024

Test Results

  7 files  ±0  164 suites  ±0   29m 7s ⏱️ + 1m 35s
558 tests ±0  552 ✅ ±0  6 💤 ±0  0 ❌ ±0 
560 runs  ±0  554 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit be61167. ± Comparison against base commit d55c4ef.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact requested a review from a team October 15, 2024 11:50
Copy link

github-actions bot commented Oct 16, 2024

Transaction cost differences

No cost or size differences found

@noonio noonio added this pull request to the merge queue Oct 22, 2024
Merged via the queue into master with commit f0d2fa0 Oct 22, 2024
29 checks passed
@noonio noonio deleted the lc/remove-hash-module branch October 22, 2024 09:04
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