Skip to content
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

filip(feat): add osano and ga #1788

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

fstoqnov-iohk
Copy link
Collaborator

No description provided.

Copy link

github-actions bot commented Jan 16, 2025

Transaction cost differences

Script summary

Name Size (Bytes)
νInitial -
νCommit -
νHead -
μHead -
νDeposit -

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
44 - - - -

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 - - - - -
9 - - - - -
10 - - - - -

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - +0.39 +0.09 -
2 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ $${\color{green}-0.01}$$
3 - $${\color{green}-0.38}$$ $${\color{green}-0.09}$$ -
5 - +0.39 +0.09 -
10 - $${\color{green}-0.38}$$ $${\color{green}-0.10}$$ -
43 - - - -

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
45 - - - -

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
41 - - - -

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
5 - - - -
10 - - - -
33 - - - -

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) - - - - -
(40, 10) - - - - -
(41, 10) - - - - -

Copy link

github-actions bot commented Jan 16, 2025

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 2025-01-16 12:33:25.956579162 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial c8a101a5c8ac4816b0dceb59ce31fc2258e387de828f02961d2f2045 2652
νCommit 61458bc2f297fff3cc5df6ac7ab57cefd87763b0b7bd722146a1035c 685
νHead 5350e9d521552ebfd9e846fd70c3b801f716fc14296134ec0fb71e97 14492
μHead 6b49dc4e571207d615dba01996548cb610b0caa85c30423d169d0091* 5612
νDeposit ae01dade3a9c346d5c93ae3ce339412b90a0b8f83f94ec6baa24e30c 1102
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per head.

Init transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 6164 10.33 3.30 0.53
2 6366 12.04 3.82 0.56
3 6567 14.26 4.52 0.59
5 6974 18.52 5.87 0.65
10 7972 28.59 9.03 0.80
44 14810 98.59 31.06 1.82

Commit transaction costs

This uses ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 2.44 1.16 0.20
2 742 3.38 1.73 0.22
3 923 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2165 12.13 7.25 0.40
54 10051 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 25.00 7.26 0.43
2 113 636 31.97 9.32 0.50
3 170 747 43.60 12.50 0.63
4 227 858 51.96 14.92 0.72
5 283 969 62.76 17.94 0.83
6 340 1085 63.44 18.47 0.84
7 395 1192 77.97 22.30 0.99
8 449 1303 93.64 26.50 1.16
10 560 1525 96.92 28.04 1.20

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1806 24.13 8.03 0.48
2 1931 25.56 9.14 0.51
3 2059 26.61 10.18 0.53
5 2454 31.56 13.23 0.61
10 3097 38.72 18.84 0.74
45 8128 98.76 61.90 1.75

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 616 22.44 7.26 0.41
2 793 25.14 8.68 0.45
3 870 24.89 9.25 0.46
5 1205 29.75 11.96 0.53
10 1889 37.20 17.37 0.66
46 7095 98.42 58.56 1.68

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 683 27.03 8.73 0.46
2 826 28.68 9.92 0.49
3 978 32.75 11.88 0.54
5 1349 34.86 14.07 0.59
10 2098 46.36 21.14 0.77
39 6430 97.99 57.89 1.64

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 686 33.35 10.42 0.53
2 811 35.33 11.69 0.56
3 1014 37.86 13.24 0.60
5 1209 41.21 15.49 0.65
10 2023 52.71 22.73 0.83
33 5353 99.96 53.19 1.58

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 6058 26.08 8.83 0.69
2 6169 34.73 11.74 0.79
3 6249 40.02 13.49 0.85
4 6588 54.75 18.70 1.02
5 6745 64.74 22.11 1.13
6 6820 73.29 24.97 1.22
7 6941 82.10 27.88 1.32
8 6869 84.19 28.47 1.34

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 6163 17.09 5.81 0.60
10 1 57 6196 19.26 6.67 0.63
10 5 284 6331 27.82 10.09 0.73
10 10 569 6501 36.88 13.76 0.83
10 20 1140 6842 57.20 21.90 1.07
10 30 1709 7184 76.42 29.65 1.30
10 40 2277 7522 96.75 37.80 1.54
10 42 2393 7592 99.57 38.97 1.57

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-01-16 12:36:15.658505811 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.510332023
P99 10.122754959999996ms
P95 5.82677445ms
P50 4.2319515ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 24.587071111
P99 125.33108187999999ms
P95 31.273507799999994ms
P50 21.2985315ms
Number of Invalid txs 0

@fstoqnov-iohk fstoqnov-iohk requested a review from ch1bo January 16, 2025 12:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant