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

aiken: v1.1.13 #1816

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

aiken: v1.1.13 #1816

wants to merge 1 commit into from

Conversation

locallycompact
Copy link
Contributor

No description provided.

Copy link

github-actions bot commented Feb 3, 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 - - - -
40 - - - -

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

Cost of Decrement Transaction

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

Close transaction costs

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

Contest transaction costs

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

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

Copy link

github-actions bot commented Feb 3, 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-02-26 15:43:56.175014025 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 0e35115a2c7c13c68ecd8d74e4987c04d4539e337643be20bb3274bd 14756
μHead 57166715eadb8d3135964325c016eea546c21e1c0aae974ca67df9a5* 5541
ν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 6094 11.23 3.50 0.53
2 6292 13.22 4.10 0.56
3 6495 15.68 4.86 0.60
5 6897 19.76 6.10 0.66
10 7903 30.97 9.53 0.82
40 13933 98.36 30.21 1.78

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 742 3.38 1.73 0.22
3 924 4.36 2.33 0.24
5 1280 6.41 3.60 0.28
10 2180 12.13 7.25 0.40
54 10048 98.61 68.52 1.88

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 525 26.44 7.58 0.44
2 114 636 33.91 9.76 0.52
3 170 747 44.68 12.72 0.64
4 227 858 53.42 15.20 0.73
5 284 969 60.57 17.30 0.81
6 337 1081 79.53 22.34 1.00
7 395 1192 81.08 23.12 1.02
8 450 1303 87.41 24.99 1.09
9 506 1414 93.54 26.80 1.16

Cost of Increment Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 1798 25.50 8.33 0.50
2 1928 27.03 9.47 0.52
3 2163 29.27 10.95 0.56
5 2409 33.24 13.52 0.62
10 3105 42.73 19.88 0.78
39 7359 98.41 57.01 1.68

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 601 23.99 7.61 0.43
2 809 26.86 9.06 0.47
3 953 28.13 10.10 0.49
5 1150 29.79 11.85 0.53
10 2001 43.52 18.97 0.73
39 6330 99.57 53.76 1.62

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 704 29.15 9.22 0.48
2 824 30.94 10.42 0.51
3 872 34.08 11.86 0.55
5 1344 37.47 14.58 0.62
10 2052 51.09 22.24 0.81
32 5540 95.02 51.46 1.53

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 629 35.29 10.70 0.54
2 848 38.81 12.62 0.59
3 1021 41.27 14.08 0.63
5 1323 45.92 16.86 0.70
10 2174 58.91 24.40 0.90
26 4513 96.99 46.98 1.47

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 5895 24.04 7.81 0.66
2 6160 38.40 12.72 0.82
3 6212 46.64 15.38 0.91
4 6366 53.47 17.64 0.99
5 6481 63.00 20.76 1.09
6 6453 64.58 21.21 1.11
7 6650 79.11 26.05 1.27
8 6919 96.52 31.88 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 1 57 6125 22.25 7.45 0.65
10 10 570 6432 40.50 14.57 0.87
10 20 1140 6771 62.72 23.14 1.12
10 30 1706 7110 84.68 31.63 1.38
10 37 2107 7350 98.02 36.88 1.53

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-02-26 15:46:54.648688375 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.899940983
P99 9.954163029999991ms
P95 6.20670225ms
P50 4.7204555ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-02-26 15:45:30.532690756 UTC 923M 2164M
2025-02-26 15:45:35.532611985 UTC 1009M 2057M
2025-02-26 15:45:40.532579593 UTC 1005M 2060M
2025-02-26 15:45:45.532482227 UTC 1008M 2057M
2025-02-26 15:45:50.532602033 UTC 1012M 2053M
2025-02-26 15:45:55.532604547 UTC 1018M 2046M

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 24.175271398
P99 119.25194599ms
P95 31.053886ms
P50 21.3324575ms
Number of Invalid txs 0

Memory data

Time Used Free
2025-02-26 15:46:07.585049201 UTC 932M 2144M
2025-02-26 15:46:12.58517916 UTC 1100M 1976M
2025-02-26 15:46:17.58518317 UTC 1110M 1965M
2025-02-26 15:46:22.585097836 UTC 1114M 1960M
2025-02-26 15:46:27.585323504 UTC 1162M 1846M
2025-02-26 15:46:32.585207574 UTC 1192M 1734M
2025-02-26 15:46:37.585164939 UTC 1196M 1729M
2025-02-26 15:46:42.585199378 UTC 1198M 1726M
2025-02-26 15:46:47.585140374 UTC 1198M 1726M
2025-02-26 15:46:52.585175519 UTC 1200M 1724M

Copy link

github-actions bot commented Feb 3, 2025

Test Results

  5 files  ±0  165 suites  ±0   31m 11s ⏱️ -2s
563 tests ±0  561 ✅ ±0  2 💤 ±0  0 ❌ ±0 
565 runs  ±0  563 ✅ ±0  2 💤 ±0  0 ❌ ±0 

Results for commit ca96e06. ± Comparison against base commit a22b272.

♻️ This comment has been updated with latest results.

@noonio
Copy link
Contributor

noonio commented Feb 4, 2025

Given that nothing else has changed and the script sizes have gone up, I'm inclined to not merge this version.

We may as well wait for another release and see if we must upgrade (i.e. it's not like this upgrade is an incremental improvement).

@locallycompact locallycompact changed the title aiken: v1.1.10 aiken: v1.1.13 Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Blocked ✋
Development

Successfully merging this pull request may close these issues.

2 participants