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

Hotfix for a warning that was somehow missed #1781

Merged
merged 2 commits into from
Jan 13, 2025

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Jan 10, 2025

This was causing nix flake check to fail.

@noonio noonio requested a review from a team January 10, 2025 15:45
Copy link

github-actions bot commented Jan 10, 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 - $${\color{green}-0.39}$$ $${\color{green}-0.09}$$ -
2 - - - -
3 - +0.38 +0.09 -
5 - - - -
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 10, 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-10 16:23:42.253815575 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.41 3.33 0.53
2 6366 12.60 4.03 0.56
3 6564 14.09 4.46 0.59
5 6969 18.36 5.81 0.65
10 7975 28.76 9.09 0.80
44 14808 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 743 3.38 1.73 0.22
3 917 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2177 12.13 7.25 0.40
54 10052 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 114 636 32.01 9.33 0.50
3 170 751 40.12 11.71 0.59
4 228 858 47.87 13.94 0.68
5 284 969 55.66 16.15 0.76
6 339 1081 65.73 18.98 0.87
7 395 1192 86.78 24.46 1.08
8 449 1303 82.44 23.83 1.05
9 505 1414 96.58 27.72 1.19
10 560 1525 98.43 28.39 1.22

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1795 24.13 8.03 0.48
2 1920 25.18 9.05 0.50
3 2017 25.64 9.81 0.52
5 2345 29.39 12.41 0.58
10 3083 39.30 18.98 0.74
42 7934 96.34 59.30 1.71

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 597 22.68 7.31 0.41
2 805 25.14 8.67 0.45
3 951 27.98 10.12 0.49
5 1188 29.58 11.92 0.53
10 2062 39.96 18.16 0.69
42 6742 98.60 55.92 1.65

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 702 26.95 8.72 0.46
2 774 30.32 10.35 0.50
3 992 30.91 11.38 0.53
5 1248 34.21 13.75 0.58
10 2037 43.57 20.24 0.74
39 6498 98.99 58.40 1.66

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 675 33.31 10.41 0.52
2 768 34.69 11.39 0.55
3 997 37.86 13.24 0.60
5 1219 41.21 15.49 0.65
10 2107 53.59 23.17 0.84
31 5156 98.12 51.54 1.54

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 5967 22.37 7.44 0.65
2 6256 35.42 12.06 0.80
3 6247 40.30 13.59 0.85
4 6381 48.59 16.41 0.94
5 6658 62.14 21.10 1.10
6 6667 66.95 22.62 1.15
7 6960 81.23 27.59 1.31
8 7032 86.29 29.28 1.37

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 1 57 6197 19.62 6.80 0.63
10 30 1709 7184 76.79 29.78 1.30
10 41 2336 7557 98.71 38.58 1.56

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-10 16:26:32.641555981 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 5.477673283
P99 13.199779189999996ms
P95 7.7137257ms
P50 5.1674264999999995ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.908484661
P99 118.47470564999999ms
P95 31.092412749999973ms
P50 21.142654999999998ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jan 10, 2025

Test Results

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

Results for commit b9684cb. ± Comparison against base commit 1fc5257.

♻️ This comment has been updated with latest results.

@locallycompact locallycompact added this pull request to the merge queue Jan 13, 2025
Merged via the queue into master with commit e7252f8 Jan 13, 2025
27 checks passed
@locallycompact locallycompact deleted the hotfix-nix-flake-check branch January 13, 2025 10:53
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.

2 participants