hydra
hydra copied to clipboard
Upgrade to GHC 9.6.5
- [x] CHANGELOG updated or not needed
- [x] Documentation updated or not needed
- [x] Haddocks updated or not needed
- [x] No new TODOs introduced or explained herafter
Transactions 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-05-21 08:09:03.829782144 UTC |
| Max. memory units | 14000000 |
| Max. CPU units | 10000000000 |
| Max. tx size (kB) | 16384 |
Script summary
| Name | Hash | Size (Bytes) |
|---|---|---|
| νInitial | bccf2a430c016bc960fbf31b02694011cd399d20da8882aac9d33611 | 4110 |
| νCommit | 56b0f0b597150e619c76bed60683f3b1e42d7bc0685ed951b882bfc5 | 1975 |
| νHead | 86bff95ba20e9d1d1b34899a56d86bbacc9fed999260b27dcc92d128 | 9351 |
| μHead | 88f533cf67cd0fc93d7d9ccf0a8b1d69ffd1208a825efbebbc1d36ba* | 4213 |
- The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per Head.
Cost of Init Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 4792 | 8.89 | 3.40 | 0.46 |
| 2 | 4995 | 10.61 | 4.05 | 0.49 |
| 3 | 5194 | 12.76 | 4.89 | 0.52 |
| 5 | 5599 | 16.64 | 6.37 | 0.58 |
| 10 | 6605 | 26.46 | 10.15 | 0.73 |
| 48 | 14245 | 99.87 | 38.32 | 1.86 |
Cost of Commit Transaction
This is using ada-only outputs for better comparability.
| UTxO | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 559 | 10.24 | 4.04 | 0.29 |
| 2 | 749 | 13.88 | 5.64 | 0.34 |
| 3 | 933 | 17.66 | 7.29 | 0.39 |
| 5 | 1313 | 25.66 | 10.74 | 0.49 |
| 10 | 2245 | 48.19 | 20.30 | 0.78 |
| 19 | 3934 | 97.83 | 40.79 | 1.41 |
Cost of CollectCom Transaction
| Parties | UTxO (bytes) | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|---|
| 1 | 57 | 544 | 16.88 | 6.67 | 0.36 |
| 2 | 113 | 654 | 27.48 | 10.93 | 0.48 |
| 3 | 171 | 764 | 39.89 | 15.99 | 0.62 |
| 4 | 226 | 874 | 50.69 | 20.56 | 0.75 |
| 5 | 281 | 988 | 69.74 | 28.26 | 0.96 |
| 6 | 339 | 1095 | 82.00 | 33.61 | 1.10 |
Cost of Close Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 549 | 7.85 | 4.25 | 0.27 |
| 2 | 688 | 8.51 | 5.29 | 0.29 |
| 3 | 922 | 10.16 | 7.08 | 0.32 |
| 5 | 1193 | 11.44 | 9.16 | 0.36 |
| 10 | 1974 | 16.10 | 15.41 | 0.48 |
| 50 | 7865 | 48.02 | 61.54 | 1.33 |
Cost of Contest Transaction
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 654 | 8.65 | 4.75 | 0.28 |
| 2 | 758 | 9.38 | 5.80 | 0.30 |
| 3 | 900 | 10.11 | 6.88 | 0.32 |
| 5 | 1223 | 11.97 | 9.36 | 0.37 |
| 10 | 2063 | 16.88 | 15.85 | 0.49 |
| 50 | 8069 | 51.38 | 63.28 | 1.38 |
Cost of Abort Transaction
Some variation because of random mixture of still initial and already committed outputs.
| Parties | Tx size | % max Mem | % max CPU | Min fee ₳ |
|---|---|---|---|---|
| 1 | 4661 | 17.09 | 7.39 | 0.55 |
| 2 | 4851 | 28.82 | 12.64 | 0.69 |
| 3 | 4948 | 42.54 | 18.66 | 0.85 |
| 4 | 5124 | 58.80 | 25.93 | 1.04 |
| 5 | 5270 | 77.90 | 34.31 | 1.26 |
| 6 | 5215 | 85.63 | 37.45 | 1.34 |
Cost of FanOut Transaction
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 | 4628 | 7.43 | 3.10 | 0.44 |
| 5 | 1 | 58 | 4662 | 9.00 | 3.99 | 0.46 |
| 5 | 5 | 285 | 4798 | 13.40 | 6.75 | 0.52 |
| 5 | 10 | 570 | 4968 | 19.79 | 10.58 | 0.61 |
| 5 | 20 | 1139 | 5307 | 30.90 | 17.53 | 0.76 |
| 5 | 30 | 1707 | 5646 | 42.22 | 24.58 | 0.92 |
| 5 | 40 | 2278 | 5987 | 53.96 | 31.81 | 1.08 |
| 5 | 50 | 2845 | 6324 | 65.71 | 39.04 | 1.24 |
| 5 | 79 | 4495 | 7307 | 98.79 | 59.60 | 1.70 |
End-To-End Benchmark Results
This page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest master code.
Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes.
Generated at 2024-05-21 08:12:31.024152853 UTC
Baseline Scenario
| Number of nodes | 1 |
|---|---|
| Number of txs | 3000 |
| Avg. Confirmation Time (ms) | 4.580417575 |
| P99 | 9.239153949999983ms |
| P95 | 6.255709099999995ms |
| P50 | 4.3364445ms |
| Number of Invalid txs | 0 |
Three local nodes
| Number of nodes | 3 |
|---|---|
| Number of txs | 9000 |
| Avg. Confirmation Time (ms) | 22.594508191 |
| P99 | 108.69454836000014ms |
| P95 | 31.2311049ms |
| P50 | 20.317985999999998ms |
| Number of Invalid txs | 0 |
Test Results
427 tests ±0 419 :white_check_mark: ±0 14m 59s :stopwatch: - 1m 11s 139 suites ±0 8 :zzz: ±0 2 files ±0 0 :x: ±0
Results for commit cc2243ea. ± Comparison against base commit 414c111b.
:recycle: This comment has been updated with latest results.