Skip to content

chore: release master - #565

Merged
nflaig merged 1 commit into
masterfrom
release-please--branches--master
Nov 20, 2026
Merged

nflaig merged 1 commit into
masterfrom
release-please--branches--master

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

🤖 I have created a release beep boop

ssz: 1.9.1

1.9.1 (2026-11-20)

Bug Fixes

  • reject uint64 values above MAX_SAFE_INTEGER in UintNumberType deserialization (#564) (930bac4)

This PR was generated with Release Please. See documentation.

@github-actions
github-actions Bot requested a review from a team as a code owner November 20, 2026 15:40
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-20T15:41:48.714551Z 1660aa5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@nflaig
nflaig enabled auto-merge (squash) November 20, 2026 15:49
@github-actions github-actions Bot added the ssz label Nov 20, 2026
@nflaig
nflaig merged commit 0fe6d52 into master Nov 20, 2026
11 checks passed
@nflaig
nflaig deleted the release-please--branches--master branch November 20, 2026 16:09
@github-actions

Copy link
Copy Markdown
Contributor Author

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: a905c34 Previous: 930bac4 Ratio
digestTwoHashObjects 50023 times 29.325 ms/op 32.396 ms/op 0.91
digest2Bytes32 50023 times 31.694 ms/op 35.633 ms/op 0.89
digest 50023 times 31.060 ms/op 34.784 ms/op 0.89
input length 32 665.00 ns/op 753.00 ns/op 0.88
input length 64 775.00 ns/op 893.00 ns/op 0.87
input length 128 1.3180 us/op 1.6210 us/op 0.81
input length 256 1.9690 us/op 2.4850 us/op 0.79
input length 512 3.2850 us/op 4.2110 us/op 0.78
input length 1024 6.2630 us/op 8.1160 us/op 0.77
digest 1000000 times 479.25 ms/op 539.48 ms/op 0.89
hashObjectToByteArray 50023 times 850.47 us/op 946.30 us/op 0.90
byteArrayToHashObject 50023 times 938.40 us/op 1.1570 ms/op 0.81
digest64 200092 times 124.82 ms/op 139.75 ms/op 0.89
hash 200092 times using batchHash4UintArray64s 133.71 ms/op 85.136 ms/op 1.57
digest64HashObjects 200092 times 115.80 ms/op 129.95 ms/op 0.89
hash 200092 times using batchHash4HashObjectInputs 107.72 ms/op 65.162 ms/op 1.65
getGindicesAtDepth 2.5140 us/op 2.6640 us/op 0.94
iterateAtDepth 4.5840 us/op 5.0150 us/op 0.91
getGindexBits 238.00 ns/op 275.00 ns/op 0.87
gindexIterator 609.00 ns/op 781.00 ns/op 0.78
HashComputationLevel.push then loop 24.067 ms/op 31.370 ms/op 0.77
HashComputation[] push then loop 54.925 ms/op 62.302 ms/op 0.88
hash 2 32 bytes Uint8Array 500000 times - hashtree 110.82 ms/op 123.38 ms/op 0.90
batch hash 16 x 64 Uint8Array 31250 times - hashtree 20.406 ms/op 35.775 ms/op 0.57
hashTwoObjects 500000 times - hashtree 125.19 ms/op 144.10 ms/op 0.87
executeHashComputations - hashtree 5.4582 ms/op 8.2510 ms/op 0.66
hash 2 32 bytes Uint8Array 500000 times - as-sha256 296.51 ms/op 328.54 ms/op 0.90
batch hash 16 x 64 Uint8Array 31250 times - as-sha256 279.76 ms/op 161.06 ms/op 1.74
hashTwoObjects 500000 times - as-sha256 306.55 ms/op 340.22 ms/op 0.90
executeHashComputations - as-sha256 22.937 ms/op 15.342 ms/op 1.50
hash 2 32 bytes Uint8Array 500000 times - noble 761.81 ms/op 1.1693 s/op 0.65
batch hash 16 x 64 Uint8Array 31250 times - noble 751.89 ms/op 1.1496 s/op 0.65
hashTwoObjects 500000 times - noble 1.5964 s/op 2.3483 s/op 0.68
executeHashComputations - noble 23.078 ms/op 27.066 ms/op 0.85
getHashComputations 1.5670 ms/op 1.9973 ms/op 0.78
executeHashComputations 5.7491 ms/op 8.6029 ms/op 0.67
get root 9.5170 ms/op 12.101 ms/op 0.79
getNodeH() x7812.5 avg hindex 10.437 us/op 13.391 us/op 0.78
getNodeH() x7812.5 index 0 3.8210 us/op 4.2800 us/op 0.89
getNodeH() x7812.5 index 7 3.8220 us/op 4.2750 us/op 0.89
getNodeH() x7812.5 index 7 with key array 3.8210 us/op 4.2960 us/op 0.89
new LeafNode() x7812.5 200.14 us/op 239.90 us/op 0.83
getHashComputations 250000 nodes 8.8369 ms/op 8.3403 ms/op 1.06
batchHash 250000 nodes 58.442 ms/op 64.515 ms/op 0.91
get root 250000 nodes 67.094 ms/op 82.083 ms/op 0.82
getHashComputations 500000 nodes 19.367 ms/op 15.847 ms/op 1.22
batchHash 500000 nodes 141.89 ms/op 157.22 ms/op 0.90
get root 500000 nodes 133.02 ms/op 161.88 ms/op 0.82
getHashComputations 1000000 nodes 41.405 ms/op 28.689 ms/op 1.44
batchHash 1000000 nodes 248.32 ms/op 278.24 ms/op 0.89
get root 1000000 nodes 268.23 ms/op 323.67 ms/op 0.83
multiproof - depth 15, 1 requested leaves 5.6780 us/op 6.1660 us/op 0.92
tree offset multiproof - depth 15, 1 requested leaves 11.924 us/op 13.837 us/op 0.86
compact multiproof - depth 15, 1 requested leaves 2.1660 us/op 2.6270 us/op 0.82
multiproof - depth 15, 2 requested leaves 8.2590 us/op 8.9570 us/op 0.92
tree offset multiproof - depth 15, 2 requested leaves 14.211 us/op 16.255 us/op 0.87
compact multiproof - depth 15, 2 requested leaves 2.1630 us/op 2.6150 us/op 0.83
multiproof - depth 15, 3 requested leaves 11.897 us/op 12.727 us/op 0.93
tree offset multiproof - depth 15, 3 requested leaves 18.903 us/op 21.254 us/op 0.89
compact multiproof - depth 15, 3 requested leaves 2.4050 us/op 2.9350 us/op 0.82
multiproof - depth 15, 4 requested leaves 15.665 us/op 17.246 us/op 0.91
tree offset multiproof - depth 15, 4 requested leaves 23.518 us/op 26.683 us/op 0.88
compact multiproof - depth 15, 4 requested leaves 2.6910 us/op 3.4790 us/op 0.77
packedRootsBytesToLeafNodes bytes 4000 offset 0 3.6560 us/op 4.4070 us/op 0.83
packedRootsBytesToLeafNodes bytes 4000 offset 1 3.6550 us/op 4.3270 us/op 0.84
packedRootsBytesToLeafNodes bytes 4000 offset 2 3.6580 us/op 4.3770 us/op 0.84
packedRootsBytesToLeafNodes bytes 4000 offset 3 3.6600 us/op 4.3690 us/op 0.84
subtreeFillToContents depth 40 count 250000 14.200 ms/op 17.111 ms/op 0.83
setRoot - gindexBitstring 14.331 ms/op 20.847 ms/op 0.69
setRoot - gindex 14.334 ms/op 20.518 ms/op 0.70
getRoot - gindexBitstring 1.4693 ms/op 1.8820 ms/op 0.78
getRoot - gindex 1.7709 ms/op 2.3438 ms/op 0.76
getHashObject then setHashObject 15.504 ms/op 21.512 ms/op 0.72
setNodeWithFn 14.292 ms/op 19.224 ms/op 0.74
getNodeAtDepth depth 0 x100000 183.93 us/op 211.66 us/op 0.87
setNodeAtDepth depth 0 x100000 1.1046 ms/op 1.6914 ms/op 0.65
getNodesAtDepth depth 0 x100000 228.81 us/op 282.61 us/op 0.81
setNodesAtDepth depth 0 x100000 559.25 us/op 549.71 us/op 1.02
getNodeAtDepth depth 1 x100000 247.17 us/op 292.60 us/op 0.84
setNodeAtDepth depth 1 x100000 5.6566 ms/op 6.7196 ms/op 0.84
getNodesAtDepth depth 1 x100000 332.28 us/op 404.72 us/op 0.82
setNodesAtDepth depth 1 x100000 4.5027 ms/op 5.6292 ms/op 0.80
getNodeAtDepth depth 2 x100000 491.77 us/op 666.73 us/op 0.74
setNodeAtDepth depth 2 x100000 10.643 ms/op 12.727 ms/op 0.84
getNodesAtDepth depth 2 x100000 11.279 ms/op 12.516 ms/op 0.90
setNodesAtDepth depth 2 x100000 15.021 ms/op 18.520 ms/op 0.81
tree.getNodesAtDepth - gindexes 6.3759 ms/op 9.6512 ms/op 0.66
tree.getNodesAtDepth - push all nodes 1.0005 ms/op 1.3892 ms/op 0.72
tree.getNodesAtDepth - navigation 135.53 us/op 161.74 us/op 0.84
tree.setNodesAtDepth - indexes 470.17 us/op 560.48 us/op 0.84
set at depth 8 476.00 ns/op 728.00 ns/op 0.65
set at depth 16 725.00 ns/op 1.0420 us/op 0.70
set at depth 32 1.2680 us/op 1.7200 us/op 0.74
iterateNodesAtDepth 8 256 9.5360 us/op 11.816 us/op 0.81
getNodesAtDepth 8 256 2.3780 us/op 3.4150 us/op 0.70
iterateNodesAtDepth 16 65536 2.9891 ms/op 3.7512 ms/op 0.80
getNodesAtDepth 16 65536 784.31 us/op 1.0226 ms/op 0.77
iterateNodesAtDepth 32 250000 11.137 ms/op 13.867 ms/op 0.80
getNodesAtDepth 32 250000 2.9760 ms/op 3.8675 ms/op 0.77
iterateNodesAtDepth 40 250000 11.170 ms/op 13.852 ms/op 0.81
getNodesAtDepth 40 250000 3.0000 ms/op 3.8717 ms/op 0.77
250000 validators root getter 70.683 ms/op 84.641 ms/op 0.84
250000 validators batchHash() 55.872 ms/op 67.303 ms/op 0.83
250000 validators hashComputations 10.286 ms/op 9.5403 ms/op 1.08
bitlist bytes to struct (120,90) 274.00 ns/op 284.00 ns/op 0.96
bitlist bytes to tree (120,90) 1.3080 us/op 1.6940 us/op 0.77
bitlist bytes to struct (2048,2048) 521.00 ns/op 584.00 ns/op 0.89
bitlist bytes to tree (2048,2048) 2.0540 us/op 4.1510 us/op 0.49
ByteListType - deserialize 5.2799 ms/op 6.4102 ms/op 0.82
BasicListType - deserialize 7.1973 ms/op 9.9399 ms/op 0.72
ByteListType - serialize 12.370 ms/op 11.109 ms/op 1.11
BasicListType - serialize 10.315 ms/op 17.255 ms/op 0.60
BasicListType - tree_convertToStruct 15.855 ms/op 24.410 ms/op 0.65
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 3.8734 ms/op 3.0470 ms/op 1.27
List[uint8, 68719476736] len 300000 ViewDU.get(i) 2.9738 ms/op 2.6680 ms/op 1.11
Array.push len 300000 empty Array - number 4.1399 ms/op 4.8406 ms/op 0.86
Array.set len 300000 from new Array - number 1.1067 ms/op 1.2448 ms/op 0.89
Array.set len 300000 - number 4.2110 ms/op 4.9229 ms/op 0.86
Uint8Array.set len 300000 254.81 us/op 345.31 us/op 0.74
Uint32Array.set len 300000 626.69 us/op 549.14 us/op 1.14
Container({a: uint8, b: uint8}) getViewDU x300000 22.439 ms/op 34.303 ms/op 0.65
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 7.4853 ms/op 8.5360 ms/op 0.88
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 86.399 ms/op 97.041 ms/op 0.89
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 301.29 ms/op 390.64 ms/op 0.77
List(Container) len 300000 ViewDU.get(i) 7.8974 ms/op 12.674 ms/op 0.62
List(Container) len 300000 ViewDU.getReadonly(i) 7.9752 ms/op 12.689 ms/op 0.63
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 9.6053 ms/op 14.763 ms/op 0.65
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 3.9758 ms/op 3.0357 ms/op 1.31
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.9448 ms/op 10.634 ms/op 0.65
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 6.7225 ms/op 10.410 ms/op 0.65
Array.push len 300000 empty Array - object 4.3272 ms/op 4.9627 ms/op 0.87
Array.set len 300000 from new Array - object 1.1948 ms/op 1.3263 ms/op 0.90
Array.set len 300000 - object 4.3742 ms/op 5.0709 ms/op 0.86
List 300 txs of 500 bytes Uint8Array[] deserialize 194.43 us/op 177.98 us/op 1.09
List 300 txs of 500 bytes SerializedList deserialize 114.39 us/op 89.508 us/op 1.28
List 300 txs of 500 bytes Uint8Array[] serialize 83.340 us/op 65.385 us/op 1.27
List 300 txs of 500 bytes SerializedList serialize 44.164 us/op 40.271 us/op 1.10
List 300 txs of 500 bytes Uint8Array[] hashTreeRoot 3.3240 ms/op 3.9019 ms/op 0.85
List 300 txs of 500 bytes SerializedList hashTreeRoot 3.2159 ms/op 3.8979 ms/op 0.83
List 1048576 empty txs Uint8Array[] deserialize 249.39 ms/op 168.34 ms/op 1.48
List 1048576 empty txs SerializedList deserialize 9.6569 ms/op 14.218 ms/op 0.68
List 1048576 empty txs Uint8Array[] serialize 37.255 ms/op 40.424 ms/op 0.92
List 1048576 empty txs SerializedList serialize 1.8527 ms/op 1.5295 ms/op 1.21
List 1048576 empty txs Uint8Array[] hashTreeRoot 456.67 ms/op 559.78 ms/op 0.82
List 1048576 empty txs SerializedList hashTreeRoot 445.84 ms/op 549.29 ms/op 0.81
ProgressiveList 300 txs of 500 bytes Uint8Array[] deserialize 162.38 us/op 110.25 us/op 1.47
ProgressiveList 300 txs of 500 bytes SerializedList deserialize 61.941 us/op 103.17 us/op 0.60
ProgressiveList 300 txs of 500 bytes Uint8Array[] serialize 50.688 us/op 51.186 us/op 0.99
ProgressiveList 300 txs of 500 bytes SerializedList serialize 30.201 us/op 43.628 us/op 0.69
ProgressiveList 300 txs of 500 bytes Uint8Array[] hashTreeRoot 1.1036 ms/op 1.4437 ms/op 0.76
ProgressiveList 300 txs of 500 bytes SerializedList hashTreeRoot 1.1109 ms/op 1.5296 ms/op 0.73
ProgressiveList 1048576 empty txs Uint8Array[] deserialize 251.53 ms/op 162.84 ms/op 1.54
ProgressiveList 1048576 empty txs SerializedList deserialize 9.8261 ms/op 14.641 ms/op 0.67
ProgressiveList 1048576 empty txs Uint8Array[] serialize 25.430 ms/op 40.782 ms/op 0.62
ProgressiveList 1048576 empty txs SerializedList serialize 714.23 us/op 1.3178 ms/op 0.54
ProgressiveList 1048576 empty txs Uint8Array[] hashTreeRoot 441.68 ms/op 593.74 ms/op 0.74
ProgressiveList 1048576 empty txs SerializedList hashTreeRoot 434.42 ms/op 579.22 ms/op 0.75
cachePermanentRootStruct no cache 1.9990 us/op 2.2550 us/op 0.89
cachePermanentRootStruct with cache 125.00 ns/op 171.00 ns/op 0.73
epochParticipation len 250000 rws 7813 1.9277 ms/op 2.2553 ms/op 0.85
Deneb BeaconBlock.hashTreeRoot(), numTransaction=200 3.1099 ms/op 3.9229 ms/op 0.79
BeaconState ViewDU batchHashTreeRoot vc=200000 mod=100000 173.90 ms/op 229.47 ms/op 0.76
BeaconState ViewDU batchHashTreeRoot - commit step vc=200000 mod=100000 152.03 ms/op 190.94 ms/op 0.80
BeaconState ViewDU batchHashTreeRoot - hash step vc=200000 mod=100000 27.927 ms/op 38.058 ms/op 0.73
BeaconState ViewDU hashTreeRoot() vc=200000 mod=100000 510.74 ms/op 641.07 ms/op 0.80
BeaconState ViewDU hashTreeRoot - commit step vc=200000 mod=100000 41.262 ms/op 39.901 ms/op 1.03
BeaconState ViewDU hashTreeRoot - validator tree creation vc=100000 mod=100000 197.96 ms/op 271.16 ms/op 0.73
sweep 16384 balances after clone + commit 18.255 ns/op 20.541 ns/op 0.89
deserialize Attestation - tree 2.4070 us/op 2.8970 us/op 0.83
deserialize Attestation - struct 1.2850 us/op 1.4640 us/op 0.88
deserialize Attestation - struct (reuse bytes) 902.00 ns/op 1.1020 us/op 0.82
deserialize SignedAggregateAndProof - tree 3.3290 us/op 3.9530 us/op 0.84
deserialize SignedAggregateAndProof - struct 2.0000 us/op 3.4640 us/op 0.58
deserialize SignedAggregateAndProof - struct (reuse bytes) 1.2290 us/op 1.4450 us/op 0.85
deserialize SyncCommitteeMessage - tree 934.00 ns/op 1.0970 us/op 0.85
deserialize SyncCommitteeMessage - struct 750.00 ns/op 992.00 ns/op 0.76
deserialize SyncCommitteeMessage - struct (reuse bytes) 449.00 ns/op 563.00 ns/op 0.80
deserialize SignedContributionAndProof - tree 1.9170 us/op 2.3980 us/op 0.80
deserialize SignedContributionAndProof - struct 1.5480 us/op 2.7120 us/op 0.57
deserialize SignedContributionAndProof - struct (reuse bytes) 763.00 ns/op 878.00 ns/op 0.87
deserialize SignedBeaconBlock - tree 183.64 us/op 220.09 us/op 0.83
deserialize SignedBeaconBlock - struct 79.078 us/op 185.13 us/op 0.43
deserialize SignedBeaconBlock - struct (reuse bytes) 48.978 us/op 61.706 us/op 0.79
BeaconState vc 300000 - deserialize tree 287.39 ms/op 301.90 ms/op 0.95
BeaconState vc 300000 - serialize tree 79.246 ms/op 112.31 ms/op 0.71
BeaconState.historicalRoots vc 300000 - deserialize tree 484.00 ns/op 618.00 ns/op 0.78
BeaconState.historicalRoots vc 300000 - serialize tree 533.00 ns/op 503.00 ns/op 1.06
BeaconState.validators vc 300000 - deserialize tree 251.97 ms/op 282.42 ms/op 0.89
BeaconState.validators vc 300000 - serialize tree 47.610 ms/op 53.484 ms/op 0.89
BeaconState.balances vc 300000 - deserialize tree 6.9485 ms/op 8.1835 ms/op 0.85
BeaconState.balances vc 300000 - serialize tree 6.0774 ms/op 5.3167 ms/op 1.14
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 551.80 us/op 675.46 us/op 0.82
BeaconState.previousEpochParticipation vc 300000 - serialize tree 482.09 us/op 578.52 us/op 0.83
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 549.50 us/op 672.48 us/op 0.82
BeaconState.currentEpochParticipation vc 300000 - serialize tree 475.19 us/op 581.66 us/op 0.82
BeaconState.inactivityScores vc 300000 - deserialize tree 6.6005 ms/op 7.9331 ms/op 0.83
BeaconState.inactivityScores vc 300000 - serialize tree 5.1765 ms/op 3.7574 ms/op 1.38
hashTreeRoot Attestation - struct 5.8910 us/op 11.346 us/op 0.52
hashTreeRoot Attestation - tree 5.1770 us/op 6.4460 us/op 0.80
hashTreeRoot SignedAggregateAndProof - struct 8.4200 us/op 9.9860 us/op 0.84
hashTreeRoot SignedAggregateAndProof - tree 7.8000 us/op 9.4930 us/op 0.82
hashTreeRoot SyncCommitteeMessage - struct 2.0900 us/op 2.2750 us/op 0.92
hashTreeRoot SyncCommitteeMessage - tree 1.9910 us/op 2.4160 us/op 0.82
hashTreeRoot SignedContributionAndProof - struct 5.2110 us/op 6.1600 us/op 0.85
hashTreeRoot SignedContributionAndProof - tree 5.4010 us/op 6.6270 us/op 0.81
hashTreeRoot SignedBeaconBlock - struct 510.85 us/op 604.01 us/op 0.85
hashTreeRoot SignedBeaconBlock - tree 457.02 us/op 551.71 us/op 0.83
hashTreeRoot Validator - struct 2.6940 us/op 3.0910 us/op 0.87
hashTreeRoot Validator - tree 4.0870 us/op 4.9520 us/op 0.83
BeaconState vc 300000 - hashTreeRoot tree 1.4173 s/op 1.7865 s/op 0.79
BeaconState vc 300000 - batchHashTreeRoot tree 2.9875 s/op 3.6218 s/op 0.82
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 605.00 ns/op 729.00 ns/op 0.83
BeaconState.validators vc 300000 - hashTreeRoot tree 1.3986 s/op 1.7733 s/op 0.79
BeaconState.balances vc 300000 - hashTreeRoot tree 19.782 ms/op 24.099 ms/op 0.82
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 2.5050 ms/op 2.9914 ms/op 0.84
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 2.5021 ms/op 2.9914 ms/op 0.84
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 19.648 ms/op 24.075 ms/op 0.82
hash64 x18 4.5720 us/op 5.3230 us/op 0.86
hashTwoObjects x18 4.6800 us/op 5.4780 us/op 0.85
hash64 x1740 422.65 us/op 491.11 us/op 0.86
hashTwoObjects x1740 432.09 us/op 508.76 us/op 0.85
hash64 x2700000 683.98 ms/op 787.74 ms/op 0.87
hashTwoObjects x2700000 675.77 ms/op 794.63 ms/op 0.85
get_exitEpoch - ContainerType 134.00 ns/op 141.00 ns/op 0.95
get_exitEpoch - ContainerNodeStructType 145.00 ns/op 145.00 ns/op 1.00
set_exitEpoch - ContainerType 145.00 ns/op 152.00 ns/op 0.95
set_exitEpoch - ContainerNodeStructType 142.00 ns/op 147.00 ns/op 0.97
get_pubkey - ContainerType 593.00 ns/op 780.00 ns/op 0.76
get_pubkey - ContainerNodeStructType 131.00 ns/op 137.00 ns/op 0.96
hashTreeRoot - ContainerType 220.00 ns/op 258.00 ns/op 0.85
hashTreeRoot - ContainerNodeStructType 213.00 ns/op 242.00 ns/op 0.88
createProof - ContainerType 2.4370 us/op 2.8970 us/op 0.84
createProof - ContainerNodeStructType 12.947 us/op 16.541 us/op 0.78
serialize - ContainerType 1.1390 us/op 1.2200 us/op 0.93
serialize - ContainerNodeStructType 724.00 ns/op 822.00 ns/op 0.88
set_exitEpoch_and_hashTreeRoot - ContainerType 1.6540 us/op 1.9520 us/op 0.85
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 4.5480 us/op 5.4450 us/op 0.84
doBatchHashTreeRootValidators 2.6310 us/op 3.6590 us/op 0.72
ContainerNodeStructViewDU hashTreeRoot 15.604 us/op 19.849 us/op 0.79
Array - for of 3.1850 us/op 5.0500 us/op 0.63
Array - for(;;) 2.6730 us/op 3.0410 us/op 0.88
basicListValue.readonlyValuesArray() 2.5798 ms/op 2.8534 ms/op 0.90
basicListValue.readonlyValuesArray() + loop all 3.0249 ms/op 3.6049 ms/op 0.84
compositeListValue.readonlyValuesArray() 11.727 ms/op 9.5236 ms/op 1.23
compositeListValue.readonlyValuesArray() + loop all 8.2695 ms/op 14.440 ms/op 0.57
Number64UintType - get balances list 2.3267 ms/op 2.5711 ms/op 0.90
Number64UintType - set balances list 7.4120 ms/op 9.0016 ms/op 0.82
Number64UintType - get and increase 10 then set 23.073 ms/op 29.091 ms/op 0.79
Number64UintType - increase 10 using applyDelta 11.296 ms/op 14.710 ms/op 0.77
Number64UintType - increase 10 using applyDeltaInBatch 11.346 ms/op 13.426 ms/op 0.85
tree_newTreeFromUint64Deltas 12.158 ms/op 12.393 ms/op 0.98
unsafeUint8ArrayToTree 16.069 ms/op 19.342 ms/op 0.83
bitLength(50) 146.00 ns/op 149.00 ns/op 0.98
bitLengthStr(50) 147.00 ns/op 154.00 ns/op 0.95
bitLength(8000) 145.00 ns/op 146.00 ns/op 0.99
bitLengthStr(8000) 185.00 ns/op 198.00 ns/op 0.93
bitLength(250000) 146.00 ns/op 148.00 ns/op 0.99
bitLengthStr(250000) 214.00 ns/op 238.00 ns/op 0.90
merkleize 32 chunks 8.0660 us/op 9.6310 us/op 0.84
merkleizeBlocksBytes 32 chunks 2.0960 us/op 3.2580 us/op 0.64
merkleizeBlockArray 32 chunks 3.8700 us/op 5.3200 us/op 0.73
merkleize 128 chunks 31.979 us/op 38.607 us/op 0.83
merkleizeBlocksBytes 128 chunks 5.5150 us/op 9.7070 us/op 0.57
merkleizeBlockArray 128 chunks 11.190 us/op 16.406 us/op 0.68
merkleize 512 chunks 129.71 us/op 153.06 us/op 0.85
merkleizeBlocksBytes 512 chunks 18.281 us/op 33.815 us/op 0.54
merkleizeBlockArray 512 chunks 38.954 us/op 59.148 us/op 0.66
merkleize 1024 chunks 258.30 us/op 311.23 us/op 0.83
merkleizeBlocksBytes 1024 chunks 34.569 us/op 65.858 us/op 0.52
merkleizeBlockArray 1024 chunks 75.769 us/op 115.14 us/op 0.66
floor - Math.floor (53) 0.30711 ns/op 0.40647 ns/op 0.76
floor - << 0 (53) 0.30732 ns/op 0.40729 ns/op 0.75
floor - Math.floor (512) 0.30700 ns/op 0.40667 ns/op 0.75
floor - << 0 (512) 0.30706 ns/op 0.40656 ns/op 0.76
fnIf(0) 1.2756 ns/op 1.9510 ns/op 0.65
fnSwitch(0) 1.9784 ns/op 2.9301 ns/op 0.68
fnObj(0) 0.30716 ns/op 0.40649 ns/op 0.76
fnArr(0) 0.30701 ns/op 0.40638 ns/op 0.76
fnIf(4) 1.9087 ns/op 2.6061 ns/op 0.73
fnSwitch(4) 1.9079 ns/op 2.6031 ns/op 0.73
fnObj(4) 0.30711 ns/op 0.40676 ns/op 0.75
fnArr(4) 0.30699 ns/op 0.40660 ns/op 0.75
fnIf(9) 2.5919 ns/op 3.4148 ns/op 0.76
fnSwitch(9) 1.9072 ns/op 2.6004 ns/op 0.73
fnObj(9) 0.30713 ns/op 0.40651 ns/op 0.76
fnArr(9) 0.30716 ns/op 0.40640 ns/op 0.76
Container {a,b,vec} - as struct x100000 30.572 us/op 40.519 us/op 0.75
Container {a,b,vec} - as tree x100000 491.98 us/op 532.53 us/op 0.92
Container {a,vec,b} - as struct x100000 67.794 us/op 97.084 us/op 0.70
Container {a,vec,b} - as tree x100000 765.70 us/op 779.88 us/op 0.98
get 2 props x1000000 - rawObject 273.04 us/op 325.35 us/op 0.84
get 2 props x1000000 - proxy 64.081 ms/op 88.097 ms/op 0.73
get 2 props x1000000 - customObj 273.21 us/op 325.26 us/op 0.84
Simple object binary -> struct 344.00 ns/op 351.00 ns/op 0.98
Simple object binary -> tree_backed 729.00 ns/op 946.00 ns/op 0.77
Simple object struct -> tree_backed 1.1870 us/op 1.3980 us/op 0.85
Simple object tree_backed -> struct 1.0010 us/op 1.2060 us/op 0.83
Simple object struct -> binary 575.00 ns/op 701.00 ns/op 0.82
Simple object tree_backed -> binary 843.00 ns/op 1.1380 us/op 0.74
aggregationBits binary -> struct 279.00 ns/op 300.00 ns/op 0.93
aggregationBits binary -> tree_backed 1.3580 us/op 1.7330 us/op 0.78
aggregationBits struct -> tree_backed 1.7580 us/op 4.0150 us/op 0.44
aggregationBits tree_backed -> struct 651.00 ns/op 854.00 ns/op 0.76
aggregationBits struct -> binary 483.00 ns/op 584.00 ns/op 0.83
aggregationBits tree_backed -> binary 566.00 ns/op 688.00 ns/op 0.82
List(uint8) 100000 binary -> struct 627.33 us/op 712.67 us/op 0.88
List(uint8) 100000 binary -> tree_backed 185.16 us/op 224.02 us/op 0.83
List(uint8) 100000 struct -> tree_backed 1.2318 ms/op 1.3548 ms/op 0.91
List(uint8) 100000 tree_backed -> struct 696.75 us/op 813.61 us/op 0.86
List(uint8) 100000 struct -> binary 1.0449 ms/op 1.0940 ms/op 0.96
List(uint8) 100000 tree_backed -> binary 138.38 us/op 163.95 us/op 0.84
List(uint64Number) 100000 binary -> struct 871.40 us/op 933.64 us/op 0.93
List(uint64Number) 100000 binary -> tree_backed 1.5550 ms/op 1.9210 ms/op 0.81
List(uint64Number) 100000 struct -> tree_backed 2.8927 ms/op 3.4041 ms/op 0.85
List(uint64Number) 100000 tree_backed -> struct 1.4874 ms/op 1.8232 ms/op 0.82
List(uint64Number) 100000 struct -> binary 1.9831 ms/op 1.9843 ms/op 1.00
List(uint64Number) 100000 tree_backed -> binary 1.2898 ms/op 829.78 us/op 1.55
List(Uint64Bigint) 100000 binary -> struct 1.3649 ms/op 1.6799 ms/op 0.81
List(Uint64Bigint) 100000 binary -> tree_backed 1.5608 ms/op 1.9233 ms/op 0.81
List(Uint64Bigint) 100000 struct -> tree_backed 2.7379 ms/op 3.1956 ms/op 0.86
List(Uint64Bigint) 100000 tree_backed -> struct 2.0718 ms/op 2.5194 ms/op 0.82
List(Uint64Bigint) 100000 struct -> binary 2.9809 ms/op 1.8300 ms/op 1.63
List(Uint64Bigint) 100000 tree_backed -> binary 1.2845 ms/op 1.4713 ms/op 0.87
Vector(Root) 100000 binary -> struct 11.076 ms/op 12.590 ms/op 0.88
Vector(Root) 100000 binary -> tree_backed 14.664 ms/op 17.071 ms/op 0.86
Vector(Root) 100000 struct -> tree_backed 16.796 ms/op 20.646 ms/op 0.81
Vector(Root) 100000 tree_backed -> struct 12.014 ms/op 15.382 ms/op 0.78
Vector(Root) 100000 struct -> binary 4.3742 ms/op 5.9638 ms/op 0.73
Vector(Root) 100000 tree_backed -> binary 3.6436 ms/op 4.4325 ms/op 0.82
List(Validator) 100000 binary -> struct 55.781 ms/op 62.042 ms/op 0.90
List(Validator) 100000 binary -> tree_backed 163.34 ms/op 203.04 ms/op 0.80
List(Validator) 100000 struct -> tree_backed 186.83 ms/op 235.46 ms/op 0.79
List(Validator) 100000 tree_backed -> struct 147.00 ms/op 121.15 ms/op 1.21
List(Validator) 100000 struct -> binary 33.119 ms/op 40.840 ms/op 0.81
List(Validator) 100000 tree_backed -> binary 89.177 ms/op 84.050 ms/op 1.06
List(Validator-NS) 100000 binary -> struct 70.198 ms/op 65.782 ms/op 1.07
List(Validator-NS) 100000 binary -> tree_backed 85.447 ms/op 98.397 ms/op 0.87
List(Validator-NS) 100000 struct -> tree_backed 94.802 ms/op 119.78 ms/op 0.79
List(Validator-NS) 100000 tree_backed -> struct 79.966 ms/op 100.48 ms/op 0.80
List(Validator-NS) 100000 struct -> binary 8.9897 ms/op 11.570 ms/op 0.78
List(Validator-NS) 100000 tree_backed -> binary 15.148 ms/op 13.904 ms/op 1.09
get epochStatuses - MutableVector 108.75 us/op 106.07 us/op 1.03
get epochStatuses - ViewDU 133.62 us/op 190.40 us/op 0.70
set epochStatuses - ListTreeView 1.6102 ms/op 1.9968 ms/op 0.81
set epochStatuses - ListTreeView - set() 367.43 us/op 527.92 us/op 0.70
set epochStatuses - ListTreeView - commit() 590.16 us/op 840.85 us/op 0.70
bitstring 365.25 ns/op 452.94 ns/op 0.81
bit mask 6.3369 ns/op 8.1579 ns/op 0.78
struct - increase slot to 1000000 307.10 us/op 390.65 us/op 0.79
UintNumberType - increase slot to 1000000 19.707 ms/op 23.032 ms/op 0.86
UintBigintType - increase slot to 1000000 126.11 ms/op 148.49 ms/op 0.85
UintBigint8 x 100000 tree_deserialize 4.0376 ms/op 4.7124 ms/op 0.86
UintBigint8 x 100000 tree_serialize 969.57 us/op 1.0283 ms/op 0.94
UintBigint16 x 100000 tree_deserialize 4.0618 ms/op 4.7660 ms/op 0.85
UintBigint16 x 100000 tree_serialize 995.33 us/op 1.1035 ms/op 0.90
UintBigint32 x 100000 tree_deserialize 3.8034 ms/op 4.3712 ms/op 0.87
UintBigint32 x 100000 tree_serialize 1.3263 ms/op 1.3736 ms/op 0.97
UintBigint64 x 100000 tree_deserialize 4.1040 ms/op 4.8532 ms/op 0.85
UintBigint64 x 100000 tree_serialize 1.2882 ms/op 1.4352 ms/op 0.90
UintBigint8 x 100000 value_deserialize 328.00 us/op 439.26 us/op 0.75
UintBigint8 x 100000 value_serialize 319.00 us/op 662.84 us/op 0.48
UintBigint16 x 100000 value_deserialize 360.50 us/op 479.34 us/op 0.75
UintBigint16 x 100000 value_serialize 339.06 us/op 652.27 us/op 0.52
UintBigint32 x 100000 value_deserialize 369.35 us/op 487.79 us/op 0.76
UintBigint32 x 100000 value_serialize 382.72 us/op 676.22 us/op 0.57
UintBigint64 x 100000 value_deserialize 427.76 us/op 553.66 us/op 0.77
UintBigint64 x 100000 value_serialize 507.85 us/op 774.33 us/op 0.66
UintBigint8 x 100000 deserialize 1.7472 ms/op 2.1322 ms/op 0.82
UintBigint8 x 100000 serialize 1.2179 ms/op 1.5523 ms/op 0.78
UintBigint16 x 100000 deserialize 1.8052 ms/op 2.2032 ms/op 0.82
UintBigint16 x 100000 serialize 1.2194 ms/op 1.1813 ms/op 1.03
UintBigint32 x 100000 deserialize 1.7243 ms/op 2.1318 ms/op 0.81
UintBigint32 x 100000 serialize 2.1218 ms/op 2.2289 ms/op 0.95
UintBigint64 x 100000 deserialize 1.7485 ms/op 2.1509 ms/op 0.81
UintBigint64 x 100000 serialize 961.17 us/op 1.1669 ms/op 0.82
UintBigint128 x 100000 deserialize 2.0767 ms/op 2.2320 ms/op 0.93
UintBigint128 x 100000 serialize 9.6803 ms/op 9.0317 ms/op 1.07
UintBigint256 x 100000 deserialize 2.5559 ms/op 3.2773 ms/op 0.78
UintBigint256 x 100000 serialize 27.023 ms/op 28.012 ms/op 0.96
Slice from Uint8Array x25000 730.30 us/op 1.1581 ms/op 0.63
Slice from ArrayBuffer x25000 27.828 ms/op 22.998 ms/op 1.21
Slice from ArrayBuffer x25000 + new Uint8Array 32.476 ms/op 30.007 ms/op 1.08
Copy Uint8Array 100000 iterate 712.41 us/op 1.0367 ms/op 0.69
Copy Uint8Array 100000 slice 143.86 us/op 197.08 us/op 0.73
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 49.450 us/op 109.66 us/op 0.45
Copy Buffer 100000 Uint8Array.prototype.slice.call 48.840 us/op 108.86 us/op 0.45
Copy Uint8Array 100000 slice + set 109.89 us/op 248.32 us/op 0.44
Copy Uint8Array 100000 subarray + set 49.366 us/op 108.91 us/op 0.45
Copy Uint8Array 100000 slice arrayBuffer 47.835 us/op 107.91 us/op 0.44
Uint64 deserialize 100000 - iterate Uint8Array 1.2007 ms/op 1.3541 ms/op 0.89
Uint64 deserialize 100000 - by Uint32A 1.1482 ms/op 1.2957 ms/op 0.89
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.2416 ms/op 1.3503 ms/op 0.92
Uint64 deserialize 100000 - by DataView.getBigUint64 2.9769 ms/op 3.2086 ms/op 0.93
Uint64 deserialize 100000 - by byte 11.262 ms/op 18.029 ms/op 0.62

by benchmarkbot/action

@github-actions

Copy link
Copy Markdown
Contributor Author

🤖 Created releases:

🌻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant