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

Use hydraPackages to get the right version #1771

Merged
merged 1 commit into from
Jan 2, 2025

Conversation

noonio
Copy link
Contributor

@noonio noonio commented Jan 2, 2025

Some nice hacking with @ffakenz to tidy up which binaries we get in the exes shell :)

We did this so that the versions that come through in the nix develop .#exes shell have the revision (or dirty) correctly embedded.

@noonio noonio requested a review from ffakenz January 2, 2025 15:43
Copy link

github-actions bot commented Jan 2, 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 - - - - -

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - $${\color{green}-0.38}$$ $${\color{green}-0.09}$$ -
3 - - - -
5 - - - -
10 - +0.39 +0.09 -
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 - - - -

Abort transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 - - - -
2 - - - -
3 - - - -
4 - - - -
5 - - - -
6 - - - -
7 - - - -
8 - - - -
9 - - - -
10 - - - -

Copy link

github-actions bot commented Jan 2, 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-02 15:44:58.794947529 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial 00a6ddbc130ab92f5b7cb8d1ccd8d79eca5bfe25f6843c07b62841f0 2667
νCommit 3e5a776bcee213e3dfd15806952a10ac5590e3e97d09d62eb99266b2 690
νHead 5350e9d521552ebfd9e846fd70c3b801f716fc14296134ec0fb71e97 14495
μHead 482c3ce15cde05bc905b915ccfa2546e500be1c5d722389026c37aa3* 5615
νDeposit de09cec5f84eedaf64186cb52ba4ee6e74e6fc368af25b90d457f352 1118
  • 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 6199 10.31 3.29 0.53
2 6404 12.45 3.97 0.56
3 6602 14.16 4.49 0.59
5 7003 18.43 5.84 0.65
10 8010 28.98 9.18 0.80
44 14845 98.28 30.94 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.45 1.17 0.20
2 739 3.40 1.74 0.22
3 923 4.39 2.34 0.24
5 1276 6.46 3.61 0.28
10 2175 12.24 7.28 0.40
54 10046 99.20 68.72 1.89

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 25.04 7.27 0.43
2 114 671 33.06 9.59 0.52
3 168 782 40.76 11.82 0.60
4 226 893 49.00 14.16 0.69
5 284 1004 55.69 16.15 0.76
6 338 1116 69.80 20.03 0.91
7 394 1227 72.20 21.01 0.94
8 451 1338 88.98 25.33 1.11
9 507 1449 90.28 26.15 1.13

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1837 23.75 7.93 0.48
2 2037 26.61 9.54 0.52
3 2066 25.65 9.81 0.52
5 2519 31.87 13.36 0.61
10 3286 40.73 19.63 0.77
41 7675 93.08 57.36 1.65

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 633 22.40 7.25 0.41
2 731 22.43 7.89 0.42
3 863 23.96 8.99 0.45
5 1285 30.44 12.16 0.54
10 2019 39.71 18.09 0.69
45 7111 98.91 58.05 1.68

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 717 26.99 8.72 0.46
2 879 28.64 9.92 0.49
3 996 32.67 11.85 0.54
5 1403 37.34 14.86 0.62
10 2043 42.92 19.95 0.73
37 6350 95.51 55.96 1.60

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 714 33.35 10.42 0.53
2 921 35.90 11.99 0.57
3 979 37.29 12.96 0.59
5 1306 41.73 15.77 0.66
10 2129 53.31 22.97 0.84
31 5445 99.59 52.20 1.57

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 6114 26.08 8.84 0.69
2 6226 34.81 11.77 0.79
3 6445 45.25 15.40 0.91
4 6437 51.74 17.48 0.98
5 6646 62.39 21.15 1.10
6 6908 73.21 24.99 1.23
7 6894 80.60 27.32 1.30
8 7018 89.03 30.10 1.40
9 7083 94.65 32.04 1.46

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 6197 17.66 6.02 0.61
10 1 57 6231 19.99 6.94 0.64
10 5 285 6368 27.45 9.95 0.72
10 10 571 6539 37.61 14.03 0.84
10 20 1137 6874 56.47 21.64 1.06
10 40 2278 7557 96.39 37.66 1.53
10 41 2333 7589 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-02 15:48:13.645168244 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.925368553
P99 12.65255794999999ms
P95 6.188204950000001ms
P50 4.643591499999999ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 23.102657802
P99 41.185936739999995ms
P95 30.741124849999995ms
P50 21.343621ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jan 2, 2025

Test Results

  5 files  ±0  165 suites  ±0   30m 41s ⏱️ - 2m 19s
563 tests ±0  557 ✅ ±0  6 💤 ±0  0 ❌ ±0 
565 runs  ±0  559 ✅ ±0  6 💤 ±0  0 ❌ ±0 

Results for commit 46829d0. ± Comparison against base commit c3fe7c1.

@locallycompact locallycompact added this pull request to the merge queue Jan 2, 2025
Merged via the queue into master with commit 15e16b3 Jan 2, 2025
27 checks passed
@locallycompact locallycompact deleted the use-hydra-packages-for-exes branch January 2, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants