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 Hydra.Cardano.Api.TxScriptValidity module #1678

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Oct 3, 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-03 07:33:16.348669651 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.61 2.21 0.44
2 5295 7.09 2.80 0.46
3 5500 8.45 3.34 0.48
5 5901 11.26 4.45 0.53
10 6906 18.11 7.16 0.65
57 16353 82.81 32.75 1.77

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 569 10.52 4.15 0.29
2 757 13.86 5.65 0.34
3 943 17.33 7.20 0.38
5 1317 24.65 10.44 0.48
10 2253 45.22 19.36 0.75
20 4116 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 21.49 8.43 0.41
2 114 671 32.21 12.78 0.53
3 168 782 45.27 18.13 0.68
4 226 893 62.64 25.19 0.88
5 283 1004 79.89 32.34 1.07
6 339 1116 96.43 39.30 1.26

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 637 17.66 7.77 0.38
2 841 20.16 9.47 0.42
3 934 19.93 10.06 0.42
5 1209 23.32 12.83 0.48
10 1959 31.80 19.77 0.64
49 7711 94.21 72.51 1.77

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 641 20.07 9.01 0.41
2 810 21.49 10.42 0.43
3 910 22.95 11.79 0.46
5 1234 26.29 14.94 0.52
10 2020 34.21 22.63 0.68
50 8036 99.13 83.94 1.91

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 697 25.89 11.14 0.47
2 810 27.61 12.63 0.50
3 943 29.41 14.14 0.53
5 1264 33.33 17.50 0.60
10 2185 44.01 26.67 0.79
39 6628 98.83 73.93 1.77

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 4991 17.47 7.60 0.57
2 5148 29.38 12.95 0.71
3 5262 42.69 18.88 0.86
4 5420 59.24 26.33 1.06
5 5479 71.67 31.70 1.20
6 5619 90.44 40.16 1.42

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 4934 7.89 3.34 0.46
5 1 57 4969 9.02 4.05 0.47
5 5 284 5104 13.55 6.89 0.53
5 10 570 5275 19.20 10.45 0.61
5 20 1140 5615 30.33 17.48 0.77
5 30 1709 5956 42.04 24.77 0.93
5 40 2277 6293 53.17 31.82 1.09
5 50 2847 6633 64.31 38.86 1.24
5 81 4611 7685 99.87 61.16 1.74

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-03 07:36:35.471474549 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.691916960
P99 11.263289379999982ms
P95 6.111126849999989ms
P50 4.416574ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 23.965286427
P99 118.43632961000003ms
P95 30.424653099999954ms
P50 21.1417505ms
Number of Invalid txs 0

Copy link

github-actions bot commented Oct 3, 2024

Test Results

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

Results for commit 1f2bad0. ± Comparison against base commit 4aacf31.

@locallycompact locallycompact requested a review from a team October 3, 2024 09:43
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.

1 participant