-
Notifications
You must be signed in to change notification settings - Fork 87
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
cardano-api: 10.8 #1822
base: master
Are you sure you want to change the base?
cardano-api: 10.8 #1822
Conversation
f151a8a
to
8df98b8
Compare
Transaction cost differencesScript summary
|
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
40 | - | - | - | - |
Commit
transaction costs
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
54 | - | - | - | - |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | - | - | - | - | - |
2 | - | - | - | - | - |
3 | - | - | - | - | - |
4 | - | - | - | - | - |
5 | - | - | - | - | - |
6 | - | - | - | - | - |
7 | - | - | - | - | - |
8 | - | - | - | - | - |
Cost of Increment Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | ||
10 | - | - | - | - |
37 | - | - | - | - |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
40 | - | - | - | - |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
34 | - | - | - | - |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | - | - | - | - |
2 | - | - | - | - |
3 | - | - | - | - |
5 | - | - | - | - |
10 | - | - | - | - |
27 | - | - | - | - |
FanOut
transaction costs
UTxO, Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
(0, 10) | - | - | - | - | - |
(1, 10) | - | - | - | - | - |
(5, 10) | - | - | - | - | - |
(10, 10) | - | - | - | - | - |
(20, 10) | - | - | - | - | - |
(37, 10) | - | - | - | - | - |
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 | 6093 | 11.23 | 3.50 | 0.53 |
2 | 6292 | 13.26 | 4.11 | 0.56 |
3 | 6496 | 15.50 | 4.80 | 0.60 |
5 | 6897 | 20.38 | 6.31 | 0.66 |
10 | 7903 | 31.45 | 9.70 | 0.82 |
40 | 13935 | 98.18 | 30.14 | 1.77 |
Commit
transaction costs
This uses ada-only outputs for better comparability.
UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 561 | 2.44 | 1.16 | 0.20 |
2 | 740 | 3.38 | 1.73 | 0.22 |
3 | 923 | 4.36 | 2.33 | 0.24 |
5 | 1281 | 6.41 | 3.60 | 0.28 |
10 | 2174 | 12.13 | 7.25 | 0.40 |
54 | 10054 | 98.61 | 68.52 | 1.88 |
CollectCom
transaction costs
Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|---|
1 | 57 | 525 | 25.64 | 7.39 | 0.43 |
2 | 113 | 636 | 34.81 | 9.96 | 0.53 |
3 | 169 | 747 | 43.43 | 12.42 | 0.62 |
4 | 226 | 858 | 55.10 | 15.60 | 0.75 |
5 | 283 | 969 | 65.74 | 18.60 | 0.86 |
6 | 338 | 1081 | 69.06 | 19.72 | 0.90 |
7 | 394 | 1192 | 80.28 | 22.84 | 1.02 |
Cost of Increment Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 1827 | 25.03 | 8.23 | 0.49 |
2 | 1886 | 26.01 | 9.09 | 0.51 |
3 | 2051 | 28.34 | 10.57 | 0.55 |
5 | 2483 | 35.17 | 14.19 | 0.65 |
10 | 3153 | 42.87 | 19.94 | 0.78 |
38 | 7325 | 99.94 | 56.88 | 1.69 |
Cost of Decrement Transaction
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 605 | 23.99 | 7.61 | 0.43 |
2 | 688 | 23.80 | 8.20 | 0.43 |
3 | 926 | 28.33 | 10.14 | 0.49 |
5 | 1163 | 29.72 | 11.83 | 0.53 |
10 | 1857 | 38.86 | 17.68 | 0.67 |
37 | 5952 | 93.76 | 50.83 | 1.54 |
Close
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 681 | 29.15 | 9.20 | 0.48 |
2 | 804 | 30.98 | 10.43 | 0.51 |
3 | 906 | 32.15 | 11.35 | 0.53 |
5 | 1287 | 40.11 | 15.32 | 0.64 |
10 | 2063 | 51.01 | 22.17 | 0.81 |
34 | 5639 | 97.48 | 53.30 | 1.57 |
Contest
transaction costs
Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
---|---|---|---|---|
1 | 691 | 35.95 | 11.00 | 0.55 |
2 | 816 | 38.11 | 12.32 | 0.58 |
3 | 895 | 39.54 | 13.31 | 0.61 |
5 | 1157 | 43.85 | 15.93 | 0.67 |
10 | 2033 | 57.20 | 23.67 | 0.87 |
27 | 4645 | 99.83 | 48.53 | 1.51 |
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 | 5980 | 28.29 | 9.32 | 0.71 |
2 | 6090 | 37.48 | 12.34 | 0.81 |
3 | 6314 | 47.92 | 15.85 | 0.93 |
4 | 6452 | 58.03 | 19.23 | 1.04 |
5 | 6530 | 66.79 | 22.08 | 1.14 |
6 | 6521 | 71.39 | 23.45 | 1.18 |
7 | 6905 | 89.44 | 29.59 | 1.39 |
8 | 6874 | 92.96 | 30.67 | 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 ₳ |
---|---|---|---|---|---|---|
10 | 0 | 0 | 6091 | 20.12 | 6.62 | 0.63 |
10 | 1 | 57 | 6125 | 21.99 | 7.36 | 0.65 |
10 | 5 | 285 | 6262 | 30.31 | 10.59 | 0.75 |
10 | 10 | 568 | 6429 | 42.34 | 15.19 | 0.88 |
10 | 20 | 1139 | 6771 | 61.34 | 22.68 | 1.11 |
10 | 30 | 1709 | 7112 | 84.03 | 31.40 | 1.37 |
10 | 37 | 2107 | 7349 | 99.86 | 37.50 | 1.55 |
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 2025-03-13 14:43:18.510204826 UTC
Baseline Scenario
Number of nodes | 1 |
---|---|
Number of txs | 300 |
Avg. Confirmation Time (ms) | 4.942539813 |
P99 | 10.290459249999966ms |
P95 | 5.948639850000001ms |
P50 | 4.5419445ms |
Number of Invalid txs | 0 |
Memory data
Time | Used | Free |
---|---|---|
2025-03-13 14:42:02.390886671 UTC | 957M | 6125M |
2025-03-13 14:42:07.390934297 UTC | 1078M | 5924M |
2025-03-13 14:42:12.39083009 UTC | 1078M | 5924M |
2025-03-13 14:42:17.390961305 UTC | 1079M | 5922M |
2025-03-13 14:42:22.39092778 UTC | 1079M | 5922M |
2025-03-13 14:42:27.390839486 UTC | 1083M | 5918M |
Three local nodes
Number of nodes | 3 |
---|---|
Number of txs | 900 |
Avg. Confirmation Time (ms) | 29.479372286 |
P99 | 44.0290509ms |
P95 | 39.31127109999999ms |
P50 | 28.229003ms |
Number of Invalid txs | 0 |
Memory data
Time | Used | Free |
---|---|---|
2025-03-13 14:42:40.70405946 UTC | 1003M | 6007M |
2025-03-13 14:42:45.704436634 UTC | 1229M | 5781M |
2025-03-13 14:42:50.706004618 UTC | 1285M | 5669M |
2025-03-13 14:42:55.704272087 UTC | 1300M | 5597M |
2025-03-13 14:43:00.704252231 UTC | 1301M | 5595M |
2025-03-13 14:43:05.704318823 UTC | 1310M | 5586M |
2025-03-13 14:43:10.70424466 UTC | 1312M | 5584M |
2025-03-13 14:43:15.70440155 UTC | 1313M | 5582M |
Hitting some odd unification errors here: https://github.com/cardano-scaling/hydra/pull/1822/files#diff-a47a46fa048b3405a6cc5410518a90bc170b19c06ee8ae48f762b7e02b6fed27L133 |
8df98b8
to
85ef6b3
Compare
38b734d
to
6272519
Compare
@@ -1,3 +1,4 @@ | |||
{-# OPTIONS_GHC -Wno-deprecations #-} |
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.
I am stuck trying to fix these deprecation errors. We could merge with this to unblock other things.
d4b4f2d
to
25a5483
Compare
45a4323
to
7c106d4
Compare
No description provided.