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-10-16)

Bug Fixes

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

0.8.0 (2024-10-16)

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: 0c273cc Previous: 790ef58 Ratio
digestTwoHashObjects 50023 times 48.130 ms/op 47.777 ms/op 1.01
digest64 50023 times 54.088 ms/op 53.130 ms/op 1.02
digest 50023 times 59.772 ms/op 54.859 ms/op 1.09
input length 32 1.2590 us/op 1.2450 us/op 1.01
input length 64 1.3790 us/op 1.3680 us/op 1.01
input length 128 2.3520 us/op 2.2960 us/op 1.02
input length 256 3.6250 us/op 3.4020 us/op 1.07
input length 512 5.8070 us/op 5.5900 us/op 1.04
input length 1024 11.301 us/op 10.748 us/op 1.05
digest 1000000 times 962.65 ms/op 883.62 ms/op 1.09
hashObjectToByteArray 50023 times 1.4328 ms/op 1.4307 ms/op 1.00
byteArrayToHashObject 50023 times 2.5971 ms/op 2.4867 ms/op 1.04
digest64 200092 times 237.51 ms/op 218.88 ms/op 1.09
hash 200092 times using batchHash4UintArray64s 257.83 ms/op 239.75 ms/op 1.08
digest64HashObjects 200092 times 198.14 ms/op 193.07 ms/op 1.03
hash 200092 times using batchHash4HashObjectInputs 216.14 ms/op 196.58 ms/op 1.10
getGindicesAtDepth 4.4230 us/op 4.2790 us/op 1.03
iterateAtDepth 7.8180 us/op 7.7160 us/op 1.01
getGindexBits 477.00 ns/op 464.00 ns/op 1.03
gindexIterator 1.0860 us/op 1.0730 us/op 1.01
HashComputationLevel.push then loop 27.854 ms/op 25.291 ms/op 1.10
HashComputation[] push then loop 40.023 ms/op 47.464 ms/op 0.84
hash 2 Uint8Array 500000 times - as-sha256 551.51 ms/op 541.99 ms/op 1.02
hashTwoObjects 500000 times - as-sha256 504.81 ms/op 504.35 ms/op 1.00
executeHashComputations - as-sha256 47.870 ms/op 46.179 ms/op 1.04
hash 2 Uint8Array 500000 times - noble 1.1563 s/op 1.0655 s/op 1.09
hashTwoObjects 500000 times - noble 1.7162 s/op 1.5056 s/op 1.14
executeHashComputations - noble 36.102 ms/op 42.677 ms/op 0.85
hash 2 Uint8Array 500000 times - hashtree 228.37 ms/op 219.62 ms/op 1.04
hashTwoObjects 500000 times - hashtree 219.28 ms/op 213.71 ms/op 1.03
executeHashComputations - hashtree 11.443 ms/op 11.181 ms/op 1.02
getHashComputations 2.9951 ms/op 3.0003 ms/op 1.00
executeHashComputations 11.954 ms/op 11.617 ms/op 1.03
get root 17.834 ms/op 17.737 ms/op 1.01
getNodeH() x7812.5 avg hindex 11.961 us/op 12.469 us/op 0.96
getNodeH() x7812.5 index 0 6.2520 us/op 6.2440 us/op 1.00
getNodeH() x7812.5 index 7 6.2560 us/op 6.2560 us/op 1.00
getNodeH() x7812.5 index 7 with key array 6.2790 us/op 6.2390 us/op 1.01
new LeafNode() x7812.5 14.667 us/op 14.738 us/op 1.00
getHashComputations 250000 nodes 21.356 ms/op 18.875 ms/op 1.13
batchHash 250000 nodes 93.179 ms/op 87.239 ms/op 1.07
get root 250000 nodes 117.60 ms/op 117.89 ms/op 1.00
getHashComputations 500000 nodes 27.954 ms/op 26.944 ms/op 1.04
batchHash 500000 nodes 167.65 ms/op 156.70 ms/op 1.07
get root 500000 nodes 241.50 ms/op 245.49 ms/op 0.98
getHashComputations 1000000 nodes 80.676 ms/op 75.864 ms/op 1.06
batchHash 1000000 nodes 354.54 ms/op 352.95 ms/op 1.00
get root 1000000 nodes 465.69 ms/op 469.62 ms/op 0.99
multiproof - depth 15, 1 requested leaves 9.6870 us/op 8.4080 us/op 1.15
tree offset multiproof - depth 15, 1 requested leaves 20.666 us/op 18.378 us/op 1.12
compact multiproof - depth 15, 1 requested leaves 4.0780 us/op 3.6890 us/op 1.11
multiproof - depth 15, 2 requested leaves 14.229 us/op 11.990 us/op 1.19
tree offset multiproof - depth 15, 2 requested leaves 25.537 us/op 21.655 us/op 1.18
compact multiproof - depth 15, 2 requested leaves 4.1210 us/op 3.6240 us/op 1.14
multiproof - depth 15, 3 requested leaves 19.433 us/op 16.748 us/op 1.16
tree offset multiproof - depth 15, 3 requested leaves 31.333 us/op 27.946 us/op 1.12
compact multiproof - depth 15, 3 requested leaves 5.3080 us/op 4.3050 us/op 1.23
multiproof - depth 15, 4 requested leaves 25.399 us/op 22.293 us/op 1.14
tree offset multiproof - depth 15, 4 requested leaves 39.958 us/op 34.492 us/op 1.16
compact multiproof - depth 15, 4 requested leaves 6.3320 us/op 5.1070 us/op 1.24
packedRootsBytesToLeafNodes bytes 4000 offset 0 2.0820 us/op 2.0540 us/op 1.01
packedRootsBytesToLeafNodes bytes 4000 offset 1 2.0520 us/op 2.0370 us/op 1.01
packedRootsBytesToLeafNodes bytes 4000 offset 2 2.0490 us/op 2.0220 us/op 1.01
packedRootsBytesToLeafNodes bytes 4000 offset 3 2.0740 us/op 2.0270 us/op 1.02
subtreeFillToContents depth 40 count 250000 45.972 ms/op 42.295 ms/op 1.09
setRoot - gindexBitstring 10.465 ms/op 9.7833 ms/op 1.07
setRoot - gindex 11.232 ms/op 9.5227 ms/op 1.18
getRoot - gindexBitstring 2.8318 ms/op 2.5018 ms/op 1.13
getRoot - gindex 3.9585 ms/op 3.1893 ms/op 1.24
getHashObject then setHashObject 12.958 ms/op 10.073 ms/op 1.29
setNodeWithFn 10.656 ms/op 7.6710 ms/op 1.39
getNodeAtDepth depth 0 x100000 1.1168 ms/op 1.1144 ms/op 1.00
setNodeAtDepth depth 0 x100000 3.0634 ms/op 2.4368 ms/op 1.26
getNodesAtDepth depth 0 x100000 1.0537 ms/op 1.0523 ms/op 1.00
setNodesAtDepth depth 0 x100000 1.5345 ms/op 1.5205 ms/op 1.01
getNodeAtDepth depth 1 x100000 1.1861 ms/op 1.1875 ms/op 1.00
setNodeAtDepth depth 1 x100000 6.4935 ms/op 5.1848 ms/op 1.25
getNodesAtDepth depth 1 x100000 1.1770 ms/op 1.1769 ms/op 1.00
setNodesAtDepth depth 1 x100000 5.1680 ms/op 4.3761 ms/op 1.18
getNodeAtDepth depth 2 x100000 1.4546 ms/op 1.4576 ms/op 1.00
setNodeAtDepth depth 2 x100000 11.075 ms/op 8.9171 ms/op 1.24
getNodesAtDepth depth 2 x100000 21.619 ms/op 17.753 ms/op 1.22
setNodesAtDepth depth 2 x100000 17.701 ms/op 13.056 ms/op 1.36
tree.getNodesAtDepth - gindexes 10.677 ms/op 7.7281 ms/op 1.38
tree.getNodesAtDepth - push all nodes 2.5804 ms/op 1.8871 ms/op 1.37
tree.getNodesAtDepth - navigation 235.30 us/op 235.30 us/op 1.00
tree.setNodesAtDepth - indexes 470.73 us/op 425.72 us/op 1.11
set at depth 8 636.00 ns/op 469.00 ns/op 1.36
set at depth 16 780.00 ns/op 613.00 ns/op 1.27
set at depth 32 1.2090 us/op 947.00 ns/op 1.28
iterateNodesAtDepth 8 256 17.274 us/op 13.142 us/op 1.31
getNodesAtDepth 8 256 4.0350 us/op 3.3500 us/op 1.20
iterateNodesAtDepth 16 65536 4.9422 ms/op 4.1110 ms/op 1.20
getNodesAtDepth 16 65536 2.0766 ms/op 1.5360 ms/op 1.35
iterateNodesAtDepth 32 250000 17.629 ms/op 15.171 ms/op 1.16
getNodesAtDepth 32 250000 5.0949 ms/op 4.2763 ms/op 1.19
iterateNodesAtDepth 40 250000 17.440 ms/op 15.263 ms/op 1.14
getNodesAtDepth 40 250000 5.0420 ms/op 4.2912 ms/op 1.17
250000 validators root getter 119.17 ms/op 118.38 ms/op 1.01
250000 validators batchHash() 101.72 ms/op 77.248 ms/op 1.32
250000 validators hashComputations 19.391 ms/op 16.153 ms/op 1.20
bitlist bytes to struct (120,90) 980.00 ns/op 964.00 ns/op 1.02
bitlist bytes to tree (120,90) 3.7840 us/op 3.7340 us/op 1.01
bitlist bytes to struct (2048,2048) 1.3970 us/op 1.3900 us/op 1.01
bitlist bytes to tree (2048,2048) 4.3320 us/op 5.4780 us/op 0.79
ByteListType - deserialize 8.9049 ms/op 8.2170 ms/op 1.08
BasicListType - deserialize 17.463 ms/op 17.417 ms/op 1.00
ByteListType - serialize 8.4851 ms/op 8.5669 ms/op 0.99
BasicListType - serialize 11.650 ms/op 11.851 ms/op 0.98
BasicListType - tree_convertToStruct 29.658 ms/op 28.172 ms/op 1.05
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.8671 ms/op 4.6509 ms/op 1.05
List[uint8, 68719476736] len 300000 ViewDU.get(i) 3.9749 ms/op 3.9986 ms/op 0.99
Array.push len 300000 empty Array - number 7.6280 ms/op 6.0449 ms/op 1.26
Array.set len 300000 from new Array - number 2.2193 ms/op 2.1904 ms/op 1.01
Array.set len 300000 - number 6.9723 ms/op 6.0443 ms/op 1.15
Uint8Array.set len 300000 405.30 us/op 370.88 us/op 1.09
Uint32Array.set len 300000 533.46 us/op 434.39 us/op 1.23
Container({a: uint8, b: uint8}) getViewDU x300000 53.010 ms/op 45.462 ms/op 1.17
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 12.731 ms/op 10.782 ms/op 1.18
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 229.88 ms/op 203.42 ms/op 1.13
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 283.41 ms/op 269.14 ms/op 1.05
List(Container) len 300000 ViewDU.get(i) 6.8139 ms/op 6.7468 ms/op 1.01
List(Container) len 300000 ViewDU.getReadonly(i) 6.8229 ms/op 6.3575 ms/op 1.07
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 40.972 ms/op 38.757 ms/op 1.06
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 6.6360 ms/op 4.9379 ms/op 1.34
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.6156 ms/op 6.0452 ms/op 1.09
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 6.5018 ms/op 5.9320 ms/op 1.10
Array.push len 300000 empty Array - object 7.4832 ms/op 5.6511 ms/op 1.32
Array.set len 300000 from new Array - object 2.3503 ms/op 1.9820 ms/op 1.19
Array.set len 300000 - object 7.0262 ms/op 5.6960 ms/op 1.23
cachePermanentRootStruct no cache 5.8900 us/op 5.1770 us/op 1.14
cachePermanentRootStruct with cache 260.00 ns/op 210.00 ns/op 1.24
epochParticipation len 250000 rws 7813 2.3267 ms/op 2.1654 ms/op 1.07
BeaconState ViewDU hashTreeRoot() vc=200000 106.30 ms/op 104.12 ms/op 1.02
BeaconState ViewDU recursive hash - commit step vc=200000 4.3659 ms/op 4.1856 ms/op 1.04
BeaconState ViewDU validator tree creation vc=10000 36.334 ms/op 34.736 ms/op 1.05
BeaconState ViewDU batchHashTreeRoot vc=200000 97.753 ms/op 91.912 ms/op 1.06
BeaconState ViewDU hashTreeRoot - commit step vc=200000 85.277 ms/op 84.096 ms/op 1.01
BeaconState ViewDU hashTreeRoot - hash step vc=200000 16.862 ms/op 14.743 ms/op 1.14
deserialize Attestation - tree 4.7510 us/op 4.1220 us/op 1.15
deserialize Attestation - struct 2.1140 us/op 1.8010 us/op 1.17
deserialize SignedAggregateAndProof - tree 4.2050 us/op 3.7000 us/op 1.14
deserialize SignedAggregateAndProof - struct 3.3930 us/op 2.9040 us/op 1.17
deserialize SyncCommitteeMessage - tree 1.2950 us/op 1.0470 us/op 1.24
deserialize SyncCommitteeMessage - struct 1.1440 us/op 1.1130 us/op 1.03
deserialize SignedContributionAndProof - tree 2.5660 us/op 2.0210 us/op 1.27
deserialize SignedContributionAndProof - struct 2.6660 us/op 2.2380 us/op 1.19
deserialize SignedBeaconBlock - tree 241.45 us/op 213.38 us/op 1.13
deserialize SignedBeaconBlock - struct 147.11 us/op 115.93 us/op 1.27
BeaconState vc 300000 - deserialize tree 658.79 ms/op 617.20 ms/op 1.07
BeaconState vc 300000 - serialize tree 165.95 ms/op 161.53 ms/op 1.03
BeaconState.historicalRoots vc 300000 - deserialize tree 911.00 ns/op 723.00 ns/op 1.26
BeaconState.historicalRoots vc 300000 - serialize tree 742.00 ns/op 647.00 ns/op 1.15
BeaconState.validators vc 300000 - deserialize tree 641.20 ms/op 588.87 ms/op 1.09
BeaconState.validators vc 300000 - serialize tree 100.26 ms/op 105.06 ms/op 0.95
BeaconState.balances vc 300000 - deserialize tree 24.929 ms/op 23.957 ms/op 1.04
BeaconState.balances vc 300000 - serialize tree 4.2226 ms/op 3.8235 ms/op 1.10
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 464.00 us/op 433.23 us/op 1.07
BeaconState.previousEpochParticipation vc 300000 - serialize tree 282.96 us/op 298.31 us/op 0.95
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 515.47 us/op 444.34 us/op 1.16
BeaconState.currentEpochParticipation vc 300000 - serialize tree 288.53 us/op 297.25 us/op 0.97
BeaconState.inactivityScores vc 300000 - deserialize tree 24.018 ms/op 25.252 ms/op 0.95
BeaconState.inactivityScores vc 300000 - serialize tree 4.3928 ms/op 3.2101 ms/op 1.37
hashTreeRoot Attestation - struct 20.207 us/op 20.145 us/op 1.00
hashTreeRoot Attestation - tree 9.3420 us/op 9.2240 us/op 1.01
hashTreeRoot SignedAggregateAndProof - struct 24.575 us/op 24.981 us/op 0.98
hashTreeRoot SignedAggregateAndProof - tree 13.068 us/op 13.222 us/op 0.99
hashTreeRoot SyncCommitteeMessage - struct 6.3850 us/op 6.3470 us/op 1.01
hashTreeRoot SyncCommitteeMessage - tree 3.2300 us/op 3.2880 us/op 0.98
hashTreeRoot SignedContributionAndProof - struct 17.082 us/op 15.170 us/op 1.13
hashTreeRoot SignedContributionAndProof - tree 9.0210 us/op 9.0790 us/op 0.99
hashTreeRoot SignedBeaconBlock - struct 1.4752 ms/op 1.2715 ms/op 1.16
hashTreeRoot SignedBeaconBlock - tree 799.06 us/op 774.90 us/op 1.03
hashTreeRoot Validator - struct 8.6270 us/op 7.9820 us/op 1.08
hashTreeRoot Validator - tree 7.0940 us/op 6.4070 us/op 1.11
BeaconState vc 300000 - hashTreeRoot tree 2.2300 s/op 2.1224 s/op 1.05
BeaconState vc 300000 - batchHashTreeRoot tree 3.7492 s/op 3.3881 s/op 1.11
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.0640 us/op 1.0240 us/op 1.04
BeaconState.validators vc 300000 - hashTreeRoot tree 2.2492 s/op 2.1058 s/op 1.07
BeaconState.balances vc 300000 - hashTreeRoot tree 33.487 ms/op 33.338 ms/op 1.00
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.3524 ms/op 4.3259 ms/op 1.01
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.1311 ms/op 4.1209 ms/op 1.00
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 34.304 ms/op 33.298 ms/op 1.03
hash64 x18 9.7010 us/op 9.2800 us/op 1.05
hashTwoObjects x18 8.9450 us/op 8.6710 us/op 1.03
hash64 x1740 881.18 us/op 850.37 us/op 1.04
hashTwoObjects x1740 822.78 us/op 811.13 us/op 1.01
hash64 x2700000 1.3754 s/op 1.3141 s/op 1.05
hashTwoObjects x2700000 1.2815 s/op 1.2547 s/op 1.02
get_exitEpoch - ContainerType 403.00 ns/op 226.00 ns/op 1.78
get_exitEpoch - ContainerNodeStructType 399.00 ns/op 226.00 ns/op 1.77
set_exitEpoch - ContainerType 410.00 ns/op 261.00 ns/op 1.57
set_exitEpoch - ContainerNodeStructType 406.00 ns/op 238.00 ns/op 1.71
get_pubkey - ContainerType 1.5550 us/op 1.0080 us/op 1.54
get_pubkey - ContainerNodeStructType 400.00 ns/op 237.00 ns/op 1.69
hashTreeRoot - ContainerType 704.00 ns/op 396.00 ns/op 1.78
hashTreeRoot - ContainerNodeStructType 721.00 ns/op 427.00 ns/op 1.69
createProof - ContainerType 6.7260 us/op 3.9920 us/op 1.68
createProof - ContainerNodeStructType 27.213 us/op 20.157 us/op 1.35
serialize - ContainerType 2.5390 us/op 1.8370 us/op 1.38
serialize - ContainerNodeStructType 1.8340 us/op 1.3720 us/op 1.34
set_exitEpoch_and_hashTreeRoot - ContainerType 3.3470 us/op 2.4990 us/op 1.34
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 8.9960 us/op 6.9440 us/op 1.30
Array - for of 5.9380 us/op 5.5680 us/op 1.07
Array - for(;;) 5.8860 us/op 5.5550 us/op 1.06
basicListValue.readonlyValuesArray() 5.1907 ms/op 4.3108 ms/op 1.20
basicListValue.readonlyValuesArray() + loop all 5.5861 ms/op 4.3602 ms/op 1.28
compositeListValue.readonlyValuesArray() 32.672 ms/op 30.326 ms/op 1.08
compositeListValue.readonlyValuesArray() + loop all 30.546 ms/op 29.644 ms/op 1.03
Number64UintType - get balances list 4.6087 ms/op 4.0264 ms/op 1.14
Number64UintType - set balances list 10.196 ms/op 9.9190 ms/op 1.03
Number64UintType - get and increase 10 then set 42.865 ms/op 38.773 ms/op 1.11
Number64UintType - increase 10 using applyDelta 17.340 ms/op 16.265 ms/op 1.07
Number64UintType - increase 10 using applyDeltaInBatch 17.378 ms/op 16.165 ms/op 1.08
tree_newTreeFromUint64Deltas 17.887 ms/op 17.794 ms/op 1.01
unsafeUint8ArrayToTree 35.854 ms/op 28.422 ms/op 1.26
bitLength(50) 268.00 ns/op 233.00 ns/op 1.15
bitLengthStr(50) 248.00 ns/op 215.00 ns/op 1.15
bitLength(8000) 264.00 ns/op 222.00 ns/op 1.19
bitLengthStr(8000) 296.00 ns/op 263.00 ns/op 1.13
bitLength(250000) 280.00 ns/op 223.00 ns/op 1.26
bitLengthStr(250000) 328.00 ns/op 299.00 ns/op 1.10
floor - Math.floor (53) 1.2374 ns/op 1.2369 ns/op 1.00
floor - << 0 (53) 1.2376 ns/op 1.2374 ns/op 1.00
floor - Math.floor (512) 1.2704 ns/op 1.2372 ns/op 1.03
floor - << 0 (512) 1.2478 ns/op 1.2377 ns/op 1.01
fnIf(0) 1.5472 ns/op 1.5462 ns/op 1.00
fnSwitch(0) 2.1726 ns/op 2.1645 ns/op 1.00
fnObj(0) 1.5549 ns/op 1.5478 ns/op 1.00
fnArr(0) 1.5485 ns/op 1.5457 ns/op 1.00
fnIf(4) 2.1661 ns/op 2.1731 ns/op 1.00
fnSwitch(4) 2.1725 ns/op 2.1648 ns/op 1.00
fnObj(4) 1.5499 ns/op 1.5677 ns/op 0.99
fnArr(4) 1.5463 ns/op 1.5471 ns/op 1.00
fnIf(9) 3.0930 ns/op 3.0960 ns/op 1.00
fnSwitch(9) 2.1732 ns/op 2.1669 ns/op 1.00
fnObj(9) 1.5674 ns/op 1.5517 ns/op 1.01
fnArr(9) 1.5467 ns/op 1.5530 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.14 us/op 123.89 us/op 1.00
Container {a,b,vec} - as tree x100000 340.46 us/op 340.45 us/op 1.00
Container {a,vec,b} - as struct x100000 155.15 us/op 154.75 us/op 1.00
Container {a,vec,b} - as tree x100000 371.23 us/op 371.15 us/op 1.00
get 2 props x1000000 - rawObject 309.67 us/op 309.48 us/op 1.00
get 2 props x1000000 - proxy 72.855 ms/op 73.606 ms/op 0.99
get 2 props x1000000 - customObj 311.09 us/op 309.41 us/op 1.01
Simple object binary -> struct 930.00 ns/op 685.00 ns/op 1.36
Simple object binary -> tree_backed 1.9150 us/op 1.3090 us/op 1.46
Simple object struct -> tree_backed 2.6580 us/op 1.9490 us/op 1.36
Simple object tree_backed -> struct 2.5230 us/op 1.8450 us/op 1.37
Simple object struct -> binary 1.2600 us/op 980.00 ns/op 1.29
Simple object tree_backed -> binary 1.7510 us/op 1.5860 us/op 1.10
aggregationBits binary -> struct 671.00 ns/op 602.00 ns/op 1.11
aggregationBits binary -> tree_backed 2.6140 us/op 2.4630 us/op 1.06
aggregationBits struct -> tree_backed 3.1490 us/op 2.9060 us/op 1.08
aggregationBits tree_backed -> struct 1.3370 us/op 1.2310 us/op 1.09
aggregationBits struct -> binary 826.00 ns/op 811.00 ns/op 1.02
aggregationBits tree_backed -> binary 1.1670 us/op 1.0730 us/op 1.09
List(uint8) 100000 binary -> struct 1.5584 ms/op 1.4336 ms/op 1.09
List(uint8) 100000 binary -> tree_backed 98.208 us/op 85.855 us/op 1.14
List(uint8) 100000 struct -> tree_backed 1.1897 ms/op 1.0969 ms/op 1.08
List(uint8) 100000 tree_backed -> struct 1.0728 ms/op 1.0343 ms/op 1.04
List(uint8) 100000 struct -> binary 988.80 us/op 981.53 us/op 1.01
List(uint8) 100000 tree_backed -> binary 91.463 us/op 90.936 us/op 1.01
List(uint64Number) 100000 binary -> struct 1.3156 ms/op 1.1868 ms/op 1.11
List(uint64Number) 100000 binary -> tree_backed 3.6217 ms/op 3.2300 ms/op 1.12
List(uint64Number) 100000 struct -> tree_backed 5.2600 ms/op 4.5464 ms/op 1.16
List(uint64Number) 100000 tree_backed -> struct 2.4999 ms/op 2.2198 ms/op 1.13
List(uint64Number) 100000 struct -> binary 1.3750 ms/op 1.4427 ms/op 0.95
List(uint64Number) 100000 tree_backed -> binary 864.96 us/op 920.92 us/op 0.94
List(Uint64Bigint) 100000 binary -> struct 3.6603 ms/op 3.6225 ms/op 1.01
List(Uint64Bigint) 100000 binary -> tree_backed 3.1976 ms/op 3.2619 ms/op 0.98
List(Uint64Bigint) 100000 struct -> tree_backed 5.6532 ms/op 5.5044 ms/op 1.03
List(Uint64Bigint) 100000 tree_backed -> struct 5.0522 ms/op 4.4636 ms/op 1.13
List(Uint64Bigint) 100000 struct -> binary 2.0411 ms/op 2.0437 ms/op 1.00
List(Uint64Bigint) 100000 tree_backed -> binary 855.21 us/op 925.64 us/op 0.92
Vector(Root) 100000 binary -> struct 33.405 ms/op 29.758 ms/op 1.12
Vector(Root) 100000 binary -> tree_backed 36.958 ms/op 30.870 ms/op 1.20
Vector(Root) 100000 struct -> tree_backed 45.601 ms/op 38.943 ms/op 1.17
Vector(Root) 100000 tree_backed -> struct 54.549 ms/op 45.104 ms/op 1.21
Vector(Root) 100000 struct -> binary 2.6860 ms/op 2.5697 ms/op 1.05
Vector(Root) 100000 tree_backed -> binary 11.401 ms/op 9.1663 ms/op 1.24
List(Validator) 100000 binary -> struct 105.62 ms/op 103.20 ms/op 1.02
List(Validator) 100000 binary -> tree_backed 321.89 ms/op 263.55 ms/op 1.22
List(Validator) 100000 struct -> tree_backed 333.85 ms/op 299.20 ms/op 1.12
List(Validator) 100000 tree_backed -> struct 219.34 ms/op 199.12 ms/op 1.10
List(Validator) 100000 struct -> binary 26.960 ms/op 28.520 ms/op 0.95
List(Validator) 100000 tree_backed -> binary 116.77 ms/op 112.42 ms/op 1.04
List(Validator-NS) 100000 binary -> struct 118.04 ms/op 101.28 ms/op 1.17
List(Validator-NS) 100000 binary -> tree_backed 162.56 ms/op 145.04 ms/op 1.12
List(Validator-NS) 100000 struct -> tree_backed 200.35 ms/op 189.61 ms/op 1.06
List(Validator-NS) 100000 tree_backed -> struct 176.07 ms/op 165.36 ms/op 1.06
List(Validator-NS) 100000 struct -> binary 26.925 ms/op 28.117 ms/op 0.96
List(Validator-NS) 100000 tree_backed -> binary 34.455 ms/op 33.253 ms/op 1.04
get epochStatuses - MutableVector 105.63 us/op 118.21 us/op 0.89
get epochStatuses - ViewDU 203.75 us/op 202.15 us/op 1.01
set epochStatuses - ListTreeView 2.6167 ms/op 1.6342 ms/op 1.60
set epochStatuses - ListTreeView - set() 441.08 us/op 452.48 us/op 0.97
set epochStatuses - ListTreeView - commit() 541.87 us/op 569.45 us/op 0.95
bitstring 646.19 ns/op 645.92 ns/op 1.00
bit mask 13.281 ns/op 14.548 ns/op 0.91
struct - increase slot to 1000000 933.10 us/op 928.69 us/op 1.00
UintNumberType - increase slot to 1000000 21.509 ms/op 21.981 ms/op 0.98
UintBigintType - increase slot to 1000000 200.30 ms/op 159.07 ms/op 1.26
UintBigint8 x 100000 tree_deserialize 5.9978 ms/op 4.6496 ms/op 1.29
UintBigint8 x 100000 tree_serialize 1.0975 ms/op 1.0920 ms/op 1.01
UintBigint16 x 100000 tree_deserialize 5.7176 ms/op 4.6660 ms/op 1.23
UintBigint16 x 100000 tree_serialize 1.3986 ms/op 1.2051 ms/op 1.16
UintBigint32 x 100000 tree_deserialize 5.3544 ms/op 4.8979 ms/op 1.09
UintBigint32 x 100000 tree_serialize 1.4042 ms/op 1.2207 ms/op 1.15
UintBigint64 x 100000 tree_deserialize 6.3445 ms/op 5.1254 ms/op 1.24
UintBigint64 x 100000 tree_serialize 1.8533 ms/op 1.6014 ms/op 1.16
UintBigint8 x 100000 value_deserialize 433.62 us/op 433.08 us/op 1.00
UintBigint8 x 100000 value_serialize 782.43 us/op 656.90 us/op 1.19
UintBigint16 x 100000 value_deserialize 464.05 us/op 464.38 us/op 1.00
UintBigint16 x 100000 value_serialize 810.07 us/op 716.14 us/op 1.13
UintBigint32 x 100000 value_deserialize 433.74 us/op 435.37 us/op 1.00
UintBigint32 x 100000 value_serialize 805.28 us/op 700.52 us/op 1.15
UintBigint64 x 100000 value_deserialize 496.39 us/op 497.60 us/op 1.00
UintBigint64 x 100000 value_serialize 990.61 us/op 869.49 us/op 1.14
UintBigint8 x 100000 deserialize 3.6089 ms/op 2.9994 ms/op 1.20
UintBigint8 x 100000 serialize 1.5709 ms/op 1.4681 ms/op 1.07
UintBigint16 x 100000 deserialize 3.7008 ms/op 3.1076 ms/op 1.19
UintBigint16 x 100000 serialize 1.6518 ms/op 1.5609 ms/op 1.06
UintBigint32 x 100000 deserialize 3.7861 ms/op 3.1264 ms/op 1.21
UintBigint32 x 100000 serialize 2.9342 ms/op 2.8529 ms/op 1.03
UintBigint64 x 100000 deserialize 4.2868 ms/op 3.9150 ms/op 1.09
UintBigint64 x 100000 serialize 1.5863 ms/op 1.5579 ms/op 1.02
UintBigint128 x 100000 deserialize 5.9263 ms/op 5.5937 ms/op 1.06
UintBigint128 x 100000 serialize 15.906 ms/op 14.816 ms/op 1.07
UintBigint256 x 100000 deserialize 9.2960 ms/op 8.4520 ms/op 1.10
UintBigint256 x 100000 serialize 45.786 ms/op 43.747 ms/op 1.05
Slice from Uint8Array x25000 1.4407 ms/op 1.3309 ms/op 1.08
Slice from ArrayBuffer x25000 16.974 ms/op 15.713 ms/op 1.08
Slice from ArrayBuffer x25000 + new Uint8Array 19.343 ms/op 15.889 ms/op 1.22
Copy Uint8Array 100000 iterate 1.6525 ms/op 1.6518 ms/op 1.00
Copy Uint8Array 100000 slice 109.50 us/op 119.69 us/op 0.91
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 109.48 us/op 119.50 us/op 0.92
Copy Buffer 100000 Uint8Array.prototype.slice.call 108.74 us/op 121.95 us/op 0.89
Copy Uint8Array 100000 slice + set 197.27 us/op 197.57 us/op 1.00
Copy Uint8Array 100000 subarray + set 109.45 us/op 119.33 us/op 0.92
Copy Uint8Array 100000 slice arrayBuffer 110.94 us/op 120.51 us/op 0.92
Uint64 deserialize 100000 - iterate Uint8Array 1.9988 ms/op 1.7730 ms/op 1.13
Uint64 deserialize 100000 - by Uint32A 2.0914 ms/op 1.8750 ms/op 1.12
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.9931 ms/op 1.7683 ms/op 1.13
Uint64 deserialize 100000 - by DataView.getBigUint64 5.0863 ms/op 4.8041 ms/op 1.06
Uint64 deserialize 100000 - by byte 40.002 ms/op 39.875 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
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