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

Add CI action to publish custom-branch hydra-node docker images #1756

Merged
merged 2 commits into from
Dec 3, 2024

Conversation

ffakenz
Copy link
Contributor

@ffakenz ffakenz commented Dec 2, 2024

Introduce new docker ci to publish custom hydra-node docker images by branch name.

date time will be used so multiple images can be built and publish per branch.


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

@ffakenz ffakenz self-assigned this Dec 2, 2024
Copy link

github-actions bot commented Dec 2, 2024

Transaction cost differences

No cost or size differences found

Copy link

github-actions bot commented Dec 2, 2024

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 2024-12-03 11:55:30.654878283 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 8fc2a74df32d01d1db56b3acb561831ef9c9970123079423abfcb86e 12622
μHead c40e78e78083a4c137734abe9ac4070cc978842e9755fe88e0c7b922* 11133
νDeposit 2feb47889a4f658dc593cefcb0e37d584b9431944f08a687f3dab4af 4865
  • 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 11721 8.77 2.86 0.76
2 11919 10.79 3.53 0.79
3 12117 12.38 4.03 0.81
5 12519 16.04 5.23 0.87
10 13528 24.69 8.03 1.00
24 16343 49.37 16.05 1.38

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 743 3.40 1.74 0.22
3 923 4.39 2.34 0.24
5 1283 6.46 3.61 0.29
10 2174 12.24 7.28 0.40
54 10066 99.20 68.72 1.89

CollectCom transaction costs

Parties UTxO (bytes) Tx size % max Mem % max CPU Min fee ₳
1 57 560 24.12 7.06 0.42
2 114 675 32.69 9.48 0.51
3 170 782 41.96 12.11 0.61
4 226 897 51.76 14.85 0.71
5 284 1004 58.04 16.75 0.78
6 338 1116 63.26 18.36 0.84
7 396 1227 81.39 23.18 1.03
8 451 1338 86.26 24.79 1.08
9 506 1453 90.83 26.36 1.14

Cost of Decrement Transaction

Parties Tx size % max Mem % max CPU Min fee ₳
1 651 22.63 7.31 0.41
2 857 25.18 8.69 0.45
3 945 26.59 9.75 0.48
5 1206 29.25 11.84 0.53
10 2071 40.24 18.24 0.70
44 6982 98.09 57.14 1.66

Close transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 656 24.43 8.03 0.43
2 811 25.90 9.18 0.46
3 911 27.50 10.34 0.49
5 1344 32.41 13.52 0.57
10 1832 38.37 18.45 0.67
42 6729 94.69 59.12 1.64

Contest transaction costs

Parties Tx size % max Mem % max CPU Min fee ₳
1 687 30.47 9.64 0.50
2 822 32.32 10.88 0.53
3 1067 35.44 12.72 0.58
5 1281 38.48 14.89 0.62
10 2137 50.18 22.25 0.81
34 5680 99.15 54.32 1.59

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 11613 25.70 8.75 0.93
2 11674 33.24 11.23 1.01
3 11823 39.31 13.33 1.08
4 11955 51.24 17.39 1.22
5 12126 60.23 20.53 1.32
6 12273 68.61 23.36 1.41
7 12356 75.03 25.46 1.48
8 12433 83.78 28.45 1.58
9 12638 97.21 33.09 1.73

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 11714 17.29 5.92 0.85
10 1 57 11748 19.56 6.83 0.87
10 5 285 11884 27.69 10.14 0.97
10 10 569 12053 35.86 13.55 1.07
10 20 1139 12394 54.01 21.03 1.28
10 30 1709 12736 73.27 28.92 1.51
10 40 2276 13073 91.44 36.40 1.73
10 44 2508 13212 99.22 39.59 1.82

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 2024-12-03 11:58:16.441410599 UTC

Baseline Scenario

Number of nodes 1
Number of txs 300
Avg. Confirmation Time (ms) 4.632432040
P99 13.353614429999958ms
P95 5.611942600000001ms
P50 4.095382ms
Number of Invalid txs 0

Three local nodes

Number of nodes 3
Number of txs 900
Avg. Confirmation Time (ms) 24.461216685
P99 120.02169623ms
P95 33.784442549999994ms
P50 21.58467ms
Number of Invalid txs 0

Copy link

github-actions bot commented Dec 2, 2024

Test Results

  5 files  ±0  162 suites  ±0   34m 10s ⏱️ + 3m 41s
555 tests ±0  548 ✅ ±0  7 💤 ±0  0 ❌ ±0 
557 runs  ±0  550 ✅ ±0  7 💤 ±0  0 ❌ ±0 

Results for commit 491260e. ± Comparison against base commit 3748690.

♻️ This comment has been updated with latest results.

@ffakenz ffakenz force-pushed the manual-docker-publish-by-branch-name branch 4 times, most recently from 9bbddb8 to b34f62a Compare December 2, 2024 15:59
@ffakenz ffakenz force-pushed the manual-docker-publish-by-branch-name branch 2 times, most recently from 84878c7 to 4e71833 Compare December 2, 2024 16:10
date time will be used so multiple images can be built and publish per branch.
@ffakenz ffakenz force-pushed the manual-docker-publish-by-branch-name branch from 4e71833 to 5c9bd1b Compare December 2, 2024 16:14
@ffakenz ffakenz changed the title Allow to run docker ci manually Allow to publish custom hydra-node docker images per branch Dec 2, 2024
@ffakenz ffakenz changed the title Allow to publish custom hydra-node docker images per branch Add CI action to publish custom hydra-node docker images per branch Dec 2, 2024
@ffakenz ffakenz changed the title Add CI action to publish custom hydra-node docker images per branch Add CI action to publish custom-branch hydra-node docker images Dec 2, 2024
@ffakenz ffakenz force-pushed the manual-docker-publish-by-branch-name branch from 2445661 to 491260e Compare December 3, 2024 11:53
Copy link
Contributor

@noonio noonio left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking great!

@ffakenz ffakenz added this pull request to the merge queue Dec 3, 2024
Merged via the queue into master with commit dd67f3d Dec 3, 2024
26 checks passed
@ffakenz ffakenz deleted the manual-docker-publish-by-branch-name branch December 3, 2024 12:36
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