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.Data.Utxo module #1676

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 06:46:36.712769741 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 5094 5.61 2.21 0.44
2 5298 7.18 2.84 0.46
3 5496 8.73 3.46 0.49
5 5901 11.12 4.39 0.53
10 6906 18.20 7.20 0.65
57 16353 83.13 32.89 1.78

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 567 10.52 4.15 0.29
2 757 13.86 5.65 0.34
3 947 17.33 7.20 0.38
5 1320 24.65 10.44 0.48
10 2257 45.22 19.36 0.75
20 4134 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 22.17 8.68 0.42
2 114 671 33.85 13.39 0.55
3 171 782 43.98 17.64 0.67
4 227 893 59.17 23.91 0.84
5 284 1004 72.39 29.54 0.99
6 340 1116 88.95 36.54 1.18

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 654 17.91 7.87 0.38
2 767 19.01 9.03 0.40
3 905 19.94 10.06 0.42
5 1233 23.44 12.87 0.49
10 2180 35.01 21.05 0.68
50 7900 98.70 75.05 1.84

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 640 20.11 9.03 0.41
2 741 21.15 10.09 0.43
3 983 23.37 12.15 0.47
5 1312 26.63 15.28 0.53
10 1971 34.20 22.52 0.68
50 8152 99.33 84.66 1.92

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 676 25.93 11.14 0.47
2 873 28.03 12.98 0.51
3 978 29.49 14.20 0.53
5 1234 32.99 17.20 0.60
10 1918 42.27 25.08 0.76
40 6432 98.70 73.61 1.76

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 4975 17.36 7.55 0.56
2 5123 28.50 12.50 0.70
3 5274 42.73 18.91 0.86
4 5244 51.26 22.48 0.96
5 5496 75.84 33.69 1.25
6 5679 89.50 39.69 1.41

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 56 4967 8.63 3.88 0.47
5 5 285 5105 13.35 6.81 0.53
5 10 568 5272 19.01 10.37 0.61
5 20 1139 5613 30.52 17.57 0.77
5 30 1709 5956 41.45 24.52 0.92
5 40 2275 6292 52.98 31.73 1.08
5 50 2844 6630 64.51 38.94 1.24
5 81 4609 7683 99.08 60.82 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-03 06:50:47.468108877 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.600756993
P99 7.329553749999991ms
P95 5.73480845ms
P50 4.4428395ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.771906137
P99 112.88641669000008ms
P95 29.278779499999995ms
P50 20.547936ms
Number of Invalid txs 0

Copy link

github-actions bot commented Oct 3, 2024

Test Results

503 tests  ±0   497 ✅ ±0   22m 53s ⏱️ + 1m 2s
160 suites ±0     6 💤 ±0 
  7 files   ±0     0 ❌ ±0 

Results for commit 91d3e73. ± 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