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 (2024-11-13)

Bug Fixes

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

0.8.0 (2024-11-13)

Features

@chainsafe/ssz: 0.18.1

Dependencies


This PR was generated with Release Please. See documentation.

Copy link

github-actions bot commented Oct 15, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 4d57d05 Previous: e58781f Ratio
digestTwoHashObjects 50023 times 48.341 ms/op 48.243 ms/op 1.00
digest64 50023 times 53.654 ms/op 53.846 ms/op 1.00
digest 50023 times 54.728 ms/op 55.442 ms/op 0.99
input length 32 1.1990 us/op 1.2160 us/op 0.99
input length 64 1.3400 us/op 1.3420 us/op 1.00
input length 128 2.2880 us/op 2.2870 us/op 1.00
input length 256 3.3630 us/op 3.3970 us/op 0.99
input length 512 5.5730 us/op 5.6410 us/op 0.99
input length 1024 10.727 us/op 11.105 us/op 0.97
digest 1000000 times 852.39 ms/op 887.39 ms/op 0.96
hashObjectToByteArray 50023 times 1.7195 ms/op 1.7092 ms/op 1.01
byteArrayToHashObject 50023 times 2.3323 ms/op 2.3218 ms/op 1.00
digest64 200092 times 215.79 ms/op 219.70 ms/op 0.98
hash 200092 times using batchHash4UintArray64s 233.25 ms/op 237.40 ms/op 0.98
digest64HashObjects 200092 times 191.84 ms/op 197.01 ms/op 0.97
hash 200092 times using batchHash4HashObjectInputs 194.86 ms/op 202.27 ms/op 0.96
getGindicesAtDepth 4.1830 us/op 4.2090 us/op 0.99
iterateAtDepth 7.7120 us/op 7.6830 us/op 1.00
getGindexBits 460.00 ns/op 458.00 ns/op 1.00
gindexIterator 1.0750 us/op 1.0570 us/op 1.02
HashComputationLevel.push then loop 24.851 ms/op 26.744 ms/op 0.93
HashComputation[] push then loop 47.357 ms/op 49.699 ms/op 0.95
hash 2 Uint8Array 500000 times - as-sha256 538.53 ms/op 542.64 ms/op 0.99
hashTwoObjects 500000 times - as-sha256 500.59 ms/op 506.48 ms/op 0.99
executeHashComputations - as-sha256 47.276 ms/op 46.500 ms/op 1.02
hash 2 Uint8Array 500000 times - noble 1.1785 s/op 1.2005 s/op 0.98
hashTwoObjects 500000 times - noble 1.6356 s/op 1.7027 s/op 0.96
executeHashComputations - noble 39.922 ms/op 43.488 ms/op 0.92
hash 2 Uint8Array 500000 times - hashtree 211.50 ms/op 221.65 ms/op 0.95
hashTwoObjects 500000 times - hashtree 215.83 ms/op 210.11 ms/op 1.03
executeHashComputations - hashtree 11.103 ms/op 11.860 ms/op 0.94
getHashComputations 2.6176 ms/op 2.7888 ms/op 0.94
executeHashComputations 9.0616 ms/op 12.028 ms/op 0.75
get root 17.350 ms/op 18.120 ms/op 0.96
getNodeH() x7812.5 avg hindex 12.767 us/op 11.963 us/op 1.07
getNodeH() x7812.5 index 0 6.3100 us/op 6.2460 us/op 1.01
getNodeH() x7812.5 index 7 6.2760 us/op 6.2880 us/op 1.00
getNodeH() x7812.5 index 7 with key array 6.3430 us/op 6.2660 us/op 1.01
new LeafNode() x7812.5 14.743 us/op 14.767 us/op 1.00
getHashComputations 250000 nodes 18.811 ms/op 19.834 ms/op 0.95
batchHash 250000 nodes 85.619 ms/op 88.667 ms/op 0.97
get root 250000 nodes 125.61 ms/op 115.88 ms/op 1.08
getHashComputations 500000 nodes 26.600 ms/op 26.421 ms/op 1.01
batchHash 500000 nodes 164.64 ms/op 167.13 ms/op 0.99
get root 500000 nodes 256.21 ms/op 229.90 ms/op 1.11
getHashComputations 1000000 nodes 71.395 ms/op 74.207 ms/op 0.96
batchHash 1000000 nodes 342.55 ms/op 359.23 ms/op 0.95
get root 1000000 nodes 491.44 ms/op 477.74 ms/op 1.03
multiproof - depth 15, 1 requested leaves 8.1000 us/op 8.2080 us/op 0.99
tree offset multiproof - depth 15, 1 requested leaves 17.773 us/op 18.153 us/op 0.98
compact multiproof - depth 15, 1 requested leaves 3.5280 us/op 3.5000 us/op 1.01
multiproof - depth 15, 2 requested leaves 11.778 us/op 11.886 us/op 0.99
tree offset multiproof - depth 15, 2 requested leaves 21.482 us/op 22.621 us/op 0.95
compact multiproof - depth 15, 2 requested leaves 3.4400 us/op 3.5070 us/op 0.98
multiproof - depth 15, 3 requested leaves 16.158 us/op 16.968 us/op 0.95
tree offset multiproof - depth 15, 3 requested leaves 27.782 us/op 29.267 us/op 0.95
compact multiproof - depth 15, 3 requested leaves 4.0070 us/op 4.1610 us/op 0.96
multiproof - depth 15, 4 requested leaves 21.737 us/op 23.212 us/op 0.94
tree offset multiproof - depth 15, 4 requested leaves 33.980 us/op 33.747 us/op 1.01
compact multiproof - depth 15, 4 requested leaves 4.6780 us/op 4.8340 us/op 0.97
packedRootsBytesToLeafNodes bytes 4000 offset 0 1.9290 us/op 1.9940 us/op 0.97
packedRootsBytesToLeafNodes bytes 4000 offset 1 1.9470 us/op 1.9880 us/op 0.98
packedRootsBytesToLeafNodes bytes 4000 offset 2 1.9240 us/op 2.0170 us/op 0.95
packedRootsBytesToLeafNodes bytes 4000 offset 3 1.9380 us/op 2.0030 us/op 0.97
subtreeFillToContents depth 40 count 250000 39.566 ms/op 44.179 ms/op 0.90
setRoot - gindexBitstring 9.6501 ms/op 9.0113 ms/op 1.07
setRoot - gindex 9.7221 ms/op 9.2688 ms/op 1.05
getRoot - gindexBitstring 2.5322 ms/op 2.4680 ms/op 1.03
getRoot - gindex 3.3862 ms/op 3.2010 ms/op 1.06
getHashObject then setHashObject 9.9783 ms/op 9.8988 ms/op 1.01
setNodeWithFn 7.5772 ms/op 7.6070 ms/op 1.00
getNodeAtDepth depth 0 x100000 1.1138 ms/op 1.1146 ms/op 1.00
setNodeAtDepth depth 0 x100000 2.4008 ms/op 2.4256 ms/op 0.99
getNodesAtDepth depth 0 x100000 1.0529 ms/op 1.0526 ms/op 1.00
setNodesAtDepth depth 0 x100000 1.5357 ms/op 1.5199 ms/op 1.01
getNodeAtDepth depth 1 x100000 1.1807 ms/op 1.1876 ms/op 0.99
setNodeAtDepth depth 1 x100000 5.1496 ms/op 6.5339 ms/op 0.79
getNodesAtDepth depth 1 x100000 1.1806 ms/op 1.1782 ms/op 1.00
setNodesAtDepth depth 1 x100000 5.2406 ms/op 4.6101 ms/op 1.14
getNodeAtDepth depth 2 x100000 1.4562 ms/op 1.4553 ms/op 1.00
setNodeAtDepth depth 2 x100000 8.8526 ms/op 9.0335 ms/op 0.98
getNodesAtDepth depth 2 x100000 17.927 ms/op 17.148 ms/op 1.05
setNodesAtDepth depth 2 x100000 12.961 ms/op 12.973 ms/op 1.00
tree.getNodesAtDepth - gindexes 7.8523 ms/op 7.5545 ms/op 1.04
tree.getNodesAtDepth - push all nodes 1.8718 ms/op 1.8291 ms/op 1.02
tree.getNodesAtDepth - navigation 235.00 us/op 235.13 us/op 1.00
tree.setNodesAtDepth - indexes 420.80 us/op 402.14 us/op 1.05
set at depth 8 450.00 ns/op 457.00 ns/op 0.98
set at depth 16 585.00 ns/op 590.00 ns/op 0.99
set at depth 32 932.00 ns/op 932.00 ns/op 1.00
iterateNodesAtDepth 8 256 13.120 us/op 13.012 us/op 1.01
getNodesAtDepth 8 256 3.3720 us/op 3.3990 us/op 0.99
iterateNodesAtDepth 16 65536 4.1540 ms/op 4.2236 ms/op 0.98
getNodesAtDepth 16 65536 1.5274 ms/op 1.5425 ms/op 0.99
iterateNodesAtDepth 32 250000 15.228 ms/op 15.836 ms/op 0.96
getNodesAtDepth 32 250000 4.2439 ms/op 4.2444 ms/op 1.00
iterateNodesAtDepth 40 250000 15.216 ms/op 15.697 ms/op 0.97
getNodesAtDepth 40 250000 4.2428 ms/op 4.3415 ms/op 0.98
250000 validators root getter 120.25 ms/op 116.32 ms/op 1.03
250000 validators batchHash() 82.114 ms/op 83.153 ms/op 0.99
250000 validators hashComputations 14.089 ms/op 17.111 ms/op 0.82
bitlist bytes to struct (120,90) 1.0150 us/op 912.00 ns/op 1.11
bitlist bytes to tree (120,90) 3.6080 us/op 3.7060 us/op 0.97
bitlist bytes to struct (2048,2048) 1.3330 us/op 1.3000 us/op 1.03
bitlist bytes to tree (2048,2048) 5.3660 us/op 4.1160 us/op 1.30
ByteListType - deserialize 7.8101 ms/op 7.6292 ms/op 1.02
BasicListType - deserialize 17.939 ms/op 17.349 ms/op 1.03
ByteListType - serialize 7.4989 ms/op 7.6450 ms/op 0.98
BasicListType - serialize 10.515 ms/op 10.296 ms/op 1.02
BasicListType - tree_convertToStruct 28.170 ms/op 29.534 ms/op 0.95
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.5949 ms/op 4.5576 ms/op 1.01
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.0642 ms/op 3.9833 ms/op 1.02
Array.push len 300000 empty Array - number 6.1351 ms/op 6.2896 ms/op 0.98
Array.set len 300000 from new Array - number 2.1126 ms/op 2.1278 ms/op 0.99
Array.set len 300000 - number 5.4902 ms/op 5.9731 ms/op 0.92
Uint8Array.set len 300000 492.40 us/op 486.54 us/op 1.01
Uint32Array.set len 300000 533.56 us/op 562.82 us/op 0.95
Container({a: uint8, b: uint8}) getViewDU x300000 45.552 ms/op 47.349 ms/op 0.96
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.666 ms/op 10.823 ms/op 0.99
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 196.64 ms/op 210.41 ms/op 0.93
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 234.93 ms/op 241.62 ms/op 0.97
List(Container) len 300000 ViewDU.get(i) 6.1940 ms/op 6.6224 ms/op 0.94
List(Container) len 300000 ViewDU.getReadonly(i) 6.1105 ms/op 6.3623 ms/op 0.96
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 38.392 ms/op 38.805 ms/op 0.99
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 4.5223 ms/op 4.5938 ms/op 0.98
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 5.9019 ms/op 6.0350 ms/op 0.98
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 5.7861 ms/op 5.9905 ms/op 0.97
Array.push len 300000 empty Array - object 5.8522 ms/op 6.0831 ms/op 0.96
Array.set len 300000 from new Array - object 2.0397 ms/op 2.0601 ms/op 0.99
Array.set len 300000 - object 5.6158 ms/op 5.8596 ms/op 0.96
cachePermanentRootStruct no cache 5.1720 us/op 5.4530 us/op 0.95
cachePermanentRootStruct with cache 193.00 ns/op 198.00 ns/op 0.97
epochParticipation len 250000 rws 7813 2.1493 ms/op 2.2599 ms/op 0.95
BeaconState ViewDU hashTreeRoot() vc=200000 103.51 ms/op 105.82 ms/op 0.98
BeaconState ViewDU recursive hash - commit step vc=200000 4.2014 ms/op 4.4781 ms/op 0.94
BeaconState ViewDU validator tree creation vc=10000 33.684 ms/op 36.296 ms/op 0.93
BeaconState ViewDU batchHashTreeRoot vc=200000 91.811 ms/op 95.770 ms/op 0.96
BeaconState ViewDU hashTreeRoot - commit step vc=200000 82.681 ms/op 83.425 ms/op 0.99
BeaconState ViewDU hashTreeRoot - hash step vc=200000 14.941 ms/op 15.702 ms/op 0.95
deserialize Attestation - tree 4.0530 us/op 4.6820 us/op 0.87
deserialize Attestation - struct 1.8030 us/op 1.8740 us/op 0.96
deserialize SignedAggregateAndProof - tree 3.6360 us/op 3.9380 us/op 0.92
deserialize SignedAggregateAndProof - struct 2.8870 us/op 2.8760 us/op 1.00
deserialize SyncCommitteeMessage - tree 1.0390 us/op 1.1190 us/op 0.93
deserialize SyncCommitteeMessage - struct 1.0260 us/op 1.0660 us/op 0.96
deserialize SignedContributionAndProof - tree 2.0240 us/op 2.1980 us/op 0.92
deserialize SignedContributionAndProof - struct 2.2170 us/op 2.4530 us/op 0.90
deserialize SignedBeaconBlock - tree 209.18 us/op 220.45 us/op 0.95
deserialize SignedBeaconBlock - struct 116.33 us/op 120.94 us/op 0.96
BeaconState vc 300000 - deserialize tree 611.75 ms/op 625.35 ms/op 0.98
BeaconState vc 300000 - serialize tree 148.29 ms/op 167.11 ms/op 0.89
BeaconState.historicalRoots vc 300000 - deserialize tree 735.00 ns/op 740.00 ns/op 0.99
BeaconState.historicalRoots vc 300000 - serialize tree 635.00 ns/op 661.00 ns/op 0.96
BeaconState.validators vc 300000 - deserialize tree 586.96 ms/op 594.08 ms/op 0.99
BeaconState.validators vc 300000 - serialize tree 105.16 ms/op 102.95 ms/op 1.02
BeaconState.balances vc 300000 - deserialize tree 22.693 ms/op 23.774 ms/op 0.95
BeaconState.balances vc 300000 - serialize tree 3.3264 ms/op 3.5483 ms/op 0.94
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 355.19 us/op 407.23 us/op 0.87
BeaconState.previousEpochParticipation vc 300000 - serialize tree 289.21 us/op 300.47 us/op 0.96
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 353.68 us/op 367.26 us/op 0.96
BeaconState.currentEpochParticipation vc 300000 - serialize tree 286.41 us/op 303.44 us/op 0.94
BeaconState.inactivityScores vc 300000 - deserialize tree 22.032 ms/op 23.701 ms/op 0.93
BeaconState.inactivityScores vc 300000 - serialize tree 3.3793 ms/op 3.5339 ms/op 0.96
hashTreeRoot Attestation - struct 16.012 us/op 19.038 us/op 0.84
hashTreeRoot Attestation - tree 9.3120 us/op 9.1270 us/op 1.02
hashTreeRoot SignedAggregateAndProof - struct 23.663 us/op 24.357 us/op 0.97
hashTreeRoot SignedAggregateAndProof - tree 13.172 us/op 12.946 us/op 1.02
hashTreeRoot SyncCommitteeMessage - struct 6.0740 us/op 6.2560 us/op 0.97
hashTreeRoot SyncCommitteeMessage - tree 3.2310 us/op 3.1830 us/op 1.02
hashTreeRoot SignedContributionAndProof - struct 16.042 us/op 16.508 us/op 0.97
hashTreeRoot SignedContributionAndProof - tree 8.9920 us/op 8.8250 us/op 1.02
hashTreeRoot SignedBeaconBlock - struct 1.2593 ms/op 1.2691 ms/op 0.99
hashTreeRoot SignedBeaconBlock - tree 781.93 us/op 763.79 us/op 1.02
hashTreeRoot Validator - struct 7.5960 us/op 7.6760 us/op 0.99
hashTreeRoot Validator - tree 6.3110 us/op 6.6460 us/op 0.95
BeaconState vc 300000 - hashTreeRoot tree 2.1240 s/op 2.1538 s/op 0.99
BeaconState vc 300000 - batchHashTreeRoot tree 3.3369 s/op 3.5603 s/op 0.94
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 978.00 ns/op 1.0680 us/op 0.92
BeaconState.validators vc 300000 - hashTreeRoot tree 2.1235 s/op 2.1477 s/op 0.99
BeaconState.balances vc 300000 - hashTreeRoot tree 34.078 ms/op 32.837 ms/op 1.04
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.1061 ms/op 4.2665 ms/op 0.96
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.1147 ms/op 4.1114 ms/op 1.00
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 37.563 ms/op 33.516 ms/op 1.12
hash64 x18 8.9050 us/op 9.2410 us/op 0.96
hashTwoObjects x18 8.5100 us/op 8.7090 us/op 0.98
hash64 x1740 831.63 us/op 877.38 us/op 0.95
hashTwoObjects x1740 807.60 us/op 813.89 us/op 0.99
hash64 x2700000 1.2686 s/op 1.3210 s/op 0.96
hashTwoObjects x2700000 1.2420 s/op 1.2764 s/op 0.97
get_exitEpoch - ContainerType 221.00 ns/op 369.00 ns/op 0.60
get_exitEpoch - ContainerNodeStructType 214.00 ns/op 388.00 ns/op 0.55
set_exitEpoch - ContainerType 243.00 ns/op 388.00 ns/op 0.63
set_exitEpoch - ContainerNodeStructType 224.00 ns/op 390.00 ns/op 0.57
get_pubkey - ContainerType 876.00 ns/op 1.4530 us/op 0.60
get_pubkey - ContainerNodeStructType 248.00 ns/op 368.00 ns/op 0.67
hashTreeRoot - ContainerType 425.00 ns/op 653.00 ns/op 0.65
hashTreeRoot - ContainerNodeStructType 444.00 ns/op 675.00 ns/op 0.66
createProof - ContainerType 4.0720 us/op 6.4280 us/op 0.63
createProof - ContainerNodeStructType 20.520 us/op 27.037 us/op 0.76
serialize - ContainerType 1.8050 us/op 2.1310 us/op 0.85
serialize - ContainerNodeStructType 1.3570 us/op 1.6440 us/op 0.83
set_exitEpoch_and_hashTreeRoot - ContainerType 2.6810 us/op 2.7420 us/op 0.98
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 6.6470 us/op 8.0520 us/op 0.83
Array - for of 5.7140 us/op 7.0080 us/op 0.82
Array - for(;;) 5.5060 us/op 7.1820 us/op 0.77
basicListValue.readonlyValuesArray() 3.7206 ms/op 4.3980 ms/op 0.85
basicListValue.readonlyValuesArray() + loop all 3.9125 ms/op 4.6682 ms/op 0.84
compositeListValue.readonlyValuesArray() 26.676 ms/op 30.292 ms/op 0.88
compositeListValue.readonlyValuesArray() + loop all 27.579 ms/op 30.032 ms/op 0.92
Number64UintType - get balances list 4.2039 ms/op 4.2023 ms/op 1.00
Number64UintType - set balances list 10.191 ms/op 9.9380 ms/op 1.03
Number64UintType - get and increase 10 then set 37.447 ms/op 40.902 ms/op 0.92
Number64UintType - increase 10 using applyDelta 16.144 ms/op 16.656 ms/op 0.97
Number64UintType - increase 10 using applyDeltaInBatch 16.209 ms/op 17.329 ms/op 0.94
tree_newTreeFromUint64Deltas 16.196 ms/op 17.262 ms/op 0.94
unsafeUint8ArrayToTree 32.529 ms/op 33.193 ms/op 0.98
bitLength(50) 249.00 ns/op 224.00 ns/op 1.11
bitLengthStr(50) 222.00 ns/op 207.00 ns/op 1.07
bitLength(8000) 234.00 ns/op 211.00 ns/op 1.11
bitLengthStr(8000) 266.00 ns/op 258.00 ns/op 1.03
bitLength(250000) 240.00 ns/op 214.00 ns/op 1.12
bitLengthStr(250000) 302.00 ns/op 291.00 ns/op 1.04
floor - Math.floor (53) 1.2394 ns/op 1.2370 ns/op 1.00
floor - << 0 (53) 1.2379 ns/op 1.2561 ns/op 0.99
floor - Math.floor (512) 1.2369 ns/op 1.2367 ns/op 1.00
floor - << 0 (512) 1.2371 ns/op 1.2368 ns/op 1.00
fnIf(0) 1.5464 ns/op 1.5464 ns/op 1.00
fnSwitch(0) 2.1647 ns/op 2.1655 ns/op 1.00
fnObj(0) 1.5460 ns/op 1.5556 ns/op 0.99
fnArr(0) 1.5726 ns/op 1.5466 ns/op 1.02
fnIf(4) 2.1643 ns/op 2.1664 ns/op 1.00
fnSwitch(4) 2.1674 ns/op 2.1706 ns/op 1.00
fnObj(4) 1.5538 ns/op 1.5537 ns/op 1.00
fnArr(4) 1.5479 ns/op 1.5485 ns/op 1.00
fnIf(9) 3.0939 ns/op 3.0934 ns/op 1.00
fnSwitch(9) 2.1638 ns/op 2.1642 ns/op 1.00
fnObj(9) 1.5462 ns/op 1.5494 ns/op 1.00
fnArr(9) 1.5474 ns/op 1.5478 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.06 us/op 123.81 us/op 1.00
Container {a,b,vec} - as tree x100000 341.16 us/op 341.54 us/op 1.00
Container {a,vec,b} - as struct x100000 154.82 us/op 154.75 us/op 1.00
Container {a,vec,b} - as tree x100000 371.09 us/op 372.31 us/op 1.00
get 2 props x1000000 - rawObject 309.74 us/op 309.63 us/op 1.00
get 2 props x1000000 - proxy 72.744 ms/op 73.740 ms/op 0.99
get 2 props x1000000 - customObj 309.45 us/op 310.61 us/op 1.00
Simple object binary -> struct 565.00 ns/op 689.00 ns/op 0.82
Simple object binary -> tree_backed 998.00 ns/op 1.3410 us/op 0.74
Simple object struct -> tree_backed 1.5660 us/op 1.9630 us/op 0.80
Simple object tree_backed -> struct 1.4870 us/op 1.8540 us/op 0.80
Simple object struct -> binary 797.00 ns/op 933.00 ns/op 0.85
Simple object tree_backed -> binary 1.2850 us/op 1.5790 us/op 0.81
aggregationBits binary -> struct 464.00 ns/op 599.00 ns/op 0.77
aggregationBits binary -> tree_backed 1.9770 us/op 2.4590 us/op 0.80
aggregationBits struct -> tree_backed 2.3830 us/op 2.8520 us/op 0.84
aggregationBits tree_backed -> struct 958.00 ns/op 1.2490 us/op 0.77
aggregationBits struct -> binary 662.00 ns/op 798.00 ns/op 0.83
aggregationBits tree_backed -> binary 880.00 ns/op 1.0790 us/op 0.82
List(uint8) 100000 binary -> struct 1.5883 ms/op 1.4515 ms/op 1.09
List(uint8) 100000 binary -> tree_backed 93.871 us/op 96.619 us/op 0.97
List(uint8) 100000 struct -> tree_backed 1.1735 ms/op 1.2458 ms/op 0.94
List(uint8) 100000 tree_backed -> struct 1.1652 ms/op 1.0206 ms/op 1.14
List(uint8) 100000 struct -> binary 1.0615 ms/op 1.0383 ms/op 1.02
List(uint8) 100000 tree_backed -> binary 93.663 us/op 96.603 us/op 0.97
List(uint64Number) 100000 binary -> struct 1.2138 ms/op 1.2164 ms/op 1.00
List(uint64Number) 100000 binary -> tree_backed 2.5817 ms/op 3.3339 ms/op 0.77
List(uint64Number) 100000 struct -> tree_backed 4.1402 ms/op 4.8758 ms/op 0.85
List(uint64Number) 100000 tree_backed -> struct 2.1954 ms/op 2.4317 ms/op 0.90
List(uint64Number) 100000 struct -> binary 1.3982 ms/op 1.5224 ms/op 0.92
List(uint64Number) 100000 tree_backed -> binary 924.48 us/op 932.48 us/op 0.99
List(Uint64Bigint) 100000 binary -> struct 3.5175 ms/op 3.7286 ms/op 0.94
List(Uint64Bigint) 100000 binary -> tree_backed 3.4495 ms/op 3.6569 ms/op 0.94
List(Uint64Bigint) 100000 struct -> tree_backed 4.8368 ms/op 5.9455 ms/op 0.81
List(Uint64Bigint) 100000 tree_backed -> struct 4.3433 ms/op 4.6791 ms/op 0.93
List(Uint64Bigint) 100000 struct -> binary 2.0646 ms/op 2.1101 ms/op 0.98
List(Uint64Bigint) 100000 tree_backed -> binary 949.22 us/op 944.46 us/op 1.01
Vector(Root) 100000 binary -> struct 31.978 ms/op 33.530 ms/op 0.95
Vector(Root) 100000 binary -> tree_backed 26.579 ms/op 31.990 ms/op 0.83
Vector(Root) 100000 struct -> tree_backed 42.239 ms/op 42.422 ms/op 1.00
Vector(Root) 100000 tree_backed -> struct 49.275 ms/op 48.678 ms/op 1.01
Vector(Root) 100000 struct -> binary 2.7205 ms/op 2.7790 ms/op 0.98
Vector(Root) 100000 tree_backed -> binary 9.9379 ms/op 8.6419 ms/op 1.15
List(Validator) 100000 binary -> struct 93.614 ms/op 97.990 ms/op 0.96
List(Validator) 100000 binary -> tree_backed 285.88 ms/op 307.53 ms/op 0.93
List(Validator) 100000 struct -> tree_backed 312.05 ms/op 324.32 ms/op 0.96
List(Validator) 100000 tree_backed -> struct 211.96 ms/op 215.93 ms/op 0.98
List(Validator) 100000 struct -> binary 27.272 ms/op 27.645 ms/op 0.99
List(Validator) 100000 tree_backed -> binary 112.02 ms/op 114.41 ms/op 0.98
List(Validator-NS) 100000 binary -> struct 100.53 ms/op 104.51 ms/op 0.96
List(Validator-NS) 100000 binary -> tree_backed 136.38 ms/op 151.08 ms/op 0.90
List(Validator-NS) 100000 struct -> tree_backed 192.17 ms/op 193.18 ms/op 0.99
List(Validator-NS) 100000 tree_backed -> struct 165.16 ms/op 168.29 ms/op 0.98
List(Validator-NS) 100000 struct -> binary 27.265 ms/op 28.062 ms/op 0.97
List(Validator-NS) 100000 tree_backed -> binary 32.706 ms/op 32.705 ms/op 1.00
get epochStatuses - MutableVector 94.324 us/op 108.56 us/op 0.87
get epochStatuses - ViewDU 200.83 us/op 202.53 us/op 0.99
set epochStatuses - ListTreeView 1.6503 ms/op 2.4053 ms/op 0.69
set epochStatuses - ListTreeView - set() 432.71 us/op 454.94 us/op 0.95
set epochStatuses - ListTreeView - commit() 549.51 us/op 556.67 us/op 0.99
bitstring 638.23 ns/op 645.94 ns/op 0.99
bit mask 14.314 ns/op 13.679 ns/op 1.05
struct - increase slot to 1000000 928.31 us/op 928.36 us/op 1.00
UintNumberType - increase slot to 1000000 21.630 ms/op 21.413 ms/op 1.01
UintBigintType - increase slot to 1000000 163.27 ms/op 169.23 ms/op 0.96
UintBigint8 x 100000 tree_deserialize 4.6553 ms/op 5.0115 ms/op 0.93
UintBigint8 x 100000 tree_serialize 1.1520 ms/op 1.1549 ms/op 1.00
UintBigint16 x 100000 tree_deserialize 4.3779 ms/op 5.0486 ms/op 0.87
UintBigint16 x 100000 tree_serialize 1.2455 ms/op 1.2855 ms/op 0.97
UintBigint32 x 100000 tree_deserialize 4.7882 ms/op 5.4270 ms/op 0.88
UintBigint32 x 100000 tree_serialize 1.2579 ms/op 1.2925 ms/op 0.97
UintBigint64 x 100000 tree_deserialize 5.5550 ms/op 5.6486 ms/op 0.98
UintBigint64 x 100000 tree_serialize 1.6546 ms/op 1.7295 ms/op 0.96
UintBigint8 x 100000 value_deserialize 433.24 us/op 433.66 us/op 1.00
UintBigint8 x 100000 value_serialize 692.19 us/op 718.01 us/op 0.96
UintBigint16 x 100000 value_deserialize 464.06 us/op 464.07 us/op 1.00
UintBigint16 x 100000 value_serialize 720.34 us/op 757.82 us/op 0.95
UintBigint32 x 100000 value_deserialize 433.15 us/op 438.91 us/op 0.99
UintBigint32 x 100000 value_serialize 765.55 us/op 793.66 us/op 0.96
UintBigint64 x 100000 value_deserialize 496.01 us/op 497.38 us/op 1.00
UintBigint64 x 100000 value_serialize 937.38 us/op 980.81 us/op 0.96
UintBigint8 x 100000 deserialize 2.9894 ms/op 3.3464 ms/op 0.89
UintBigint8 x 100000 serialize 1.6817 ms/op 1.9069 ms/op 0.88
UintBigint16 x 100000 deserialize 3.0954 ms/op 3.2067 ms/op 0.97
UintBigint16 x 100000 serialize 1.4629 ms/op 1.5547 ms/op 0.94
UintBigint32 x 100000 deserialize 3.0730 ms/op 3.2863 ms/op 0.94
UintBigint32 x 100000 serialize 2.6724 ms/op 2.8053 ms/op 0.95
UintBigint64 x 100000 deserialize 3.9521 ms/op 4.1025 ms/op 0.96
UintBigint64 x 100000 serialize 1.5346 ms/op 1.5834 ms/op 0.97
UintBigint128 x 100000 deserialize 5.5435 ms/op 5.5703 ms/op 1.00
UintBigint128 x 100000 serialize 13.927 ms/op 14.282 ms/op 0.98
UintBigint256 x 100000 deserialize 8.1626 ms/op 8.4595 ms/op 0.96
UintBigint256 x 100000 serialize 42.132 ms/op 42.168 ms/op 1.00
Slice from Uint8Array x25000 1.3240 ms/op 1.3334 ms/op 0.99
Slice from ArrayBuffer x25000 15.227 ms/op 16.053 ms/op 0.95
Slice from ArrayBuffer x25000 + new Uint8Array 15.902 ms/op 17.122 ms/op 0.93
Copy Uint8Array 100000 iterate 2.6180 ms/op 2.7648 ms/op 0.95
Copy Uint8Array 100000 slice 98.294 us/op 100.46 us/op 0.98
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 97.964 us/op 100.26 us/op 0.98
Copy Buffer 100000 Uint8Array.prototype.slice.call 98.769 us/op 101.05 us/op 0.98
Copy Uint8Array 100000 slice + set 157.20 us/op 174.30 us/op 0.90
Copy Uint8Array 100000 subarray + set 98.494 us/op 97.907 us/op 1.01
Copy Uint8Array 100000 slice arrayBuffer 98.934 us/op 101.14 us/op 0.98
Uint64 deserialize 100000 - iterate Uint8Array 1.7184 ms/op 1.7850 ms/op 0.96
Uint64 deserialize 100000 - by Uint32A 1.8476 ms/op 1.9250 ms/op 0.96
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.7517 ms/op 1.8148 ms/op 0.97
Uint64 deserialize 100000 - by DataView.getBigUint64 4.7231 ms/op 4.8491 ms/op 0.97
Uint64 deserialize 100000 - by byte 40.156 ms/op 40.511 ms/op 0.99

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 from aa728bc to fb0373d Compare November 9, 2024 02:22
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from fb0373d to 8166d5f Compare November 13, 2024 03:49
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