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

chore: release master #415

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

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Oct 15, 2024

🤖 I have created a release beep boop

as-sha256: 0.5.0

0.5.0 (2025-01-02)

Bug Fixes

  • add homepage/repo etc to as-sha256 package.json (#401) (1dc50ef)
persistent-merkle-tree: 0.8.0

0.8.0 (2025-01-02)

Features

@chainsafe/ssz: 0.18.1

Dependencies


This PR was generated with Release Please. See documentation.

@wemeetagain wemeetagain requested a review from a team as a code owner October 15, 2024 22:24
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch 2 times, most recently from 9b523bb to 066ec94 Compare October 15, 2024 22:30
Copy link

github-actions bot commented Oct 15, 2024

⚠️ Performance Alert ⚠️

Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.

Benchmark suite Current: e6ff478 Previous: 67bcd88 Ratio
get_exitEpoch - ContainerType 2.1090 us/op 349.00 ns/op 6.04

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: e6ff478 Previous: 67bcd88 Ratio
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 4.0680 us/op 12.266 us/op 0.33
Full benchmark results
Benchmark suite Current: e6ff478 Previous: 67bcd88 Ratio
digestTwoHashObjects 50023 times 49.124 ms/op 48.534 ms/op 1.01
digest64 50023 times 53.835 ms/op 54.307 ms/op 0.99
digest 50023 times 55.806 ms/op 59.754 ms/op 0.93
input length 32 1.1820 us/op 1.2640 us/op 0.94
input length 64 1.3310 us/op 1.4560 us/op 0.91
input length 128 2.2930 us/op 2.4600 us/op 0.93
input length 256 3.3700 us/op 3.6240 us/op 0.93
input length 512 5.5830 us/op 5.9160 us/op 0.94
input length 1024 10.734 us/op 11.497 us/op 0.93
digest 1000000 times 873.88 ms/op 963.19 ms/op 0.91
hashObjectToByteArray 50023 times 1.2484 ms/op 1.2444 ms/op 1.00
byteArrayToHashObject 50023 times 1.7949 ms/op 1.8378 ms/op 0.98
digest64 200092 times 216.93 ms/op 228.31 ms/op 0.95
hash 200092 times using batchHash4UintArray64s 248.33 ms/op 261.17 ms/op 0.95
digest64HashObjects 200092 times 195.24 ms/op 216.93 ms/op 0.90
hash 200092 times using batchHash4HashObjectInputs 212.18 ms/op 225.43 ms/op 0.94
getGindicesAtDepth 4.2330 us/op 4.5980 us/op 0.92
iterateAtDepth 7.6340 us/op 7.7860 us/op 0.98
getGindexBits 452.00 ns/op 489.00 ns/op 0.92
gindexIterator 1.0320 us/op 1.0870 us/op 0.95
HashComputationLevel.push then loop 27.164 ms/op 35.178 ms/op 0.77
HashComputation[] push then loop 48.922 ms/op 51.206 ms/op 0.96
hash 2 Uint8Array 500000 times - as-sha256 547.87 ms/op 547.45 ms/op 1.00
hashTwoObjects 500000 times - as-sha256 513.00 ms/op 503.27 ms/op 1.02
executeHashComputations - as-sha256 47.599 ms/op 50.429 ms/op 0.94
hash 2 Uint8Array 500000 times - noble 1.2040 s/op 1.3393 s/op 0.90
hashTwoObjects 500000 times - noble 1.8006 s/op 1.9093 s/op 0.94
executeHashComputations - noble 43.969 ms/op 44.044 ms/op 1.00
hash 2 Uint8Array 500000 times - hashtree 228.54 ms/op 230.05 ms/op 0.99
hashTwoObjects 500000 times - hashtree 222.22 ms/op 223.71 ms/op 0.99
executeHashComputations - hashtree 12.495 ms/op 11.933 ms/op 1.05
getHashComputations 2.8319 ms/op 3.1171 ms/op 0.91
executeHashComputations 11.395 ms/op 13.363 ms/op 0.85
get root 15.172 ms/op 15.899 ms/op 0.95
getNodeH() x7812.5 avg hindex 12.215 us/op 12.304 us/op 0.99
getNodeH() x7812.5 index 0 7.4560 us/op 7.4900 us/op 1.00
getNodeH() x7812.5 index 7 7.5310 us/op 7.5500 us/op 1.00
getNodeH() x7812.5 index 7 with key array 6.2880 us/op 6.2710 us/op 1.00
new LeafNode() x7812.5 288.99 us/op 348.47 us/op 0.83
getHashComputations 250000 nodes 17.096 ms/op 18.653 ms/op 0.92
batchHash 250000 nodes 82.588 ms/op 95.616 ms/op 0.86
get root 250000 nodes 120.96 ms/op 119.05 ms/op 1.02
getHashComputations 500000 nodes 32.090 ms/op 30.525 ms/op 1.05
batchHash 500000 nodes 154.13 ms/op 181.21 ms/op 0.85
get root 500000 nodes 230.37 ms/op 239.66 ms/op 0.96
getHashComputations 1000000 nodes 65.514 ms/op 70.064 ms/op 0.94
batchHash 1000000 nodes 345.46 ms/op 405.13 ms/op 0.85
get root 1000000 nodes 462.87 ms/op 489.02 ms/op 0.95
multiproof - depth 15, 1 requested leaves 8.8980 us/op 9.5110 us/op 0.94
tree offset multiproof - depth 15, 1 requested leaves 18.865 us/op 20.496 us/op 0.92
compact multiproof - depth 15, 1 requested leaves 3.2750 us/op 4.0970 us/op 0.80
multiproof - depth 15, 2 requested leaves 11.916 us/op 13.534 us/op 0.88
tree offset multiproof - depth 15, 2 requested leaves 22.071 us/op 24.609 us/op 0.90
compact multiproof - depth 15, 2 requested leaves 3.4250 us/op 3.9200 us/op 0.87
multiproof - depth 15, 3 requested leaves 18.061 us/op 18.742 us/op 0.96
tree offset multiproof - depth 15, 3 requested leaves 30.988 us/op 31.574 us/op 0.98
compact multiproof - depth 15, 3 requested leaves 4.1610 us/op 5.2900 us/op 0.79
multiproof - depth 15, 4 requested leaves 23.150 us/op 24.069 us/op 0.96
tree offset multiproof - depth 15, 4 requested leaves 35.342 us/op 38.556 us/op 0.92
compact multiproof - depth 15, 4 requested leaves 5.9030 us/op 6.3280 us/op 0.93
packedRootsBytesToLeafNodes bytes 4000 offset 0 6.1270 us/op 7.2120 us/op 0.85
packedRootsBytesToLeafNodes bytes 4000 offset 1 5.8380 us/op 7.1830 us/op 0.81
packedRootsBytesToLeafNodes bytes 4000 offset 2 5.7050 us/op 7.1300 us/op 0.80
packedRootsBytesToLeafNodes bytes 4000 offset 3 5.7460 us/op 7.2200 us/op 0.80
subtreeFillToContents depth 40 count 250000 51.109 ms/op 52.492 ms/op 0.97
setRoot - gindexBitstring 20.904 ms/op 30.338 ms/op 0.69
setRoot - gindex 20.764 ms/op 32.009 ms/op 0.65
getRoot - gindexBitstring 2.5532 ms/op 3.1038 ms/op 0.82
getRoot - gindex 3.3528 ms/op 3.7137 ms/op 0.90
getHashObject then setHashObject 20.582 ms/op 32.499 ms/op 0.63
setNodeWithFn 18.341 ms/op 30.711 ms/op 0.60
getNodeAtDepth depth 0 x100000 280.47 us/op 280.74 us/op 1.00
setNodeAtDepth depth 0 x100000 2.2300 ms/op 4.6873 ms/op 0.48
getNodesAtDepth depth 0 x100000 311.59 us/op 312.18 us/op 1.00
setNodesAtDepth depth 0 x100000 760.50 us/op 762.22 us/op 1.00
getNodeAtDepth depth 1 x100000 342.27 us/op 342.23 us/op 1.00
setNodeAtDepth depth 1 x100000 7.3707 ms/op 13.373 ms/op 0.55
getNodesAtDepth depth 1 x100000 435.99 us/op 436.20 us/op 1.00
setNodesAtDepth depth 1 x100000 6.1690 ms/op 11.255 ms/op 0.55
getNodeAtDepth depth 2 x100000 827.77 us/op 759.77 us/op 1.09
setNodeAtDepth depth 2 x100000 14.356 ms/op 24.167 ms/op 0.59
getNodesAtDepth depth 2 x100000 17.578 ms/op 21.294 ms/op 0.83
setNodesAtDepth depth 2 x100000 21.002 ms/op 31.703 ms/op 0.66
tree.getNodesAtDepth - gindexes 8.4991 ms/op 12.719 ms/op 0.67
tree.getNodesAtDepth - push all nodes 1.9170 ms/op 5.1470 ms/op 0.37
tree.getNodesAtDepth - navigation 315.73 us/op 311.54 us/op 1.01
tree.setNodesAtDepth - indexes 653.93 us/op 1.1858 ms/op 0.55
set at depth 8 652.00 ns/op 1.1310 us/op 0.58
set at depth 16 1.0950 us/op 1.7230 us/op 0.64
set at depth 32 1.8830 us/op 2.9230 us/op 0.64
iterateNodesAtDepth 8 256 13.517 us/op 17.667 us/op 0.77
getNodesAtDepth 8 256 3.6820 us/op 4.4100 us/op 0.83
iterateNodesAtDepth 16 65536 4.4737 ms/op 5.3122 ms/op 0.84
getNodesAtDepth 16 65536 1.5958 ms/op 4.0677 ms/op 0.39
iterateNodesAtDepth 32 250000 15.987 ms/op 19.013 ms/op 0.84
getNodesAtDepth 32 250000 4.5267 ms/op 8.4214 ms/op 0.54
iterateNodesAtDepth 40 250000 16.120 ms/op 19.117 ms/op 0.84
getNodesAtDepth 40 250000 4.4689 ms/op 8.6194 ms/op 0.52
250000 validators root getter 115.95 ms/op 121.23 ms/op 0.96
250000 validators batchHash() 83.165 ms/op 142.47 ms/op 0.58
250000 validators hashComputations 13.651 ms/op 22.696 ms/op 0.60
bitlist bytes to struct (120,90) 991.00 ns/op 920.00 ns/op 1.08
bitlist bytes to tree (120,90) 3.6400 us/op 3.4900 us/op 1.04
bitlist bytes to struct (2048,2048) 1.3700 us/op 1.5770 us/op 0.87
bitlist bytes to tree (2048,2048) 4.6170 us/op 6.2810 us/op 0.74
ByteListType - deserialize 8.6269 ms/op 12.107 ms/op 0.71
BasicListType - deserialize 18.175 ms/op 16.994 ms/op 1.07
ByteListType - serialize 8.6364 ms/op 12.032 ms/op 0.72
BasicListType - serialize 10.582 ms/op 16.130 ms/op 0.66
BasicListType - tree_convertToStruct 30.274 ms/op 36.064 ms/op 0.84
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 5.4875 ms/op 7.2252 ms/op 0.76
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.3205 ms/op 4.2639 ms/op 1.01
Array.push len 300000 empty Array - number 7.3971 ms/op 7.5834 ms/op 0.98
Array.set len 300000 from new Array - number 1.8029 ms/op 2.9362 ms/op 0.61
Array.set len 300000 - number 6.1780 ms/op 7.7359 ms/op 0.80
Uint8Array.set len 300000 492.27 us/op 497.16 us/op 0.99
Uint32Array.set len 300000 575.16 us/op 591.39 us/op 0.97
Container({a: uint8, b: uint8}) getViewDU x300000 26.095 ms/op 30.896 ms/op 0.84
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 11.223 ms/op 12.371 ms/op 0.91
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 220.69 ms/op 252.50 ms/op 0.87
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 243.96 ms/op 319.45 ms/op 0.76
List(Container) len 300000 ViewDU.get(i) 7.1384 ms/op 9.4577 ms/op 0.75
List(Container) len 300000 ViewDU.getReadonly(i) 6.5236 ms/op 8.9362 ms/op 0.73
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 40.206 ms/op 41.379 ms/op 0.97
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.4829 ms/op 7.7182 ms/op 0.71
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.1289 ms/op 7.9956 ms/op 0.77
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 5.8864 ms/op 7.8038 ms/op 0.75
Array.push len 300000 empty Array - object 6.8199 ms/op 7.9760 ms/op 0.86
Array.set len 300000 from new Array - object 2.1632 ms/op 2.7097 ms/op 0.80
Array.set len 300000 - object 6.2227 ms/op 7.7203 ms/op 0.81
cachePermanentRootStruct no cache 19.346 us/op 23.078 us/op 0.84
cachePermanentRootStruct with cache 227.00 ns/op 307.00 ns/op 0.74
epochParticipation len 250000 rws 7813 2.2709 ms/op 2.6454 ms/op 0.86
BeaconState ViewDU hashTreeRoot() vc=200000 505.44 ms/op 622.47 ms/op 0.81
BeaconState ViewDU recursive hash - commit step vc=200000 4.6412 ms/op 5.1588 ms/op 0.90
BeaconState ViewDU validator tree creation vc=10000 39.458 ms/op 44.505 ms/op 0.89
BeaconState ViewDU batchHashTreeRoot vc=200000 408.03 ms/op 450.06 ms/op 0.91
BeaconState ViewDU hashTreeRoot - commit step vc=200000 328.30 ms/op 412.77 ms/op 0.80
BeaconState ViewDU hashTreeRoot - hash step vc=200000 71.923 ms/op 75.035 ms/op 0.96
deserialize Attestation - tree 3.6770 us/op 4.4230 us/op 0.83
deserialize Attestation - struct 1.9060 us/op 2.4120 us/op 0.79
deserialize SignedAggregateAndProof - tree 4.8390 us/op 6.1330 us/op 0.79
deserialize SignedAggregateAndProof - struct 3.4460 us/op 3.9570 us/op 0.87
deserialize SyncCommitteeMessage - tree 1.4860 us/op 1.6970 us/op 0.88
deserialize SyncCommitteeMessage - struct 1.2570 us/op 1.3570 us/op 0.93
deserialize SignedContributionAndProof - tree 2.9620 us/op 3.5800 us/op 0.83
deserialize SignedContributionAndProof - struct 2.3600 us/op 3.0830 us/op 0.77
deserialize SignedBeaconBlock - tree 267.21 us/op 366.50 us/op 0.73
deserialize SignedBeaconBlock - struct 123.55 us/op 167.06 us/op 0.74
BeaconState vc 300000 - deserialize tree 642.51 ms/op 753.75 ms/op 0.85
BeaconState vc 300000 - serialize tree 132.51 ms/op 185.45 ms/op 0.71
BeaconState.historicalRoots vc 300000 - deserialize tree 820.00 ns/op 1.0190 us/op 0.80
BeaconState.historicalRoots vc 300000 - serialize tree 644.00 ns/op 855.00 ns/op 0.75
BeaconState.validators vc 300000 - deserialize tree 603.12 ms/op 727.49 ms/op 0.83
BeaconState.validators vc 300000 - serialize tree 104.55 ms/op 136.73 ms/op 0.76
BeaconState.balances vc 300000 - deserialize tree 27.450 ms/op 30.668 ms/op 0.90
BeaconState.balances vc 300000 - serialize tree 4.1682 ms/op 6.4318 ms/op 0.65
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 950.62 us/op 1.4022 ms/op 0.68
BeaconState.previousEpochParticipation vc 300000 - serialize tree 336.82 us/op 349.95 us/op 0.96
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 937.88 us/op 1.3746 ms/op 0.68
BeaconState.currentEpochParticipation vc 300000 - serialize tree 331.67 us/op 356.14 us/op 0.93
BeaconState.inactivityScores vc 300000 - deserialize tree 27.966 ms/op 31.678 ms/op 0.88
BeaconState.inactivityScores vc 300000 - serialize tree 4.1996 ms/op 7.9826 ms/op 0.53
hashTreeRoot Attestation - struct 70.726 us/op 129.30 us/op 0.55
hashTreeRoot Attestation - tree 71.437 us/op 137.54 us/op 0.52
hashTreeRoot SignedAggregateAndProof - struct 95.816 us/op 178.99 us/op 0.54
hashTreeRoot SignedAggregateAndProof - tree 99.734 us/op 162.40 us/op 0.61
hashTreeRoot SyncCommitteeMessage - struct 20.858 us/op 32.456 us/op 0.64
hashTreeRoot SyncCommitteeMessage - tree 21.840 us/op 36.496 us/op 0.60
hashTreeRoot SignedContributionAndProof - struct 64.114 us/op 102.88 us/op 0.62
hashTreeRoot SignedContributionAndProof - tree 69.048 us/op 105.59 us/op 0.65
hashTreeRoot SignedBeaconBlock - struct 5.3921 ms/op 7.7297 ms/op 0.70
hashTreeRoot SignedBeaconBlock - tree 6.3870 ms/op 7.1112 ms/op 0.90
hashTreeRoot Validator - struct 26.056 us/op 33.093 us/op 0.79
hashTreeRoot Validator - tree 30.860 us/op 38.402 us/op 0.80
BeaconState vc 300000 - hashTreeRoot tree 10.716 s/op 13.470 s/op 0.80
BeaconState vc 300000 - batchHashTreeRoot tree 6.6086 s/op 7.0883 s/op 0.93
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 4.0680 us/op 12.266 us/op 0.33
BeaconState.validators vc 300000 - hashTreeRoot tree 10.938 s/op 13.300 s/op 0.82
BeaconState.balances vc 300000 - hashTreeRoot tree 292.00 ms/op 347.50 ms/op 0.84
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 36.919 ms/op 47.842 ms/op 0.77
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 35.868 ms/op 43.464 ms/op 0.83
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 286.95 ms/op 345.34 ms/op 0.83
hash64 x18 48.013 us/op 57.063 us/op 0.84
hashTwoObjects x18 62.468 us/op 78.961 us/op 0.79
hash64 x1740 4.3771 ms/op 5.4195 ms/op 0.81
hashTwoObjects x1740 6.1838 ms/op 7.6401 ms/op 0.81
hash64 x2700000 7.0380 s/op 8.2063 s/op 0.86
hashTwoObjects x2700000 9.3798 s/op 11.876 s/op 0.79
get_exitEpoch - ContainerType 2.1090 us/op 349.00 ns/op 6.04
get_exitEpoch - ContainerNodeStructType 301.00 ns/op 308.00 ns/op 0.98
set_exitEpoch - ContainerType 294.00 ns/op 333.00 ns/op 0.88
set_exitEpoch - ContainerNodeStructType 278.00 ns/op 300.00 ns/op 0.93
get_pubkey - ContainerType 1.0070 us/op 1.0480 us/op 0.96
get_pubkey - ContainerNodeStructType 265.00 ns/op 265.00 ns/op 1.00
hashTreeRoot - ContainerType 474.00 ns/op 526.00 ns/op 0.90
hashTreeRoot - ContainerNodeStructType 456.00 ns/op 493.00 ns/op 0.92
createProof - ContainerType 4.7460 us/op 4.6860 us/op 1.01
createProof - ContainerNodeStructType 22.011 us/op 24.618 us/op 0.89
serialize - ContainerType 1.5570 us/op 2.0110 us/op 0.77
serialize - ContainerNodeStructType 1.3640 us/op 1.6850 us/op 0.81
set_exitEpoch_and_hashTreeRoot - ContainerType 11.839 us/op 14.952 us/op 0.79
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 31.163 us/op 37.650 us/op 0.83
Array - for of 6.3120 us/op 5.7940 us/op 1.09
Array - for(;;) 6.4400 us/op 5.7660 us/op 1.12
basicListValue.readonlyValuesArray() 3.8517 ms/op 5.8944 ms/op 0.65
basicListValue.readonlyValuesArray() + loop all 4.0187 ms/op 6.4809 ms/op 0.62
compositeListValue.readonlyValuesArray() 27.875 ms/op 29.846 ms/op 0.93
compositeListValue.readonlyValuesArray() + loop all 27.228 ms/op 32.682 ms/op 0.83
Number64UintType - get balances list 4.2649 ms/op 4.9500 ms/op 0.86
Number64UintType - set balances list 10.258 ms/op 10.209 ms/op 1.00
Number64UintType - get and increase 10 then set 38.526 ms/op 46.200 ms/op 0.83
Number64UintType - increase 10 using applyDelta 14.214 ms/op 17.176 ms/op 0.83
Number64UintType - increase 10 using applyDeltaInBatch 14.115 ms/op 16.435 ms/op 0.86
tree_newTreeFromUint64Deltas 19.574 ms/op 22.433 ms/op 0.87
unsafeUint8ArrayToTree 36.419 ms/op 41.909 ms/op 0.87
bitLength(50) 217.00 ns/op 279.00 ns/op 0.78
bitLengthStr(50) 207.00 ns/op 245.00 ns/op 0.84
bitLength(8000) 212.00 ns/op 265.00 ns/op 0.80
bitLengthStr(8000) 252.00 ns/op 297.00 ns/op 0.85
bitLength(250000) 211.00 ns/op 265.00 ns/op 0.80
bitLengthStr(250000) 287.00 ns/op 311.00 ns/op 0.92
floor - Math.floor (53) 1.2461 ns/op 1.2444 ns/op 1.00
floor - << 0 (53) 1.2443 ns/op 1.2431 ns/op 1.00
floor - Math.floor (512) 1.2433 ns/op 1.2434 ns/op 1.00
floor - << 0 (512) 1.2547 ns/op 1.2438 ns/op 1.01
fnIf(0) 1.5550 ns/op 1.5543 ns/op 1.00
fnSwitch(0) 2.1827 ns/op 2.1756 ns/op 1.00
fnObj(0) 1.5654 ns/op 1.5792 ns/op 0.99
fnArr(0) 1.5571 ns/op 1.5817 ns/op 0.98
fnIf(4) 2.1783 ns/op 2.1766 ns/op 1.00
fnSwitch(4) 2.1861 ns/op 2.1769 ns/op 1.00
fnObj(4) 1.5684 ns/op 1.5674 ns/op 1.00
fnArr(4) 1.5538 ns/op 1.5579 ns/op 1.00
fnIf(9) 3.1078 ns/op 3.1086 ns/op 1.00
fnSwitch(9) 2.1747 ns/op 2.1822 ns/op 1.00
fnObj(9) 1.5579 ns/op 1.5621 ns/op 1.00
fnArr(9) 1.5538 ns/op 1.5553 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.67 us/op 124.67 us/op 1.00
Container {a,b,vec} - as tree x100000 528.63 us/op 532.84 us/op 0.99
Container {a,vec,b} - as struct x100000 155.68 us/op 155.80 us/op 1.00
Container {a,vec,b} - as tree x100000 497.76 us/op 503.38 us/op 0.99
get 2 props x1000000 - rawObject 311.04 us/op 311.26 us/op 1.00
get 2 props x1000000 - proxy 73.817 ms/op 75.486 ms/op 0.98
get 2 props x1000000 - customObj 311.73 us/op 311.17 us/op 1.00
Simple object binary -> struct 560.00 ns/op 919.00 ns/op 0.61
Simple object binary -> tree_backed 1.5300 us/op 2.4390 us/op 0.63
Simple object struct -> tree_backed 2.0400 us/op 2.8430 us/op 0.72
Simple object tree_backed -> struct 1.4250 us/op 1.9930 us/op 0.72
Simple object struct -> binary 797.00 ns/op 1.0970 us/op 0.73
Simple object tree_backed -> binary 1.1740 us/op 1.9160 us/op 0.61
aggregationBits binary -> struct 448.00 ns/op 703.00 ns/op 0.64
aggregationBits binary -> tree_backed 1.9140 us/op 2.7310 us/op 0.70
aggregationBits struct -> tree_backed 2.2820 us/op 3.2070 us/op 0.71
aggregationBits tree_backed -> struct 889.00 ns/op 1.2990 us/op 0.68
aggregationBits struct -> binary 666.00 ns/op 714.00 ns/op 0.93
aggregationBits tree_backed -> binary 786.00 ns/op 1.0160 us/op 0.77
List(uint8) 100000 binary -> struct 1.3109 ms/op 1.6494 ms/op 0.79
List(uint8) 100000 binary -> tree_backed 256.83 us/op 339.52 us/op 0.76
List(uint8) 100000 struct -> tree_backed 1.3565 ms/op 1.4676 ms/op 0.92
List(uint8) 100000 tree_backed -> struct 1.0122 ms/op 1.2180 ms/op 0.83
List(uint8) 100000 struct -> binary 1.1006 ms/op 1.2050 ms/op 0.91
List(uint8) 100000 tree_backed -> binary 105.76 us/op 109.59 us/op 0.96
List(uint64Number) 100000 binary -> struct 1.2841 ms/op 1.4993 ms/op 0.86
List(uint64Number) 100000 binary -> tree_backed 4.0927 ms/op 4.5535 ms/op 0.90
List(uint64Number) 100000 struct -> tree_backed 6.0683 ms/op 7.1613 ms/op 0.85
List(uint64Number) 100000 tree_backed -> struct 2.5029 ms/op 2.9460 ms/op 0.85
List(uint64Number) 100000 struct -> binary 1.5844 ms/op 1.8056 ms/op 0.88
List(uint64Number) 100000 tree_backed -> binary 1.0101 ms/op 1.0936 ms/op 0.92
List(Uint64Bigint) 100000 binary -> struct 4.1001 ms/op 4.1210 ms/op 0.99
List(Uint64Bigint) 100000 binary -> tree_backed 4.3466 ms/op 5.4431 ms/op 0.80
List(Uint64Bigint) 100000 struct -> tree_backed 6.7314 ms/op 7.7106 ms/op 0.87
List(Uint64Bigint) 100000 tree_backed -> struct 5.2561 ms/op 5.6203 ms/op 0.94
List(Uint64Bigint) 100000 struct -> binary 2.0801 ms/op 2.0891 ms/op 1.00
List(Uint64Bigint) 100000 tree_backed -> binary 987.86 us/op 1.8251 ms/op 0.54
Vector(Root) 100000 binary -> struct 29.873 ms/op 37.245 ms/op 0.80
Vector(Root) 100000 binary -> tree_backed 35.004 ms/op 42.026 ms/op 0.83
Vector(Root) 100000 struct -> tree_backed 46.574 ms/op 49.755 ms/op 0.94
Vector(Root) 100000 tree_backed -> struct 46.286 ms/op 50.143 ms/op 0.92
Vector(Root) 100000 struct -> binary 2.6251 ms/op 2.7521 ms/op 0.95
Vector(Root) 100000 tree_backed -> binary 6.6219 ms/op 7.7308 ms/op 0.86
List(Validator) 100000 binary -> struct 97.896 ms/op 111.36 ms/op 0.88
List(Validator) 100000 binary -> tree_backed 329.55 ms/op 387.51 ms/op 0.85
List(Validator) 100000 struct -> tree_backed 353.27 ms/op 400.61 ms/op 0.88
List(Validator) 100000 tree_backed -> struct 191.44 ms/op 204.14 ms/op 0.94
List(Validator) 100000 struct -> binary 29.171 ms/op 29.547 ms/op 0.99
List(Validator) 100000 tree_backed -> binary 93.499 ms/op 99.169 ms/op 0.94
List(Validator-NS) 100000 binary -> struct 110.92 ms/op 114.05 ms/op 0.97
List(Validator-NS) 100000 binary -> tree_backed 154.40 ms/op 190.85 ms/op 0.81
List(Validator-NS) 100000 struct -> tree_backed 205.04 ms/op 224.46 ms/op 0.91
List(Validator-NS) 100000 tree_backed -> struct 169.72 ms/op 173.86 ms/op 0.98
List(Validator-NS) 100000 struct -> binary 29.534 ms/op 29.662 ms/op 1.00
List(Validator-NS) 100000 tree_backed -> binary 35.340 ms/op 37.867 ms/op 0.93
get epochStatuses - MutableVector 103.38 us/op 115.24 us/op 0.90
get epochStatuses - ViewDU 177.90 us/op 194.01 us/op 0.92
set epochStatuses - ListTreeView 2.1197 ms/op 2.1869 ms/op 0.97
set epochStatuses - ListTreeView - set() 438.18 us/op 443.43 us/op 0.99
set epochStatuses - ListTreeView - commit() 765.53 us/op 784.12 us/op 0.98
bitstring 517.82 ns/op 516.62 ns/op 1.00
bit mask 13.578 ns/op 13.881 ns/op 0.98
struct - increase slot to 1000000 936.59 us/op 932.73 us/op 1.00
UintNumberType - increase slot to 1000000 26.856 ms/op 26.801 ms/op 1.00
UintBigintType - increase slot to 1000000 176.64 ms/op 205.69 ms/op 0.86
UintBigint8 x 100000 tree_deserialize 5.1476 ms/op 5.7488 ms/op 0.90
UintBigint8 x 100000 tree_serialize 618.83 us/op 625.27 us/op 0.99
UintBigint16 x 100000 tree_deserialize 5.3921 ms/op 6.4120 ms/op 0.84
UintBigint16 x 100000 tree_serialize 1.5403 ms/op 1.7094 ms/op 0.90
UintBigint32 x 100000 tree_deserialize 5.7730 ms/op 6.7822 ms/op 0.85
UintBigint32 x 100000 tree_serialize 1.9337 ms/op 2.1262 ms/op 0.91
UintBigint64 x 100000 tree_deserialize 6.5118 ms/op 7.8151 ms/op 0.83
UintBigint64 x 100000 tree_serialize 1.7466 ms/op 2.0621 ms/op 0.85
UintBigint8 x 100000 value_deserialize 435.33 us/op 436.34 us/op 1.00
UintBigint8 x 100000 value_serialize 812.26 us/op 859.14 us/op 0.95
UintBigint16 x 100000 value_deserialize 466.55 us/op 466.54 us/op 1.00
UintBigint16 x 100000 value_serialize 870.13 us/op 969.16 us/op 0.90
UintBigint32 x 100000 value_deserialize 497.91 us/op 497.83 us/op 1.00
UintBigint32 x 100000 value_serialize 882.09 us/op 1.0305 ms/op 0.86
UintBigint64 x 100000 value_deserialize 562.51 us/op 563.99 us/op 1.00
UintBigint64 x 100000 value_serialize 1.0949 ms/op 1.3526 ms/op 0.81
UintBigint8 x 100000 deserialize 3.5029 ms/op 4.0309 ms/op 0.87
UintBigint8 x 100000 serialize 1.6773 ms/op 1.6515 ms/op 1.02
UintBigint16 x 100000 deserialize 3.5273 ms/op 3.4411 ms/op 1.03
UintBigint16 x 100000 serialize 1.7131 ms/op 1.6215 ms/op 1.06
UintBigint32 x 100000 deserialize 3.5567 ms/op 3.5847 ms/op 0.99
UintBigint32 x 100000 serialize 3.0382 ms/op 3.1418 ms/op 0.97
UintBigint64 x 100000 deserialize 4.1838 ms/op 4.3650 ms/op 0.96
UintBigint64 x 100000 serialize 1.6588 ms/op 1.6272 ms/op 1.02
UintBigint128 x 100000 deserialize 6.2898 ms/op 5.7066 ms/op 1.10
UintBigint128 x 100000 serialize 15.830 ms/op 15.115 ms/op 1.05
UintBigint256 x 100000 deserialize 9.3974 ms/op 9.4140 ms/op 1.00
UintBigint256 x 100000 serialize 42.177 ms/op 43.538 ms/op 0.97
Slice from Uint8Array x25000 1.2627 ms/op 1.5021 ms/op 0.84
Slice from ArrayBuffer x25000 16.110 ms/op 16.764 ms/op 0.96
Slice from ArrayBuffer x25000 + new Uint8Array 16.922 ms/op 18.542 ms/op 0.91
Copy Uint8Array 100000 iterate 2.6310 ms/op 2.6700 ms/op 0.99
Copy Uint8Array 100000 slice 90.137 us/op 124.63 us/op 0.72
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 98.273 us/op 122.71 us/op 0.80
Copy Buffer 100000 Uint8Array.prototype.slice.call 102.28 us/op 124.49 us/op 0.82
Copy Uint8Array 100000 slice + set 181.04 us/op 250.69 us/op 0.72
Copy Uint8Array 100000 subarray + set 92.245 us/op 124.74 us/op 0.74
Copy Uint8Array 100000 slice arrayBuffer 93.708 us/op 128.49 us/op 0.73
Uint64 deserialize 100000 - iterate Uint8Array 1.9171 ms/op 2.1647 ms/op 0.89
Uint64 deserialize 100000 - by Uint32A 1.9191 ms/op 2.1301 ms/op 0.90
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.9858 ms/op 2.1953 ms/op 0.90
Uint64 deserialize 100000 - by DataView.getBigUint64 5.1745 ms/op 5.3190 ms/op 0.97
Uint64 deserialize 100000 - by byte 40.871 ms/op 41.069 ms/op 1.00

by benchmarkbot/action

@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 066ec94 to aa728bc Compare October 16, 2024 15:28
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch 2 times, most recently from fb0373d to 8166d5f Compare November 13, 2024 03:49
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 8166d5f to e3cf814 Compare December 20, 2024 17:14
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from e3cf814 to 35b4bec Compare January 2, 2025 11:25
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