-
Notifications
You must be signed in to change notification settings - Fork 88
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 functions #1762
Remove unused functions #1762
Conversation
Transaction cost differencesNo cost or size differences found |
Transaction costsSizes and execution budgets for Hydra protocol transactions. Note that unlisted parameters are currently using
Script summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 11717 | 9.25 | 3.04 | 0.76 |
2 | 11916 | 10.94 | 3.58 | 0.79 |
3 | 12117 | 12.38 | 4.03 | 0.81 |
5 | 12521 | 16.50 | 5.41 | 0.87 |
10 | 13527 | 24.59 | 7.99 | 1.00 |
24 | 16343 | 49.13 | 15.96 | 1.38 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 561 | 2.45 | 1.17 | 0.20 |
2 | 740 | 3.40 | 1.74 | 0.22 |
3 | 919 | 4.39 | 2.34 | 0.24 |
5 | 1282 | 6.46 | 3.61 | 0.29 |
10 | 2168 | 12.24 | 7.28 | 0.40 |
54 | 10072 | 99.20 | 68.72 | 1.89 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 560 | 24.83 | 7.22 | 0.43 |
2 | 114 | 671 | 33.79 | 9.76 | 0.52 |
3 | 169 | 782 | 39.57 | 11.52 | 0.59 |
4 | 227 | 893 | 49.75 | 14.35 | 0.69 |
5 | 283 | 1004 | 60.37 | 17.31 | 0.81 |
6 | 340 | 1116 | 65.69 | 19.05 | 0.87 |
7 | 395 | 1227 | 85.50 | 24.17 | 1.07 |
8 | 448 | 1342 | 82.40 | 23.87 | 1.05 |
9 | 506 | 1453 | 96.31 | 27.44 | 1.19 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 646 | 22.63 | 7.31 | 0.41 |
2 | 763 | 23.76 | 8.30 | 0.44 |
3 | 863 | 23.84 | 8.96 | 0.45 |
5 | 1168 | 28.47 | 11.61 | 0.52 |
10 | 1822 | 34.96 | 16.75 | 0.63 |
45 | 7047 | 97.87 | 57.76 | 1.67 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 673 | 24.38 | 8.03 | 0.43 |
2 | 786 | 25.94 | 9.18 | 0.46 |
3 | 956 | 28.11 | 10.62 | 0.50 |
5 | 1293 | 31.71 | 13.21 | 0.56 |
10 | 2049 | 40.73 | 19.60 | 0.71 |
43 | 6808 | 96.13 | 59.94 | 1.66 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 695 | 30.47 | 9.65 | 0.50 |
2 | 841 | 32.31 | 10.89 | 0.53 |
3 | 988 | 34.70 | 12.38 | 0.56 |
5 | 1436 | 39.65 | 15.49 | 0.65 |
10 | 1944 | 48.32 | 21.35 | 0.78 |
34 | 5759 | 99.99 | 54.57 | 1.60 |
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 | 11631 | 25.67 | 8.74 | 0.93 |
2 | 11706 | 31.13 | 10.54 | 0.99 |
3 | 11881 | 43.30 | 14.77 | 1.13 |
4 | 11968 | 48.81 | 16.57 | 1.19 |
5 | 12205 | 61.51 | 21.00 | 1.34 |
6 | 12221 | 66.02 | 22.49 | 1.38 |
7 | 12348 | 75.90 | 25.80 | 1.49 |
8 | 12484 | 84.44 | 28.75 | 1.59 |
9 | 12869 | 99.60 | 34.03 | 1.77 |
10 | 12529 | 97.09 | 32.89 | 1.72 |
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 | 11714 | 17.34 | 5.93 | 0.85 |
10 | 1 | 57 | 11748 | 19.19 | 6.70 | 0.87 |
10 | 5 | 285 | 11884 | 27.12 | 9.93 | 0.96 |
10 | 10 | 568 | 12053 | 37.32 | 14.09 | 1.08 |
10 | 20 | 1139 | 12393 | 54.54 | 21.23 | 1.29 |
10 | 30 | 1707 | 12733 | 72.91 | 28.78 | 1.51 |
10 | 40 | 2277 | 13073 | 90.87 | 36.19 | 1.72 |
10 | 44 | 2505 | 13209 | 98.28 | 39.24 | 1.81 |
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-12-17 14:09:02.445530309 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 3.888677020 |
P99 | 7.069562449999987ms |
P95 | 4.474042450000001ms |
P50 | 3.7419314999999997ms |
Number of Invalid txs | 0 |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 23.314100513 |
P99 | 118.09942983ms |
P95 | 32.08553775ms |
P50 | 20.273186ms |
Number of Invalid txs | 0 |
a7591dc
to
cf7893f
Compare
db28f63
to
a9b4b63
Compare
…onsistent, unwrapAddress
9ee86e6
to
6f939f4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Every function that is not used in this codebase has been removed, with the few exceptions listed in the weeder roots.
A weeder check has been added to ensure no unused functions sneak back in.
Anything that is actually really needed can either be readded from history, or upstreamed to a library or form a new library so that it can be discovered in hoogle.