cardano-scaling / hydra

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

Upgrade explorer cardano-node with conway support #1550

Closed ffakenz closed 1 month ago

ffakenz commented 1 month ago

github-actions[bot] commented 1 month ago

Test Results

464 tests  ±0   457 :white_check_mark: ±0   16m 46s :stopwatch: -9s 149 suites ±0     7 :zzz: ±0    5 files   ±0     0 :x: ±0 

Results for commit 4f14feed. ± Comparison against base commit 1754effe.

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-06 12:28:37.23422006 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.69 2.25 0.44
2 5389 6.99 2.76 0.46
3 5588 8.46 3.34 0.49
5 5991 11.49 4.55 0.54
10 6999 18.34 7.26 0.66
56 16246 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 556 10.52 4.15 0.29
2 742 13.86 5.65 0.34
3 935 17.33 7.20 0.38
5 1301 24.65 10.44 0.48
10 2246 45.22 19.36 0.75
20 4123 95.99 40.76 1.40

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 549 22.14 8.66 0.42
2 113 659 32.95 13.05 0.54
3 171 769 47.47 18.95 0.70
4 227 879 62.66 25.19 0.88
5 282 989 73.70 30.02 1.01
6 339 1104 92.90 37.98 1.22

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 626 17.67 7.77 0.38
2 776 19.33 9.15 0.41
3 1014 22.28 11.02 0.45
5 1111 21.93 12.31 0.47
10 2091 35.13 21.08 0.68
49 8105 99.81 74.57 1.85

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 655 21.02 9.41 0.42
2 797 22.45 10.81 0.44
3 969 24.22 12.50 0.48
5 1188 26.82 15.00 0.53
10 2028 35.42 23.07 0.69
50 7864 98.68 83.22 1.89

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 691 27.14 11.67 0.48
2 809 28.93 13.17 0.51
3 941 30.74 14.70 0.55
5 1283 34.68 18.09 0.62
10 2080 44.47 26.52 0.79
38 6229 97.40 71.74 1.73

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 5061 17.36 7.55 0.57
2 5204 28.36 12.44 0.70
3 5245 40.61 17.82 0.84
4 5498 54.98 24.34 1.01
5 5613 77.35 34.41 1.27
6 5823 98.82 44.10 1.52

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 5023 8.23 3.49 0.46
5 1 57 5056 8.88 3.99 0.47
5 5 285 5192 13.41 6.84 0.54
5 10 569 5362 18.87 10.31 0.61
5 20 1139 5702 30.58 17.60 0.78
5 30 1707 6042 41.90 24.72 0.93
5 40 2277 6381 53.03 31.76 1.09
5 50 2844 6719 64.76 39.06 1.25
5 81 4611 7772 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-06 12:00:49.160494547 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.549481405
P99 11.158035109999977ms
P95 5.115880849999991ms
P50 4.0004159999999995ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 23.043646781
P99 97.11963571000081ms
P95 32.15018405ms
P50 20.65918ms
Number of Invalid txs 0