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 #466

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

Conversation

wemeetagain
Copy link
Member

🤖 I have created a release beep boop

as-sha256: 1.1.0

1.1.0 (2025-02-27)

Features

persistent-merkle-tree: 1.1.0

1.1.0 (2025-02-27)

Features

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @chainsafe/as-sha256 bumped from 1.0.0 to 1.1.0
ssz: 1.1.0

1.1.0 (2025-02-27)

Features

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @chainsafe/as-sha256 bumped from 1.0.0 to 1.1.0
      • @chainsafe/persistent-merkle-tree bumped from 1.0.1 to 1.1.0

This PR was generated with Release Please. See documentation.

@nazarhussain
Copy link
Contributor

@wemeetagain Seems like just the change is related to test workflow. Is it required to release it as minor version change?

@nflaig
Copy link
Member

nflaig commented Feb 27, 2025

@wemeetagain Seems like just the change is related to test workflow. Is it required to release it as minor version change?

you tagged it as a new feature by using feat: instead of proper tag like chore: or test:

Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: c04fb13 Previous: 5041139 Ratio
digestTwoHashObjects 50023 times 48.306 ms/op 48.248 ms/op 1.00
digest2Bytes32 50023 times 54.509 ms/op 54.794 ms/op 0.99
digest 50023 times 53.318 ms/op 53.430 ms/op 1.00
input length 32 1.1640 us/op 1.1670 us/op 1.00
input length 64 1.3090 us/op 1.3180 us/op 0.99
input length 128 2.2960 us/op 2.2320 us/op 1.03
input length 256 3.3500 us/op 3.3300 us/op 1.01
input length 512 5.6290 us/op 5.5630 us/op 1.01
input length 1024 10.646 us/op 10.681 us/op 1.00
digest 1000000 times 858.52 ms/op 852.84 ms/op 1.01
hashObjectToByteArray 50023 times 1.2292 ms/op 1.2289 ms/op 1.00
byteArrayToHashObject 50023 times 1.5303 ms/op 1.5426 ms/op 0.99
digest64 200092 times 214.23 ms/op 214.18 ms/op 1.00
hash 200092 times using batchHash4UintArray64s 238.13 ms/op 250.07 ms/op 0.95
digest64HashObjects 200092 times 192.79 ms/op 191.43 ms/op 1.01
hash 200092 times using batchHash4HashObjectInputs 198.74 ms/op 197.77 ms/op 1.00
getGindicesAtDepth 3.4260 us/op 3.4480 us/op 0.99
iterateAtDepth 6.6540 us/op 6.3750 us/op 1.04
getGindexBits 375.00 ns/op 356.00 ns/op 1.05
gindexIterator 835.00 ns/op 896.00 ns/op 0.93
HashComputationLevel.push then loop 25.527 ms/op 25.761 ms/op 0.99
HashComputation[] push then loop 49.278 ms/op 47.920 ms/op 1.03
hash 2 Uint8Array 500000 times - hashtree 217.27 ms/op 213.19 ms/op 1.02
hashTwoObjects 500000 times - hashtree 212.46 ms/op 214.65 ms/op 0.99
executeHashComputations - hashtree 10.127 ms/op 9.4258 ms/op 1.07
hash 2 Uint8Array 500000 times - as-sha256 563.06 ms/op 560.79 ms/op 1.00
hashTwoObjects 500000 times - as-sha256 506.11 ms/op 509.59 ms/op 0.99
executeHashComputations - as-sha256 43.892 ms/op 44.935 ms/op 0.98
hash 2 Uint8Array 500000 times - noble 1.2046 s/op 1.2219 s/op 0.99
hashTwoObjects 500000 times - noble 1.6212 s/op 1.6307 s/op 0.99
executeHashComputations - noble 36.815 ms/op 36.118 ms/op 1.02
getHashComputations 2.2211 ms/op 2.0905 ms/op 1.06
executeHashComputations 11.163 ms/op 10.248 ms/op 1.09
get root 15.163 ms/op 15.171 ms/op 1.00
getNodeH() x7812.5 avg hindex 12.249 us/op 12.186 us/op 1.01
getNodeH() x7812.5 index 0 7.4450 us/op 7.5320 us/op 0.99
getNodeH() x7812.5 index 7 7.5290 us/op 7.4730 us/op 1.01
getNodeH() x7812.5 index 7 with key array 6.3130 us/op 6.2860 us/op 1.00
new LeafNode() x7812.5 293.97 us/op 298.94 us/op 0.98
getHashComputations 250000 nodes 22.189 ms/op 14.464 ms/op 1.53
batchHash 250000 nodes 86.798 ms/op 85.554 ms/op 1.01
get root 250000 nodes 113.36 ms/op 115.63 ms/op 0.98
getHashComputations 500000 nodes 29.211 ms/op 33.095 ms/op 0.88
batchHash 500000 nodes 155.61 ms/op 165.80 ms/op 0.94
get root 500000 nodes 226.76 ms/op 230.95 ms/op 0.98
getHashComputations 1000000 nodes 77.168 ms/op 61.868 ms/op 1.25
batchHash 1000000 nodes 334.92 ms/op 360.79 ms/op 0.93
get root 1000000 nodes 453.26 ms/op 468.00 ms/op 0.97
multiproof - depth 15, 1 requested leaves 8.3320 us/op 8.0560 us/op 1.03
tree offset multiproof - depth 15, 1 requested leaves 18.473 us/op 17.674 us/op 1.05
compact multiproof - depth 15, 1 requested leaves 3.0210 us/op 2.9060 us/op 1.04
multiproof - depth 15, 2 requested leaves 11.255 us/op 11.648 us/op 0.97
tree offset multiproof - depth 15, 2 requested leaves 21.297 us/op 21.182 us/op 1.01
compact multiproof - depth 15, 2 requested leaves 3.0020 us/op 2.9630 us/op 1.01
multiproof - depth 15, 3 requested leaves 16.293 us/op 16.292 us/op 1.00
tree offset multiproof - depth 15, 3 requested leaves 28.248 us/op 27.060 us/op 1.04
compact multiproof - depth 15, 3 requested leaves 3.8350 us/op 3.5790 us/op 1.07
multiproof - depth 15, 4 requested leaves 22.029 us/op 21.682 us/op 1.02
tree offset multiproof - depth 15, 4 requested leaves 35.865 us/op 33.787 us/op 1.06
compact multiproof - depth 15, 4 requested leaves 4.5400 us/op 4.1570 us/op 1.09
packedRootsBytesToLeafNodes bytes 4000 offset 0 5.6880 us/op 5.5150 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 1 5.7820 us/op 5.4370 us/op 1.06
packedRootsBytesToLeafNodes bytes 4000 offset 2 5.6430 us/op 5.4920 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 3 5.6790 us/op 5.4890 us/op 1.03
subtreeFillToContents depth 40 count 250000 47.378 ms/op 46.753 ms/op 1.01
setRoot - gindexBitstring 21.330 ms/op 21.228 ms/op 1.00
setRoot - gindex 22.806 ms/op 22.040 ms/op 1.03
getRoot - gindexBitstring 2.6979 ms/op 2.5335 ms/op 1.06
getRoot - gindex 3.1865 ms/op 3.1068 ms/op 1.03
getHashObject then setHashObject 22.482 ms/op 22.187 ms/op 1.01
setNodeWithFn 19.916 ms/op 19.955 ms/op 1.00
getNodeAtDepth depth 0 x100000 279.96 us/op 282.81 us/op 0.99
setNodeAtDepth depth 0 x100000 2.6228 ms/op 2.6916 ms/op 0.97
getNodesAtDepth depth 0 x100000 312.60 us/op 315.41 us/op 0.99
setNodesAtDepth depth 0 x100000 755.96 us/op 791.01 us/op 0.96
getNodeAtDepth depth 1 x100000 343.23 us/op 343.13 us/op 1.00
setNodeAtDepth depth 1 x100000 8.4334 ms/op 8.5334 ms/op 0.99
getNodesAtDepth depth 1 x100000 440.80 us/op 440.75 us/op 1.00
setNodesAtDepth depth 1 x100000 6.8642 ms/op 6.8871 ms/op 1.00
getNodeAtDepth depth 2 x100000 748.83 us/op 740.07 us/op 1.01
setNodeAtDepth depth 2 x100000 15.414 ms/op 15.720 ms/op 0.98
getNodesAtDepth depth 2 x100000 17.374 ms/op 18.316 ms/op 0.95
setNodesAtDepth depth 2 x100000 22.481 ms/op 22.968 ms/op 0.98
tree.getNodesAtDepth - gindexes 8.6067 ms/op 8.7213 ms/op 0.99
tree.getNodesAtDepth - push all nodes 1.8920 ms/op 2.4908 ms/op 0.76
tree.getNodesAtDepth - navigation 311.27 us/op 311.60 us/op 1.00
tree.setNodesAtDepth - indexes 651.39 us/op 731.42 us/op 0.89
set at depth 8 649.00 ns/op 801.00 ns/op 0.81
set at depth 16 1.0770 us/op 1.1460 us/op 0.94
set at depth 32 1.7760 us/op 1.9810 us/op 0.90
iterateNodesAtDepth 8 256 13.102 us/op 14.435 us/op 0.91
getNodesAtDepth 8 256 3.5610 us/op 3.7610 us/op 0.95
iterateNodesAtDepth 16 65536 4.4166 ms/op 5.1401 ms/op 0.86
getNodesAtDepth 16 65536 1.5869 ms/op 1.5996 ms/op 0.99
iterateNodesAtDepth 32 250000 15.886 ms/op 15.931 ms/op 1.00
getNodesAtDepth 32 250000 4.3895 ms/op 4.4646 ms/op 0.98
iterateNodesAtDepth 40 250000 15.635 ms/op 15.824 ms/op 0.99
getNodesAtDepth 40 250000 4.4547 ms/op 4.5864 ms/op 0.97
250000 validators root getter 114.42 ms/op 115.88 ms/op 0.99
250000 validators batchHash() 84.749 ms/op 91.401 ms/op 0.93
250000 validators hashComputations 18.939 ms/op 19.528 ms/op 0.97
bitlist bytes to struct (120,90) 772.00 ns/op 743.00 ns/op 1.04
bitlist bytes to tree (120,90) 3.0600 us/op 2.5500 us/op 1.20
bitlist bytes to struct (2048,2048) 1.0540 us/op 990.00 ns/op 1.06
bitlist bytes to tree (2048,2048) 4.1300 us/op 4.0390 us/op 1.02
ByteListType - deserialize 7.4100 ms/op 7.2279 ms/op 1.03
BasicListType - deserialize 14.477 ms/op 14.356 ms/op 1.01
ByteListType - serialize 7.1211 ms/op 7.7393 ms/op 0.92
BasicListType - serialize 9.9949 ms/op 9.7326 ms/op 1.03
BasicListType - tree_convertToStruct 26.409 ms/op 26.077 ms/op 1.01
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.7139 ms/op 4.7901 ms/op 0.98
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.6745 ms/op 4.4103 ms/op 1.06
Array.push len 300000 empty Array - number 6.4670 ms/op 6.6991 ms/op 0.97
Array.set len 300000 from new Array - number 1.9416 ms/op 1.7371 ms/op 1.12
Array.set len 300000 - number 5.4946 ms/op 5.5399 ms/op 0.99
Uint8Array.set len 300000 484.95 us/op 480.11 us/op 1.01
Uint32Array.set len 300000 554.41 us/op 539.82 us/op 1.03
Container({a: uint8, b: uint8}) getViewDU x300000 25.254 ms/op 24.820 ms/op 1.02
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.451 ms/op 10.455 ms/op 1.00
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 210.71 ms/op 197.86 ms/op 1.06
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 241.52 ms/op 226.89 ms/op 1.06
List(Container) len 300000 ViewDU.get(i) 6.5381 ms/op 6.3845 ms/op 1.02
List(Container) len 300000 ViewDU.getReadonly(i) 6.5425 ms/op 6.3471 ms/op 1.03
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 39.032 ms/op 38.556 ms/op 1.01
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.1309 ms/op 5.2337 ms/op 0.98
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.0573 ms/op 6.1641 ms/op 0.98
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 6.0108 ms/op 6.0643 ms/op 0.99
Array.push len 300000 empty Array - object 6.3193 ms/op 6.4074 ms/op 0.99
Array.set len 300000 from new Array - object 2.0400 ms/op 1.9925 ms/op 1.02
Array.set len 300000 - object 6.5724 ms/op 6.0039 ms/op 1.09
cachePermanentRootStruct no cache 5.0890 us/op 5.0960 us/op 1.00
cachePermanentRootStruct with cache 204.00 ns/op 199.00 ns/op 1.03
epochParticipation len 250000 rws 7813 2.2568 ms/op 2.3262 ms/op 0.97
BeaconState ViewDU hashTreeRoot() vc=200000 111.81 ms/op 112.48 ms/op 0.99
BeaconState ViewDU recursive hash - commit step vc=200000 4.3917 ms/op 4.5695 ms/op 0.96
BeaconState ViewDU validator tree creation vc=10000 39.237 ms/op 39.100 ms/op 1.00
BeaconState ViewDU batchHashTreeRoot vc=200000 100.20 ms/op 98.243 ms/op 1.02
BeaconState ViewDU hashTreeRoot - commit step vc=200000 89.142 ms/op 88.615 ms/op 1.01
BeaconState ViewDU hashTreeRoot - hash step vc=200000 18.362 ms/op 15.568 ms/op 1.18
deserialize Attestation - tree 3.7240 us/op 3.5980 us/op 1.04
deserialize Attestation - struct 1.8980 us/op 1.9260 us/op 0.99
deserialize SignedAggregateAndProof - tree 4.7150 us/op 5.0130 us/op 0.94
deserialize SignedAggregateAndProof - struct 2.9370 us/op 3.0720 us/op 0.96
deserialize SyncCommitteeMessage - tree 1.3530 us/op 1.4160 us/op 0.96
deserialize SyncCommitteeMessage - struct 1.0180 us/op 1.0680 us/op 0.95
deserialize SignedContributionAndProof - tree 2.8810 us/op 2.9390 us/op 0.98
deserialize SignedContributionAndProof - struct 2.2510 us/op 2.3790 us/op 0.95
deserialize SignedBeaconBlock - tree 272.02 us/op 294.19 us/op 0.92
deserialize SignedBeaconBlock - struct 123.12 us/op 123.51 us/op 1.00
BeaconState vc 300000 - deserialize tree 644.55 ms/op 626.16 ms/op 1.03
BeaconState vc 300000 - serialize tree 162.82 ms/op 127.41 ms/op 1.28
BeaconState.historicalRoots vc 300000 - deserialize tree 833.00 ns/op 849.00 ns/op 0.98
BeaconState.historicalRoots vc 300000 - serialize tree 652.00 ns/op 636.00 ns/op 1.03
BeaconState.validators vc 300000 - deserialize tree 599.59 ms/op 600.20 ms/op 1.00
BeaconState.validators vc 300000 - serialize tree 109.73 ms/op 99.082 ms/op 1.11
BeaconState.balances vc 300000 - deserialize tree 27.028 ms/op 27.416 ms/op 0.99
BeaconState.balances vc 300000 - serialize tree 3.9300 ms/op 4.5367 ms/op 0.87
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 893.40 us/op 892.01 us/op 1.00
BeaconState.previousEpochParticipation vc 300000 - serialize tree 337.16 us/op 312.54 us/op 1.08
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 892.54 us/op 902.60 us/op 0.99
BeaconState.currentEpochParticipation vc 300000 - serialize tree 335.78 us/op 334.63 us/op 1.00
BeaconState.inactivityScores vc 300000 - deserialize tree 26.979 ms/op 28.336 ms/op 0.95
BeaconState.inactivityScores vc 300000 - serialize tree 4.7649 ms/op 3.9001 ms/op 1.22
hashTreeRoot Attestation - struct 17.957 us/op 19.866 us/op 0.90
hashTreeRoot Attestation - tree 8.9530 us/op 9.1020 us/op 0.98
hashTreeRoot SignedAggregateAndProof - struct 26.754 us/op 24.204 us/op 1.11
hashTreeRoot SignedAggregateAndProof - tree 13.444 us/op 13.693 us/op 0.98
hashTreeRoot SyncCommitteeMessage - struct 6.8660 us/op 6.2360 us/op 1.10
hashTreeRoot SyncCommitteeMessage - tree 3.4160 us/op 3.6920 us/op 0.93
hashTreeRoot SignedContributionAndProof - struct 15.856 us/op 14.727 us/op 1.08
hashTreeRoot SignedContributionAndProof - tree 9.1620 us/op 9.3310 us/op 0.98
hashTreeRoot SignedBeaconBlock - struct 1.2820 ms/op 1.2232 ms/op 1.05
hashTreeRoot SignedBeaconBlock - tree 792.68 us/op 825.90 us/op 0.96
hashTreeRoot Validator - struct 7.8950 us/op 7.7160 us/op 1.02
hashTreeRoot Validator - tree 7.0230 us/op 6.8910 us/op 1.02
BeaconState vc 300000 - hashTreeRoot tree 2.2647 s/op 2.2144 s/op 1.02
BeaconState vc 300000 - batchHashTreeRoot tree 4.1631 s/op 4.0718 s/op 1.02
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.0120 us/op 998.00 ns/op 1.01
BeaconState.validators vc 300000 - hashTreeRoot tree 2.4542 s/op 2.4050 s/op 1.02
BeaconState.balances vc 300000 - hashTreeRoot tree 33.706 ms/op 35.352 ms/op 0.95
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.2847 ms/op 4.3136 ms/op 0.99
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.2405 ms/op 4.3078 ms/op 0.98
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 33.935 ms/op 38.126 ms/op 0.89
hash64 x18 8.9140 us/op 8.7420 us/op 1.02
hashTwoObjects x18 7.8910 us/op 8.3110 us/op 0.95
hash64 x1740 836.19 us/op 796.95 us/op 1.05
hashTwoObjects x1740 743.99 us/op 746.70 us/op 1.00
hash64 x2700000 1.2811 s/op 1.2300 s/op 1.04
hashTwoObjects x2700000 1.1596 s/op 1.1605 s/op 1.00
get_exitEpoch - ContainerType 236.00 ns/op 231.00 ns/op 1.02
get_exitEpoch - ContainerNodeStructType 230.00 ns/op 229.00 ns/op 1.00
set_exitEpoch - ContainerType 269.00 ns/op 252.00 ns/op 1.07
set_exitEpoch - ContainerNodeStructType 266.00 ns/op 232.00 ns/op 1.15
get_pubkey - ContainerType 960.00 ns/op 927.00 ns/op 1.04
get_pubkey - ContainerNodeStructType 240.00 ns/op 223.00 ns/op 1.08
hashTreeRoot - ContainerType 413.00 ns/op 392.00 ns/op 1.05
hashTreeRoot - ContainerNodeStructType 370.00 ns/op 358.00 ns/op 1.03
createProof - ContainerType 4.0980 us/op 3.8400 us/op 1.07
createProof - ContainerNodeStructType 22.667 us/op 21.848 us/op 1.04
serialize - ContainerType 1.7080 us/op 1.7040 us/op 1.00
serialize - ContainerNodeStructType 1.4530 us/op 1.4030 us/op 1.04
set_exitEpoch_and_hashTreeRoot - ContainerType 2.9730 us/op 2.9300 us/op 1.01
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 7.2250 us/op 7.3560 us/op 0.98
Array - for of 5.6530 us/op 7.4930 us/op 0.75
Array - for(;;) 5.5850 us/op 6.7180 us/op 0.83
basicListValue.readonlyValuesArray() 4.2521 ms/op 4.2245 ms/op 1.01
basicListValue.readonlyValuesArray() + loop all 4.3460 ms/op 4.2879 ms/op 1.01
compositeListValue.readonlyValuesArray() 31.763 ms/op 28.068 ms/op 1.13
compositeListValue.readonlyValuesArray() + loop all 31.180 ms/op 32.030 ms/op 0.97
Number64UintType - get balances list 4.5421 ms/op 4.6109 ms/op 0.99
Number64UintType - set balances list 10.084 ms/op 10.105 ms/op 1.00
Number64UintType - get and increase 10 then set 42.353 ms/op 46.189 ms/op 0.92
Number64UintType - increase 10 using applyDelta 17.110 ms/op 16.394 ms/op 1.04
Number64UintType - increase 10 using applyDeltaInBatch 16.617 ms/op 16.492 ms/op 1.01
tree_newTreeFromUint64Deltas 21.843 ms/op 20.557 ms/op 1.06
unsafeUint8ArrayToTree 37.744 ms/op 37.853 ms/op 1.00
bitLength(50) 239.00 ns/op 217.00 ns/op 1.10
bitLengthStr(50) 221.00 ns/op 208.00 ns/op 1.06
bitLength(8000) 226.00 ns/op 209.00 ns/op 1.08
bitLengthStr(8000) 260.00 ns/op 255.00 ns/op 1.02
bitLength(250000) 238.00 ns/op 210.00 ns/op 1.13
bitLengthStr(250000) 312.00 ns/op 291.00 ns/op 1.07
floor - Math.floor (53) 1.2478 ns/op 1.2468 ns/op 1.00
floor - << 0 (53) 1.2434 ns/op 1.2440 ns/op 1.00
floor - Math.floor (512) 1.2443 ns/op 1.2439 ns/op 1.00
floor - << 0 (512) 1.2453 ns/op 1.2669 ns/op 0.98
fnIf(0) 1.5541 ns/op 1.5551 ns/op 1.00
fnSwitch(0) 2.1822 ns/op 2.1827 ns/op 1.00
fnObj(0) 1.5652 ns/op 1.5592 ns/op 1.00
fnArr(0) 1.5612 ns/op 1.5557 ns/op 1.00
fnIf(4) 2.1750 ns/op 2.1812 ns/op 1.00
fnSwitch(4) 2.1760 ns/op 2.1777 ns/op 1.00
fnObj(4) 1.5663 ns/op 1.5568 ns/op 1.01
fnArr(4) 1.5552 ns/op 1.5777 ns/op 0.99
fnIf(9) 3.1086 ns/op 3.1089 ns/op 1.00
fnSwitch(9) 2.1757 ns/op 2.1768 ns/op 1.00
fnObj(9) 1.5703 ns/op 1.5626 ns/op 1.00
fnArr(9) 1.5535 ns/op 1.5543 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.78 us/op 125.02 us/op 1.00
Container {a,b,vec} - as tree x100000 559.76 us/op 559.98 us/op 1.00
Container {a,vec,b} - as struct x100000 155.88 us/op 155.71 us/op 1.00
Container {a,vec,b} - as tree x100000 559.96 us/op 561.24 us/op 1.00
get 2 props x1000000 - rawObject 312.05 us/op 312.25 us/op 1.00
get 2 props x1000000 - proxy 73.110 ms/op 73.895 ms/op 0.99
get 2 props x1000000 - customObj 311.29 us/op 313.10 us/op 0.99
Simple object binary -> struct 581.00 ns/op 574.00 ns/op 1.01
Simple object binary -> tree_backed 1.6160 us/op 1.7190 us/op 0.94
Simple object struct -> tree_backed 2.1690 us/op 2.1960 us/op 0.99
Simple object tree_backed -> struct 1.4910 us/op 1.4930 us/op 1.00
Simple object struct -> binary 897.00 ns/op 811.00 ns/op 1.11
Simple object tree_backed -> binary 1.2240 us/op 1.2420 us/op 0.99
aggregationBits binary -> struct 470.00 ns/op 480.00 ns/op 0.98
aggregationBits binary -> tree_backed 2.0980 us/op 2.0790 us/op 1.01
aggregationBits struct -> tree_backed 2.4490 us/op 2.4660 us/op 0.99
aggregationBits tree_backed -> struct 927.00 ns/op 922.00 ns/op 1.01
aggregationBits struct -> binary 656.00 ns/op 650.00 ns/op 1.01
aggregationBits tree_backed -> binary 866.00 ns/op 825.00 ns/op 1.05
List(uint8) 100000 binary -> struct 1.8343 ms/op 1.7624 ms/op 1.04
List(uint8) 100000 binary -> tree_backed 275.73 us/op 273.22 us/op 1.01
List(uint8) 100000 struct -> tree_backed 1.4121 ms/op 1.4638 ms/op 0.96
List(uint8) 100000 tree_backed -> struct 1.2475 ms/op 1.1198 ms/op 1.11
List(uint8) 100000 struct -> binary 1.1377 ms/op 1.0992 ms/op 1.04
List(uint8) 100000 tree_backed -> binary 111.67 us/op 114.74 us/op 0.97
List(uint64Number) 100000 binary -> struct 1.3284 ms/op 1.4048 ms/op 0.95
List(uint64Number) 100000 binary -> tree_backed 4.6155 ms/op 5.0190 ms/op 0.92
List(uint64Number) 100000 struct -> tree_backed 6.5897 ms/op 6.1059 ms/op 1.08
List(uint64Number) 100000 tree_backed -> struct 2.5343 ms/op 2.4342 ms/op 1.04
List(uint64Number) 100000 struct -> binary 1.5692 ms/op 1.5826 ms/op 0.99
List(uint64Number) 100000 tree_backed -> binary 1.1355 ms/op 1.0330 ms/op 1.10
List(Uint64Bigint) 100000 binary -> struct 4.3032 ms/op 3.7095 ms/op 1.16
List(Uint64Bigint) 100000 binary -> tree_backed 4.6335 ms/op 5.0164 ms/op 0.92
List(Uint64Bigint) 100000 struct -> tree_backed 7.1004 ms/op 8.1592 ms/op 0.87
List(Uint64Bigint) 100000 tree_backed -> struct 5.0539 ms/op 5.1796 ms/op 0.98
List(Uint64Bigint) 100000 struct -> binary 2.0716 ms/op 2.0661 ms/op 1.00
List(Uint64Bigint) 100000 tree_backed -> binary 1.0520 ms/op 1.2860 ms/op 0.82
Vector(Root) 100000 binary -> struct 37.216 ms/op 37.432 ms/op 0.99
Vector(Root) 100000 binary -> tree_backed 43.932 ms/op 42.356 ms/op 1.04
Vector(Root) 100000 struct -> tree_backed 54.061 ms/op 49.278 ms/op 1.10
Vector(Root) 100000 tree_backed -> struct 51.516 ms/op 49.389 ms/op 1.04
Vector(Root) 100000 struct -> binary 2.9316 ms/op 2.7343 ms/op 1.07
Vector(Root) 100000 tree_backed -> binary 5.8932 ms/op 6.5106 ms/op 0.91
List(Validator) 100000 binary -> struct 99.943 ms/op 107.22 ms/op 0.93
List(Validator) 100000 binary -> tree_backed 367.38 ms/op 320.95 ms/op 1.14
List(Validator) 100000 struct -> tree_backed 388.99 ms/op 373.91 ms/op 1.04
List(Validator) 100000 tree_backed -> struct 222.57 ms/op 202.44 ms/op 1.10
List(Validator) 100000 struct -> binary 29.102 ms/op 28.992 ms/op 1.00
List(Validator) 100000 tree_backed -> binary 109.03 ms/op 105.77 ms/op 1.03
List(Validator-NS) 100000 binary -> struct 101.98 ms/op 117.19 ms/op 0.87
List(Validator-NS) 100000 binary -> tree_backed 165.59 ms/op 159.64 ms/op 1.04
List(Validator-NS) 100000 struct -> tree_backed 210.26 ms/op 208.31 ms/op 1.01
List(Validator-NS) 100000 tree_backed -> struct 170.44 ms/op 169.86 ms/op 1.00
List(Validator-NS) 100000 struct -> binary 29.008 ms/op 28.812 ms/op 1.01
List(Validator-NS) 100000 tree_backed -> binary 34.638 ms/op 34.085 ms/op 1.02
get epochStatuses - MutableVector 93.967 us/op 98.762 us/op 0.95
get epochStatuses - ViewDU 253.73 us/op 213.39 us/op 1.19
set epochStatuses - ListTreeView 2.1262 ms/op 2.1305 ms/op 1.00
set epochStatuses - ListTreeView - set() 469.62 us/op 446.33 us/op 1.05
set epochStatuses - ListTreeView - commit() 727.22 us/op 731.49 us/op 0.99
bitstring 513.42 ns/op 513.77 ns/op 1.00
bit mask 14.186 ns/op 13.799 ns/op 1.03
struct - increase slot to 1000000 933.83 us/op 933.62 us/op 1.00
UintNumberType - increase slot to 1000000 28.325 ms/op 27.711 ms/op 1.02
UintBigintType - increase slot to 1000000 166.58 ms/op 171.34 ms/op 0.97
UintBigint8 x 100000 tree_deserialize 6.3307 ms/op 4.8651 ms/op 1.30
UintBigint8 x 100000 tree_serialize 1.1283 ms/op 1.1287 ms/op 1.00
UintBigint16 x 100000 tree_deserialize 6.0450 ms/op 6.0631 ms/op 1.00
UintBigint16 x 100000 tree_serialize 1.3553 ms/op 1.3632 ms/op 0.99
UintBigint32 x 100000 tree_deserialize 6.6593 ms/op 5.5379 ms/op 1.20
UintBigint32 x 100000 tree_serialize 1.6980 ms/op 1.8300 ms/op 0.93
UintBigint64 x 100000 tree_deserialize 6.7043 ms/op 6.2323 ms/op 1.08
UintBigint64 x 100000 tree_serialize 1.7363 ms/op 2.4893 ms/op 0.70
UintBigint8 x 100000 value_deserialize 437.41 us/op 437.44 us/op 1.00
UintBigint8 x 100000 value_serialize 754.30 us/op 771.83 us/op 0.98
UintBigint16 x 100000 value_deserialize 467.34 us/op 466.78 us/op 1.00
UintBigint16 x 100000 value_serialize 803.94 us/op 814.65 us/op 0.99
UintBigint32 x 100000 value_deserialize 497.86 us/op 497.55 us/op 1.00
UintBigint32 x 100000 value_serialize 843.46 us/op 851.55 us/op 0.99
UintBigint64 x 100000 value_deserialize 561.47 us/op 561.32 us/op 1.00
UintBigint64 x 100000 value_serialize 1.0295 ms/op 1.0346 ms/op 1.00
UintBigint8 x 100000 deserialize 3.2029 ms/op 3.1338 ms/op 1.02
UintBigint8 x 100000 serialize 1.5755 ms/op 1.5236 ms/op 1.03
UintBigint16 x 100000 deserialize 3.4344 ms/op 3.1959 ms/op 1.07
UintBigint16 x 100000 serialize 1.6350 ms/op 1.5486 ms/op 1.06
UintBigint32 x 100000 deserialize 3.5321 ms/op 3.2662 ms/op 1.08
UintBigint32 x 100000 serialize 2.8591 ms/op 2.8154 ms/op 1.02
UintBigint64 x 100000 deserialize 4.3440 ms/op 4.2641 ms/op 1.02
UintBigint64 x 100000 serialize 1.6615 ms/op 1.7528 ms/op 0.95
UintBigint128 x 100000 deserialize 6.2663 ms/op 5.5805 ms/op 1.12
UintBigint128 x 100000 serialize 15.045 ms/op 15.764 ms/op 0.95
UintBigint256 x 100000 deserialize 9.2336 ms/op 8.9411 ms/op 1.03
UintBigint256 x 100000 serialize 44.642 ms/op 45.903 ms/op 0.97
Slice from Uint8Array x25000 1.2801 ms/op 1.3955 ms/op 0.92
Slice from ArrayBuffer x25000 16.591 ms/op 15.878 ms/op 1.04
Slice from ArrayBuffer x25000 + new Uint8Array 18.293 ms/op 16.324 ms/op 1.12
Copy Uint8Array 100000 iterate 2.6535 ms/op 2.7272 ms/op 0.97
Copy Uint8Array 100000 slice 89.498 us/op 95.870 us/op 0.93
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 88.677 us/op 87.975 us/op 1.01
Copy Buffer 100000 Uint8Array.prototype.slice.call 91.109 us/op 90.034 us/op 1.01
Copy Uint8Array 100000 slice + set 189.09 us/op 177.75 us/op 1.06
Copy Uint8Array 100000 subarray + set 88.410 us/op 88.467 us/op 1.00
Copy Uint8Array 100000 slice arrayBuffer 91.407 us/op 91.189 us/op 1.00
Uint64 deserialize 100000 - iterate Uint8Array 1.9648 ms/op 1.9793 ms/op 0.99
Uint64 deserialize 100000 - by Uint32A 2.0672 ms/op 2.0172 ms/op 1.02
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.9255 ms/op 1.8379 ms/op 1.05
Uint64 deserialize 100000 - by DataView.getBigUint64 4.8716 ms/op 4.8271 ms/op 1.01
Uint64 deserialize 100000 - by byte 41.585 ms/op 40.847 ms/op 1.02

by benchmarkbot/action

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.

3 participants