cardano-scaling / hydra

Implementation of the Hydra Head protocol
https://hydra.family/head-protocol/
Apache License 2.0
274 stars 84 forks source link

Update changelog to reflect latest changes #1564

Closed ch1bo closed 4 weeks ago

ch1bo commented 1 month ago

Added landing page entry and TLS support was only added after 0.18.0

Also removed old update instructions from changelog.


github-actions[bot] commented 1 month ago

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-08-15 12:34:33.048091591 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 bd9fad235c871fb7f837c767593018a84be3083ff80f9dab5f1c55f9 10194
μHead c8038945816586c4d38926ee63bba67821eb863794220ebbd0bf79ee* 4607
Parties Tx size % max Mem % max CPU Min fee ₳
1 5186 5.93 2.35 0.44
2 5390 7.31 2.90 0.47
3 5591 8.78 3.48 0.49
5 5994 11.36 4.50 0.54
10 6998 18.21 7.20 0.66
56 16244 81.53 32.25 1.76

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 10.52 4.15 0.29
2 748 13.86 5.65 0.34
3 934 17.33 7.20 0.38
5 1313 24.65 10.44 0.48
10 2243 45.22 19.36 0.75
20 4115 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 549 21.46 8.41 0.41
2 113 659 32.17 12.77 0.53
3 170 773 45.13 18.08 0.68
4 226 879 61.33 24.70 0.86
5 282 989 72.31 29.50 0.99
6 338 1100 94.84 38.71 1.24

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 623 17.71 7.79 0.38
2 789 19.36 9.17 0.41
3 852 19.20 9.79 0.41
5 1282 25.08 13.55 0.51
10 2038 32.85 20.15 0.65
49 7674 96.71 73.51 1.80

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 643 21.02 9.41 0.42
2 790 22.49 10.82 0.44
3 972 24.22 12.50 0.48
5 1215 27.27 15.34 0.53
10 2115 36.18 23.72 0.71
49 7868 97.69 82.40 1.88

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 666 27.14 11.66 0.48
2 805 28.94 13.18 0.51
3 1016 31.10 15.04 0.55
5 1315 35.10 18.41 0.62
10 2069 44.70 26.61 0.79
40 6242 99.80 73.57 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 5088 17.36 7.56 0.57
2 5220 29.23 12.89 0.71
3 5277 37.68 16.47 0.81
4 5568 59.58 26.50 1.07
5 5637 77.00 34.29 1.27
6 5668 90.88 40.30 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 ₳
5 0 0 5022 7.36 3.11 0.45
5 1 56 5055 9.28 4.16 0.48
5 5 285 5193 13.41 6.84 0.54
5 10 569 5362 19.26 10.48 0.62
5 20 1141 5703 30.58 17.60 0.78
5 30 1710 6045 41.70 24.63 0.93
5 40 2277 6381 53.23 31.84 1.09
5 50 2845 6719 64.56 38.97 1.25
5 81 4609 7771 99.53 61.01 1.74

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-08-15 12:37:50.377266657 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.075074388
P99 11.082647499999984ms
P95 4.869109699999995ms
P50 3.8149024999999996ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 23.979892847
P99 118.57228373000001ms
P95 34.264525649999996ms
P50 20.716412ms
Number of Invalid txs 0
github-actions[bot] commented 1 month ago

Test Results

468 tests  ±0   461 :white_check_mark: ±0   17m 46s :stopwatch: +21s 149 suites ±0     7 :zzz: ±0    5 files   ±0     0 :x: ±0 

Results for commit 67a55e27. ± Comparison against base commit 97897dee.

:recycle: This comment has been updated with latest results.