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

auctions and payment first commit #10

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

Conversation

oduameh
Copy link
Owner

@oduameh oduameh commented Jul 17, 2024


  • CHANGELOG updated or not needed
  • Documentation updated or not needed
  • Haddocks updated or not needed
  • No new TODOs introduced or explained herafter

Copy link

github-actions bot commented Jul 17, 2024

Transactions 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 2024-07-17 10:56:37.13620402 UTC
Max. memory units 14000000
Max. CPU units 10000000000
Max. tx size (kB) 16384

Script summary

Name Hash Size (Bytes)
νInitial e6685648e63ab510b49d2ce632c570d2ef53f44f3cbdf82ed553906c 4081
νCommit fce3b967fb72f4a3be8dfa30defe413258ff453e5d32d6752d83f9cf 2060
νHead 10a116037de398d6b0721152336d602f0ea653eb3dfe540d5da63fe4 9367
μHead 4f93fdfeda690e005d3f5a180208edd3f65ddd0892466ad7f4dd678b* 4236
  • The minting policy hash is only usable for comparison. As the script is parameterized, the actual script is unique per Head.

Cost of Init Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 4818 5.71 2.25 0.42
2 5018 7.03 2.77 0.45
3 5217 8.37 3.30 0.47
5 5622 11.32 4.48 0.52
10 6628 18.34 7.26 0.64
58 16278 84.28 33.34 1.79

Cost of Commit Transaction

This is using ada-only outputs for better comparability.

UTxO Tx size % max Mem % max CPU Min fee ₳
1 559 9.25 3.68 0.28
2 742 11.94 4.93 0.31
3 934 14.70 6.20 0.35
5 1309 20.44 8.83 0.44
10 2246 36.05 15.86 0.65
26 5250 98.14 42.75 1.48

Cost of CollectCom Transaction

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 544 14.36 5.77 0.33
2 112 658 22.12 9.01 0.42
3 171 768 31.73 13.05 0.53
4 225 874 42.85 17.76 0.66
5 282 988 57.88 24.00 0.83
6 337 1095 70.67 29.56 0.98
7 395 1205 85.47 35.96 1.15

Cost of Close Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 588 8.08 4.53 0.27
2 735 8.74 5.57 0.29
3 807 8.94 6.26 0.30
5 1303 11.91 9.73 0.37
10 1949 15.67 15.11 0.47
50 7876 48.66 61.78 1.34

Cost of Contest Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 630 8.35 4.64 0.28
2 767 9.08 5.72 0.30
3 893 9.72 6.74 0.32
5 1175 11.30 8.94 0.36
10 1992 16.16 15.32 0.48
50 8217 52.52 64.38 1.40

Cost of Abort Transaction

Some variation because of random mixture of still initial and already committed outputs.

Parties Tx size % max Mem % max CPU Min fee ₳
1 4700 16.43 7.17 0.54
2 4831 26.99 11.87 0.67
3 4995 40.90 18.12 0.83
4 5012 50.72 22.29 0.94
5 5145 65.50 28.76 1.11
6 5358 95.05 42.22 1.46
7 5269 97.71 42.92 1.48

Cost of FanOut Transaction

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 ₳
5 0 0 4650 7.63 3.20 0.44
5 1 57 4685 8.74 3.91 0.46
5 5 284 4820 13.22 6.71 0.52
5 10 567 4987 19.09 10.34 0.60
5 20 1136 5327 29.79 17.15 0.75
5 30 1703 5665 40.98 24.18 0.90
5 40 2276 6008 52.76 31.46 1.07
5 50 2845 6348 63.17 38.15 1.22
5 82 4666 7433 99.62 60.94 1.72

End-To-End Benchmark Results

This page is intended to collect the latest end-to-end benchmarks results produced by Hydra's Continuous Integration system from the latest master code.

Please take those results with a grain of salt as they are currently produced from very limited cloud VMs and not controlled hardware. Instead of focusing on the absolute results, the emphasis should be on relative results, eg. how the timings for a scenario evolve as the code changes.

Generated at 2024-07-17 10:59:15.135140704 UTC

Baseline Scenario

Number of nodes 1
Number of txs 3000
Avg. Confirmation Time (ms) 4.699325132
P99 9.482633719999995ms
P95 6.258358799999997ms
P50 4.386506000000001ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 9000
Avg. Confirmation Time (ms) 22.564436345
P99 85.25402465000055ms
P95 32.03635844999999ms
P50 20.219467ms
Number of Invalid txs 0

Copy link

github-actions bot commented Jul 17, 2024

Test Results

437 tests  ±0   425 ✅ ±0   15m 52s ⏱️ -11s
143 suites ±0    12 💤 ±0 
  5 files   ±0     0 ❌ ±0 

Results for commit 4de0310. ± Comparison against base commit 209de1d.

♻️ This comment has been updated with latest results.

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