Change default contestation period and deposit deadline.#1932
Conversation
Signed-off-by: Sasha Bogicevic <sasha.bogicevic@iohk.io>
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.32 | 3.53 | 0.54 |
| 2 | 6294 | 13.26 | 4.11 | 0.56 |
| 3 | 6499 | 15.98 | 4.97 | 0.60 |
| 5 | 6897 | 20.25 | 6.27 | 0.66 |
| 10 | 7903 | 31.76 | 9.81 | 0.83 |
| 40 | 13933 | 98.88 | 30.39 | 1.78 |
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 | 743 | 3.38 | 1.73 | 0.22 |
| 3 | 922 | 4.36 | 2.33 | 0.24 |
| 5 | 1275 | 6.41 | 3.60 | 0.28 |
| 10 | 2176 | 12.13 | 7.25 | 0.40 |
| 54 | 10070 | 98.61 | 68.52 | 1.88 |
CollectCom transaction costs
| Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 1 | 57 | 525 | 25.67 | 7.41 | 0.43 |
| 2 | 113 | 636 | 34.88 | 9.99 | 0.53 |
| 3 | 170 | 747 | 45.78 | 12.98 | 0.65 |
| 4 | 227 | 858 | 56.38 | 15.94 | 0.76 |
| 5 | 284 | 974 | 63.82 | 18.07 | 0.84 |
| 6 | 340 | 1081 | 75.18 | 21.22 | 0.96 |
| 7 | 395 | 1192 | 76.20 | 21.86 | 0.98 |
| 8 | 449 | 1303 | 93.52 | 26.35 | 1.15 |
Cost of Increment Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 1802 | 25.03 | 8.22 | 0.49 |
| 2 | 1882 | 25.63 | 9.00 | 0.51 |
| 3 | 2102 | 29.67 | 11.02 | 0.56 |
| 5 | 2380 | 33.01 | 13.39 | 0.62 |
| 10 | 3173 | 43.94 | 20.32 | 0.79 |
| 39 | 7348 | 97.89 | 56.77 | 1.67 |
Cost of Decrement Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 623 | 23.95 | 7.61 | 0.43 |
| 2 | 724 | 25.62 | 8.73 | 0.45 |
| 3 | 827 | 25.35 | 9.29 | 0.46 |
| 5 | 1239 | 33.04 | 12.76 | 0.56 |
| 10 | 1937 | 42.19 | 18.61 | 0.71 |
| 37 | 5921 | 94.61 | 51.04 | 1.54 |
Close transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 644 | 30.87 | 9.66 | 0.50 |
| 2 | 817 | 30.94 | 10.42 | 0.51 |
| 3 | 970 | 32.78 | 11.65 | 0.54 |
| 5 | 1348 | 37.80 | 14.73 | 0.62 |
| 10 | 2061 | 48.17 | 21.41 | 0.78 |
| 33 | 5283 | 97.21 | 51.95 | 1.54 |
Contest transaction costs
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 672 | 35.95 | 11.00 | 0.55 |
| 2 | 811 | 38.19 | 12.33 | 0.58 |
| 3 | 984 | 41.03 | 13.95 | 0.63 |
| 5 | 1398 | 46.69 | 17.20 | 0.71 |
| 10 | 2130 | 58.65 | 24.31 | 0.89 |
| 27 | 4720 | 99.99 | 48.71 | 1.52 |
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 | 5975 | 28.20 | 9.30 | 0.71 |
| 2 | 6098 | 37.59 | 12.38 | 0.81 |
| 3 | 6211 | 44.44 | 14.64 | 0.89 |
| 4 | 6363 | 54.03 | 17.80 | 1.00 |
| 5 | 6563 | 67.78 | 22.40 | 1.15 |
| 6 | 6645 | 73.88 | 24.38 | 1.22 |
| 7 | 6835 | 88.05 | 29.11 | 1.37 |
| 8 | 6892 | 90.03 | 29.66 | 1.39 |
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 | 18.75 | 6.15 | 0.61 |
| 10 | 1 | 57 | 6125 | 22.45 | 7.51 | 0.66 |
| 10 | 5 | 285 | 6262 | 31.23 | 10.90 | 0.76 |
| 10 | 10 | 569 | 6430 | 41.15 | 14.79 | 0.87 |
| 10 | 20 | 1137 | 6768 | 62.26 | 22.99 | 1.12 |
| 10 | 30 | 1705 | 7108 | 83.57 | 31.25 | 1.36 |
| 10 | 35 | 1994 | 7283 | 95.60 | 35.85 | 1.50 |
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-04-08 08:18:10.406352263 UTC
Baseline Scenario
| Number of nodes | 1 |
|---|---|
| Number of txs | 300 |
| Avg. Confirmation Time (ms) | 4.635155180 |
| P99 | 8.061802229999998ms |
| P95 | 5.441420700000001ms |
| P50 | 4.45426ms |
| Number of Invalid txs | 0 |
Memory data
| Time | Used | Free |
|---|---|---|
| 2025-04-08 08:16:53.719337136 UTC | 887M | 6560M |
| 2025-04-08 08:16:58.719468361 UTC | 1024M | 6326M |
| 2025-04-08 08:17:03.719352252 UTC | 1025M | 6324M |
| 2025-04-08 08:17:08.719322164 UTC | 1024M | 6324M |
| 2025-04-08 08:17:13.719258233 UTC | 1026M | 6322M |
| 2025-04-08 08:17:18.719342183 UTC | 1026M | 6322M |
Three local nodes
| Number of nodes | 3 |
|---|---|
| Number of txs | 900 |
| Avg. Confirmation Time (ms) | 28.334316341 |
| P99 | 50.74566637ms |
| P95 | 37.8301077ms |
| P50 | 27.0986755ms |
| Number of Invalid txs | 0 |
Memory data
| Time | Used | Free |
|---|---|---|
| 2025-04-08 08:17:32.698963781 UTC | 932M | 6425M |
| 2025-04-08 08:17:37.699038276 UTC | 1205M | 6151M |
| 2025-04-08 08:17:42.703198705 UTC | 1259M | 6039M |
| 2025-04-08 08:17:47.69900648 UTC | 1267M | 5978M |
| 2025-04-08 08:17:52.698997106 UTC | 1269M | 5976M |
| 2025-04-08 08:17:57.69907029 UTC | 1272M | 5973M |
| 2025-04-08 08:18:02.699045715 UTC | 1272M | 5971M |
| 2025-04-08 08:18:07.699039171 UTC | 1274M | 5969M |
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 | - | +0.39 | +0.09 | - |
| 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) | - | - | - | - | - |
Uh oh!
There was an error while loading. Please reload this page.