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

Drop nixpkgsLatest in favour of haskellNix/nixpkgs #1783

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

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 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ -
2 - - - -
3 - - - -
5 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ -
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

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-13 13:13:46.869010551 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 6165 10.00 3.17 0.53
2 6365 12.04 3.82 0.56
3 6566 14.26 4.52 0.59
5 6966 18.52 5.87 0.65
10 7975 28.76 9.09 0.80
44 14810 98.38 30.98 1.82

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 741 3.38 1.73 0.22
3 920 4.36 2.33 0.24
5 1283 6.41 3.60 0.28
10 2168 12.13 7.25 0.40
54 10021 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 24.20 7.07 0.42
2 114 636 31.94 9.30 0.50
3 169 751 43.28 12.42 0.62
4 227 862 50.88 14.69 0.71
5 282 969 60.62 17.36 0.81
6 337 1081 70.98 20.19 0.92
7 393 1192 83.73 23.63 1.05
8 450 1307 87.38 25.05 1.09

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1789 23.75 7.93 0.48
2 1926 25.56 9.15 0.51
3 2017 25.68 9.82 0.52
5 2413 31.41 13.11 0.60
10 3211 41.16 19.71 0.77
42 8064 98.60 60.26 1.74

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 604 22.40 7.25 0.41
2 739 23.93 8.34 0.44
3 873 24.93 9.26 0.46
5 1351 31.88 12.56 0.56
10 1872 37.00 17.32 0.66
44 6944 99.10 57.39 1.67

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 640 28.57 9.14 0.48
2 736 29.71 10.07 0.50
3 1002 32.67 11.87 0.54
5 1177 35.59 13.99 0.59
10 2094 44.09 20.51 0.75
39 6406 96.35 57.29 1.62

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 694 33.35 10.43 0.53
2 830 35.25 11.68 0.56
3 899 36.69 12.67 0.58
5 1263 41.73 15.76 0.66
10 1955 52.10 22.43 0.82
31 5235 98.93 51.84 1.55

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 6062 26.21 8.86 0.69
2 6130 31.51 10.60 0.75
3 6240 42.22 14.23 0.87
4 6444 52.90 17.97 0.99
5 6564 58.51 19.76 1.05
6 6733 70.78 24.00 1.19
7 6835 80.04 27.05 1.29
8 6899 87.29 29.49 1.37
9 6981 93.81 31.63 1.44

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 6162 17.30 5.88 0.60
10 1 57 6196 20.35 7.07 0.64
10 5 285 6333 27.25 9.88 0.72
10 10 568 6501 36.52 13.62 0.83
10 20 1137 6840 56.83 21.77 1.07
10 30 1709 7184 76.79 29.78 1.30
10 42 2392 7591 99.94 39.10 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-13 13:16:42.645359941 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.140793696
P99 10.551400090000001ms
P95 4.9235367000000005ms
P50 3.899194ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 22.376143207
P99 38.58172059999999ms
P95 30.45726095ms
P50 20.8809675ms
Number of Invalid txs 0

Copy link

Test Results

  5 files  ±0  165 suites  ±0   31m 45s ⏱️ + 1m 32s
561 tests ±0  559 ✅ ±0  2 💤 ±0  0 ❌ ±0 
563 runs  ±0  561 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit 208b92b. ± Comparison against base commit e7252f8.

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