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

Merged
merged 2 commits into from
Jan 24, 2023
Merged

chore: release master #302

merged 2 commits into from
Jan 24, 2023

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Jan 23, 2023

🤖 I have created a release beep boop

persistent-merkle-tree: 0.5.0

0.5.0 (2023-01-24)

Features

@chainsafe/ssz: 0.10.1

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @chainsafe/persistent-merkle-tree bumped from ^0.4.2 to ^0.5.0

This PR was generated with Release Please. See documentation.

@github-actions
Copy link

github-actions bot commented Jan 23, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 2bbece8 Previous: 7f79180 Ratio
digestTwoHashObjects 50023 times 68.738 ms/op 68.126 ms/op 1.01
digest64 50023 times 72.731 ms/op 65.358 ms/op 1.11
digest 50023 times 75.153 ms/op 70.424 ms/op 1.07
input length 32 1.7800 us/op 1.7370 us/op 1.02
input length 64 1.8900 us/op 2.0500 us/op 0.92
input length 128 3.2580 us/op 3.4100 us/op 0.96
input length 256 4.8970 us/op 4.8890 us/op 1.00
input length 512 7.9180 us/op 8.0300 us/op 0.99
input length 1024 16.007 us/op 15.521 us/op 1.03
digest 1000000 times 1.2207 s/op 1.1432 s/op 1.07
hashObjectToByteArray 50023 times 2.7514 ms/op 2.3451 ms/op 1.17
byteArrayToHashObject 50023 times 3.0255 ms/op 2.5900 ms/op 1.17
getGindicesAtDepth 6.8670 us/op 5.9070 us/op 1.16
iterateAtDepth 14.063 us/op 12.448 us/op 1.13
getGindexBits 692.00 ns/op 608.00 ns/op 1.14
gindexIterator 1.5080 us/op 1.2480 us/op 1.21
hash 2 Uint8Array 2250026 times 3.3982 s/op 3.2517 s/op 1.05
hashTwoObjects 2250026 times 3.1641 s/op 2.9602 s/op 1.07
getNodeH() x7812.5 avg hindex 25.902 us/op 27.122 us/op 0.96
getNodeH() x7812.5 index 0 6.9970 us/op 7.2510 us/op 0.96
getNodeH() x7812.5 index 7 7.0100 us/op 7.1600 us/op 0.98
getNodeH() x7812.5 index 7 with key array 6.9060 us/op 6.8380 us/op 1.01
new LeafNode() x7812.5 378.64 us/op 386.38 us/op 0.98
multiproof - depth 15, 1 requested leaves 15.306 us/op 15.167 us/op 1.01
tree offset multiproof - depth 15, 1 requested leaves 32.158 us/op 32.509 us/op 0.99
compact multiproof - depth 15, 1 requested leaves 8.0720 us/op 9.2730 us/op 0.87
multiproof - depth 15, 2 requested leaves 19.781 us/op 21.259 us/op 0.93
tree offset multiproof - depth 15, 2 requested leaves 38.429 us/op 38.023 us/op 1.01
compact multiproof - depth 15, 2 requested leaves 4.5350 us/op 4.1750 us/op 1.09
multiproof - depth 15, 3 requested leaves 29.366 us/op 29.916 us/op 0.98
tree offset multiproof - depth 15, 3 requested leaves 52.343 us/op 48.062 us/op 1.09
compact multiproof - depth 15, 3 requested leaves 8.6490 us/op 7.3430 us/op 1.18
multiproof - depth 15, 4 requested leaves 40.057 us/op 37.224 us/op 1.08
tree offset multiproof - depth 15, 4 requested leaves 62.673 us/op 57.804 us/op 1.08
compact multiproof - depth 15, 4 requested leaves 8.8180 us/op 8.5940 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 0 3.9310 us/op 3.4640 us/op 1.13
packedRootsBytesToLeafNodes bytes 4000 offset 1 3.8240 us/op 3.7310 us/op 1.02
packedRootsBytesToLeafNodes bytes 4000 offset 2 3.9280 us/op 3.7720 us/op 1.04
packedRootsBytesToLeafNodes bytes 4000 offset 3 4.0780 us/op 3.4350 us/op 1.19
subtreeFillToContents depth 40 count 250000 98.130 ms/op 97.912 ms/op 1.00
setRoot - gindexBitstring 15.978 ms/op 16.001 ms/op 1.00
setRoot - gindex 17.671 ms/op 16.665 ms/op 1.06
getRoot - gindexBitstring 3.0842 ms/op 3.4499 ms/op 0.89
getRoot - gindex 4.4796 ms/op 4.3628 ms/op 1.03
getHashObject then setHashObject 19.613 ms/op 18.468 ms/op 1.06
setNodeWithFn 18.024 ms/op 15.600 ms/op 1.16
getNodeAtDepth depth 0 x100000 1.8739 ms/op 1.5710 ms/op 1.19
setNodeAtDepth depth 0 x100000 4.4814 ms/op 4.1821 ms/op 1.07
getNodesAtDepth depth 0 x100000 1.5417 ms/op 1.4667 ms/op 1.05
setNodesAtDepth depth 0 x100000 2.1873 ms/op 1.9507 ms/op 1.12
getNodeAtDepth depth 1 x100000 1.8689 ms/op 1.6144 ms/op 1.16
setNodeAtDepth depth 1 x100000 10.822 ms/op 8.8355 ms/op 1.22
getNodesAtDepth depth 1 x100000 1.7861 ms/op 1.7164 ms/op 1.04
setNodesAtDepth depth 1 x100000 7.6964 ms/op 6.8588 ms/op 1.12
getNodeAtDepth depth 2 x100000 2.5532 ms/op 2.2099 ms/op 1.16
setNodeAtDepth depth 2 x100000 19.050 ms/op 16.505 ms/op 1.15
getNodesAtDepth depth 2 x100000 33.783 ms/op 30.257 ms/op 1.12
setNodesAtDepth depth 2 x100000 25.570 ms/op 20.522 ms/op 1.25
tree.getNodesAtDepth - gindexes 7.6841 ms/op 6.9331 ms/op 1.11
tree.getNodesAtDepth - push all nodes 2.7788 ms/op 2.5894 ms/op 1.07
tree.getNodesAtDepth - navigation 187.12 us/op 163.56 us/op 1.14
tree.setNodesAtDepth - indexes 653.18 us/op 548.45 us/op 1.19
set at depth 8 973.00 ns/op 929.00 ns/op 1.05
set at depth 16 1.2380 us/op 1.2710 us/op 0.97
set at depth 32 2.0180 us/op 2.0950 us/op 0.96
iterateNodesAtDepth 8 256 24.002 us/op 24.586 us/op 0.98
getNodesAtDepth 8 256 5.4410 us/op 6.0090 us/op 0.91
iterateNodesAtDepth 16 65536 7.1778 ms/op 6.8786 ms/op 1.04
getNodesAtDepth 16 65536 2.5911 ms/op 2.6079 ms/op 0.99
iterateNodesAtDepth 32 250000 26.540 ms/op 28.793 ms/op 0.92
getNodesAtDepth 32 250000 6.7903 ms/op 6.9669 ms/op 0.97
iterateNodesAtDepth 40 250000 25.987 ms/op 27.504 ms/op 0.94
getNodesAtDepth 40 250000 6.6500 ms/op 7.3680 ms/op 0.90
250k validators 3.5384 s/op 3.4124 s/op 1.04
bitlist bytes to struct (120,90) 1.4910 us/op 1.4190 us/op 1.05
bitlist bytes to tree (120,90) 5.6720 us/op 5.6770 us/op 1.00
bitlist bytes to struct (2048,2048) 2.3200 us/op 2.3890 us/op 0.97
bitlist bytes to tree (2048,2048) 9.2060 us/op 8.9740 us/op 1.03
ByteListType - deserialize 20.256 ms/op 18.733 ms/op 1.08
BasicListType - deserialize 27.816 ms/op 27.657 ms/op 1.01
ByteListType - serialize 19.485 ms/op 19.724 ms/op 0.99
BasicListType - serialize 22.972 ms/op 23.139 ms/op 0.99
BasicListType - tree_convertToStruct 35.171 ms/op 46.210 ms/op 0.76
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 7.5414 ms/op 6.4253 ms/op 1.17
List[uint8, 68719476736] len 300000 ViewDU.get(i) 6.2993 ms/op 5.9280 ms/op 1.06
Array.push len 300000 empty Array - number 8.9921 ms/op 9.4182 ms/op 0.95
Array.set len 300000 from new Array - number 2.7419 ms/op 2.1815 ms/op 1.26
Array.set len 300000 - number 9.6493 ms/op 7.8747 ms/op 1.23
Uint8Array.set len 300000 298.35 us/op 251.41 us/op 1.19
Uint32Array.set len 300000 454.36 us/op 345.81 us/op 1.31
Container({a: uint8, b: uint8}) getViewDU x300000 44.134 ms/op 40.122 ms/op 1.10
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 16.575 ms/op 13.594 ms/op 1.22
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 452.45 ms/op 455.25 ms/op 0.99
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 527.71 ms/op 580.03 ms/op 0.91
List(Container) len 300000 ViewDU.get(i) 11.736 ms/op 12.868 ms/op 0.91
List(Container) len 300000 ViewDU.getReadonly(i) 10.640 ms/op 12.420 ms/op 0.86
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 61.784 ms/op 56.580 ms/op 1.09
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 7.4605 ms/op 9.5176 ms/op 0.78
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 10.221 ms/op 10.319 ms/op 0.99
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 10.076 ms/op 8.4865 ms/op 1.19
Array.push len 300000 empty Array - object 8.8174 ms/op 8.4145 ms/op 1.05
Array.set len 300000 from new Array - object 2.6762 ms/op 2.6294 ms/op 1.02
Array.set len 300000 - object 9.0950 ms/op 7.5815 ms/op 1.20
cachePermanentRootStruct no cache 14.461 us/op 13.696 us/op 1.06
cachePermanentRootStruct with cache 354.00 ns/op 325.00 ns/op 1.09
epochParticipation len 250000 rws 7813 4.0144 ms/op 4.0921 ms/op 0.98
deserialize Attestation - tree 5.5460 us/op 5.0450 us/op 1.10
deserialize Attestation - struct 3.4180 us/op 3.5210 us/op 0.97
deserialize SignedAggregateAndProof - tree 7.8940 us/op 7.0720 us/op 1.12
deserialize SignedAggregateAndProof - struct 5.7110 us/op 6.2520 us/op 0.91
deserialize SyncCommitteeMessage - tree 1.9240 us/op 1.8620 us/op 1.03
deserialize SyncCommitteeMessage - struct 2.2960 us/op 2.3240 us/op 0.99
deserialize SignedContributionAndProof - tree 3.8350 us/op 2.9060 us/op 1.32
deserialize SignedContributionAndProof - struct 5.1690 us/op 4.7250 us/op 1.09
deserialize SignedBeaconBlock - tree 446.23 us/op 386.17 us/op 1.16
deserialize SignedBeaconBlock - struct 270.11 us/op 219.97 us/op 1.23
BeaconState vc 300000 - deserialize tree 1.1860 s/op 1.1678 s/op 1.02
BeaconState vc 300000 - serialize tree 345.26 ms/op 298.52 ms/op 1.16
BeaconState.historicalRoots vc 300000 - deserialize tree 1.5280 us/op 1.3250 us/op 1.15
BeaconState.historicalRoots vc 300000 - serialize tree 1.4770 us/op 1.6840 us/op 0.88
BeaconState.validators vc 300000 - deserialize tree 1.1026 s/op 1.1109 s/op 0.99
BeaconState.validators vc 300000 - serialize tree 263.89 ms/op 251.55 ms/op 1.05
BeaconState.balances vc 300000 - deserialize tree 44.638 ms/op 47.277 ms/op 0.94
BeaconState.balances vc 300000 - serialize tree 5.8948 ms/op 5.0388 ms/op 1.17
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 973.24 us/op 880.73 us/op 1.11
BeaconState.previousEpochParticipation vc 300000 - serialize tree 449.11 us/op 433.86 us/op 1.04
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 908.74 us/op 945.34 us/op 0.96
BeaconState.currentEpochParticipation vc 300000 - serialize tree 459.46 us/op 437.35 us/op 1.05
BeaconState.inactivityScores vc 300000 - deserialize tree 49.407 ms/op 43.948 ms/op 1.12
BeaconState.inactivityScores vc 300000 - serialize tree 6.5072 ms/op 4.7489 ms/op 1.37
hashTreeRoot Attestation - struct 61.936 us/op 44.462 us/op 1.39
hashTreeRoot Attestation - tree 35.088 us/op 26.949 us/op 1.30
hashTreeRoot SignedAggregateAndProof - struct 80.943 us/op 60.584 us/op 1.34
hashTreeRoot SignedAggregateAndProof - tree 62.841 us/op 38.683 us/op 1.62
hashTreeRoot SyncCommitteeMessage - struct 18.572 us/op 15.522 us/op 1.20
hashTreeRoot SyncCommitteeMessage - tree 12.227 us/op 8.4390 us/op 1.45
hashTreeRoot SignedContributionAndProof - struct 49.870 us/op 42.315 us/op 1.18
hashTreeRoot SignedContributionAndProof - tree 32.254 us/op 28.341 us/op 1.14
hashTreeRoot SignedBeaconBlock - struct 4.6529 ms/op 3.4480 ms/op 1.35
hashTreeRoot SignedBeaconBlock - tree 2.8559 ms/op 2.2925 ms/op 1.25
hashTreeRoot Validator - struct 23.488 us/op 18.800 us/op 1.25
hashTreeRoot Validator - tree 20.850 us/op 17.508 us/op 1.19
BeaconState vc 300000 - hashTreeRoot tree 6.2040 s/op 6.0203 s/op 1.03
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 2.3060 us/op 2.0510 us/op 1.12
BeaconState.validators vc 300000 - hashTreeRoot tree 5.9124 s/op 5.4269 s/op 1.09
BeaconState.balances vc 300000 - hashTreeRoot tree 133.20 ms/op 132.58 ms/op 1.00
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 14.803 ms/op 15.008 ms/op 0.99
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 14.399 ms/op 14.114 ms/op 1.02
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 140.80 ms/op 144.80 ms/op 0.97
hash64 x18 31.056 us/op 31.572 us/op 0.98
hashTwoObjects x18 30.424 us/op 33.666 us/op 0.90
hash64 x1740 2.8653 ms/op 2.7045 ms/op 1.06
hashTwoObjects x1740 2.7649 ms/op 2.5412 ms/op 1.09
hash64 x2700000 4.4657 s/op 3.8937 s/op 1.15
hashTwoObjects x2700000 4.3706 s/op 3.9115 s/op 1.12
get_exitEpoch - ContainerType 544.00 ns/op 563.00 ns/op 0.97
get_exitEpoch - ContainerNodeStructType 452.00 ns/op 448.00 ns/op 1.01
set_exitEpoch - ContainerType 514.00 ns/op 507.00 ns/op 1.01
set_exitEpoch - ContainerNodeStructType 484.00 ns/op 454.00 ns/op 1.07
get_pubkey - ContainerType 1.8160 us/op 1.8810 us/op 0.97
get_pubkey - ContainerNodeStructType 356.00 ns/op 362.00 ns/op 0.98
hashTreeRoot - ContainerType 544.00 ns/op 521.00 ns/op 1.04
hashTreeRoot - ContainerNodeStructType 627.00 ns/op 546.00 ns/op 1.15
createProof - ContainerType 7.8100 us/op 7.0700 us/op 1.10
createProof - ContainerNodeStructType 41.900 us/op 39.151 us/op 1.07
serialize - ContainerType 3.2790 us/op 3.1140 us/op 1.05
serialize - ContainerNodeStructType 2.9060 us/op 2.6610 us/op 1.09
set_exitEpoch_and_hashTreeRoot - ContainerType 6.9700 us/op 6.1570 us/op 1.13
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 20.326 us/op 18.759 us/op 1.08
Array - for of 16.043 us/op 7.4900 us/op 2.14
Array - for(;;) 14.685 us/op 6.9940 us/op 2.10
basicListValue.readonlyValuesArray() 5.7587 ms/op 5.3687 ms/op 1.07
basicListValue.readonlyValuesArray() + loop all 5.8046 ms/op 5.6286 ms/op 1.03
compositeListValue.readonlyValuesArray() 61.664 ms/op 54.754 ms/op 1.13
compositeListValue.readonlyValuesArray() + loop all 61.587 ms/op 36.792 ms/op 1.67
Number64UintType - get balances list 7.0434 ms/op 7.3462 ms/op 0.96
Number64UintType - set balances list 15.937 ms/op 19.640 ms/op 0.81
Number64UintType - get and increase 10 then set 76.013 ms/op 74.027 ms/op 1.03
Number64UintType - increase 10 using applyDelta 25.489 ms/op 28.473 ms/op 0.90
Number64UintType - increase 10 using applyDeltaInBatch 25.723 ms/op 29.362 ms/op 0.88
tree_newTreeFromUint64Deltas 30.131 ms/op 31.202 ms/op 0.97
unsafeUint8ArrayToTree 54.098 ms/op 51.381 ms/op 1.05
bitLength(50) 395.00 ns/op 302.00 ns/op 1.31
bitLengthStr(50) 464.00 ns/op 400.00 ns/op 1.16
bitLength(8000) 354.00 ns/op 301.00 ns/op 1.18
bitLengthStr(8000) 583.00 ns/op 572.00 ns/op 1.02
bitLength(250000) 366.00 ns/op 310.00 ns/op 1.18
bitLengthStr(250000) 718.00 ns/op 592.00 ns/op 1.21
floor - Math.floor (53) 0.65776 ns/op 0.60421 ns/op 1.09
floor - << 0 (53) 0.66233 ns/op 0.63472 ns/op 1.04
floor - Math.floor (512) 0.66953 ns/op 0.61623 ns/op 1.09
floor - << 0 (512) 0.65129 ns/op 0.65016 ns/op 1.00
fnIf(0) 2.0350 ns/op 1.8415 ns/op 1.11
fnSwitch(0) 3.1500 ns/op 2.9624 ns/op 1.06
fnObj(0) 0.67099 ns/op 0.60397 ns/op 1.11
fnArr(0) 0.65204 ns/op 0.56400 ns/op 1.16
fnIf(4) 2.9924 ns/op 2.6662 ns/op 1.12
fnSwitch(4) 3.1635 ns/op 3.0183 ns/op 1.05
fnObj(4) 0.65678 ns/op 0.54458 ns/op 1.21
fnArr(4) 0.66326 ns/op 0.57193 ns/op 1.16
fnIf(9) 4.1411 ns/op 3.5874 ns/op 1.15
fnSwitch(9) 3.1487 ns/op 2.8276 ns/op 1.11
fnObj(9) 0.64333 ns/op 0.56891 ns/op 1.13
fnArr(9) 0.64662 ns/op 0.58108 ns/op 1.11
Container {a,b,vec} - as struct x100000 67.863 us/op 59.032 us/op 1.15
Container {a,b,vec} - as tree x100000 631.08 us/op 555.54 us/op 1.14
Container {a,vec,b} - as struct x100000 102.06 us/op 86.710 us/op 1.18
Container {a,vec,b} - as tree x100000 741.14 us/op 662.85 us/op 1.12
get 2 props x1000000 - rawObject 397.39 us/op 337.12 us/op 1.18
get 2 props x1000000 - proxy 122.23 ms/op 104.45 ms/op 1.17
get 2 props x1000000 - customObj 368.89 us/op 333.41 us/op 1.11
Simple object binary -> struct 1.2970 us/op 1.2220 us/op 1.06
Simple object binary -> tree_backed 3.7580 us/op 3.5370 us/op 1.06
Simple object struct -> tree_backed 4.9790 us/op 4.4950 us/op 1.11
Simple object tree_backed -> struct 3.8810 us/op 3.6660 us/op 1.06
Simple object struct -> binary 1.9550 us/op 1.8920 us/op 1.03
Simple object tree_backed -> binary 3.3920 us/op 2.9030 us/op 1.17
aggregationBits binary -> struct 1.1790 us/op 915.00 ns/op 1.29
aggregationBits binary -> tree_backed 4.8460 us/op 3.8910 us/op 1.25
aggregationBits struct -> tree_backed 5.2160 us/op 4.5110 us/op 1.16
aggregationBits tree_backed -> struct 2.0230 us/op 2.0510 us/op 0.99
aggregationBits struct -> binary 1.5230 us/op 1.3360 us/op 1.14
aggregationBits tree_backed -> binary 1.7460 us/op 1.6000 us/op 1.09
List(uint8) 100000 binary -> struct 1.8352 ms/op 1.9048 ms/op 0.96
List(uint8) 100000 binary -> tree_backed 230.09 us/op 196.30 us/op 1.17
List(uint8) 100000 struct -> tree_backed 2.3849 ms/op 2.0745 ms/op 1.15
List(uint8) 100000 tree_backed -> struct 1.4578 ms/op 1.4105 ms/op 1.03
List(uint8) 100000 struct -> binary 1.9905 ms/op 1.9485 ms/op 1.02
List(uint8) 100000 tree_backed -> binary 152.06 us/op 149.28 us/op 1.02
List(uint64Number) 100000 binary -> struct 1.9038 ms/op 1.9049 ms/op 1.00
List(uint64Number) 100000 binary -> tree_backed 6.7227 ms/op 6.7878 ms/op 0.99
List(uint64Number) 100000 struct -> tree_backed 9.4791 ms/op 7.5891 ms/op 1.25
List(uint64Number) 100000 tree_backed -> struct 3.1833 ms/op 3.0781 ms/op 1.03
List(uint64Number) 100000 struct -> binary 2.4296 ms/op 2.4093 ms/op 1.01
List(uint64Number) 100000 tree_backed -> binary 1.2759 ms/op 1.2897 ms/op 0.99
List(Uint64Bigint) 100000 binary -> struct 5.7284 ms/op 5.4244 ms/op 1.06
List(Uint64Bigint) 100000 binary -> tree_backed 6.5843 ms/op 6.3668 ms/op 1.03
List(Uint64Bigint) 100000 struct -> tree_backed 10.370 ms/op 10.490 ms/op 0.99
List(Uint64Bigint) 100000 tree_backed -> struct 6.9545 ms/op 6.3010 ms/op 1.10
List(Uint64Bigint) 100000 struct -> binary 3.6401 ms/op 3.1037 ms/op 1.17
List(Uint64Bigint) 100000 tree_backed -> binary 1.3001 ms/op 1.3704 ms/op 0.95
Vector(Root) 100000 binary -> struct 59.725 ms/op 61.103 ms/op 0.98
Vector(Root) 100000 binary -> tree_backed 61.092 ms/op 51.488 ms/op 1.19
Vector(Root) 100000 struct -> tree_backed 77.415 ms/op 72.549 ms/op 1.07
Vector(Root) 100000 tree_backed -> struct 89.865 ms/op 83.639 ms/op 1.07
Vector(Root) 100000 struct -> binary 3.6688 ms/op 3.1308 ms/op 1.17
Vector(Root) 100000 tree_backed -> binary 15.682 ms/op 13.678 ms/op 1.15
List(Validator) 100000 binary -> struct 214.76 ms/op 203.69 ms/op 1.05
List(Validator) 100000 binary -> tree_backed 609.93 ms/op 576.59 ms/op 1.06
List(Validator) 100000 struct -> tree_backed 650.03 ms/op 635.72 ms/op 1.02
List(Validator) 100000 tree_backed -> struct 356.61 ms/op 373.86 ms/op 0.95
List(Validator) 100000 struct -> binary 53.310 ms/op 52.888 ms/op 1.01
List(Validator) 100000 tree_backed -> binary 161.64 ms/op 159.26 ms/op 1.01
List(Validator-NS) 100000 binary -> struct 230.62 ms/op 221.58 ms/op 1.04
List(Validator-NS) 100000 binary -> tree_backed 316.67 ms/op 306.27 ms/op 1.03
List(Validator-NS) 100000 struct -> tree_backed 385.09 ms/op 381.50 ms/op 1.01
List(Validator-NS) 100000 tree_backed -> struct 312.35 ms/op 323.40 ms/op 0.97
List(Validator-NS) 100000 struct -> binary 57.603 ms/op 49.809 ms/op 1.16
List(Validator-NS) 100000 tree_backed -> binary 67.460 ms/op 67.125 ms/op 1.00
get epochStatuses - MutableVector 151.93 us/op 136.81 us/op 1.11
get epochStatuses - ViewDU 280.15 us/op 276.13 us/op 1.01
set epochStatuses - ListTreeView 2.3062 ms/op 2.2147 ms/op 1.04
set epochStatuses - ListTreeView - set() 623.72 us/op 582.27 us/op 1.07
set epochStatuses - ListTreeView - commit() 648.76 us/op 648.05 us/op 1.00
bitstring 825.50 ns/op 804.99 ns/op 1.03
bit mask 14.813 ns/op 14.799 ns/op 1.00
struct - increase slot to 1000000 2.9309 ms/op 2.7357 ms/op 1.07
UintNumberType - increase slot to 1000000 51.315 ms/op 44.887 ms/op 1.14
UintBigintType - increase slot to 1000000 683.30 ms/op 642.95 ms/op 1.06
UintBigint8 x 100000 tree_deserialize 7.8580 ms/op 6.9238 ms/op 1.13
UintBigint8 x 100000 tree_serialize 1.9910 ms/op 1.9716 ms/op 1.01
UintBigint16 x 100000 tree_deserialize 8.0917 ms/op 6.6585 ms/op 1.22
UintBigint16 x 100000 tree_serialize 2.0745 ms/op 1.9165 ms/op 1.08
UintBigint32 x 100000 tree_deserialize 8.4868 ms/op 8.3994 ms/op 1.01
UintBigint32 x 100000 tree_serialize 1.9816 ms/op 1.8912 ms/op 1.05
UintBigint64 x 100000 tree_deserialize 9.1403 ms/op 9.9263 ms/op 0.92
UintBigint64 x 100000 tree_serialize 2.9097 ms/op 2.5255 ms/op 1.15
UintBigint8 x 100000 value_deserialize 687.29 us/op 635.23 us/op 1.08
UintBigint8 x 100000 value_serialize 1.4249 ms/op 1.3729 ms/op 1.04
UintBigint16 x 100000 value_deserialize 671.56 us/op 644.88 us/op 1.04
UintBigint16 x 100000 value_serialize 1.6814 ms/op 1.5354 ms/op 1.10
UintBigint32 x 100000 value_deserialize 690.88 us/op 647.25 us/op 1.07
UintBigint32 x 100000 value_serialize 1.5912 ms/op 1.6108 ms/op 0.99
UintBigint64 x 100000 value_deserialize 773.16 us/op 703.14 us/op 1.10
UintBigint64 x 100000 value_serialize 1.8698 ms/op 1.8283 ms/op 1.02
UintBigint8 x 100000 deserialize 8.1714 ms/op 7.1695 ms/op 1.14
UintBigint8 x 100000 serialize 2.4448 ms/op 2.1396 ms/op 1.14
UintBigint16 x 100000 deserialize 7.1899 ms/op 7.1108 ms/op 1.01
UintBigint16 x 100000 serialize 2.4979 ms/op 2.2729 ms/op 1.10
UintBigint32 x 100000 deserialize 8.7344 ms/op 9.0553 ms/op 0.96
UintBigint32 x 100000 serialize 4.5769 ms/op 4.8067 ms/op 0.95
UintBigint64 x 100000 deserialize 5.7757 ms/op 5.7498 ms/op 1.00
UintBigint64 x 100000 serialize 2.3017 ms/op 2.2937 ms/op 1.00
UintBigint128 x 100000 deserialize 9.1538 ms/op 9.3664 ms/op 0.98
UintBigint128 x 100000 serialize 32.746 ms/op 31.009 ms/op 1.06
UintBigint256 x 100000 deserialize 16.885 ms/op 17.936 ms/op 0.94
UintBigint256 x 100000 serialize 95.159 ms/op 93.041 ms/op 1.02
Slice from Uint8Array x25000 1.9139 ms/op 2.0416 ms/op 0.94
Slice from ArrayBuffer x25000 31.182 ms/op 35.432 ms/op 0.88
Slice from ArrayBuffer x25000 + new Uint8Array 35.215 ms/op 41.390 ms/op 0.85
Copy Uint8Array 100000 iterate 1.0764 ms/op 1.0583 ms/op 1.02
Copy Uint8Array 100000 slice 166.07 us/op 193.91 us/op 0.86
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 157.07 us/op 185.17 us/op 0.85
Copy Buffer 100000 Uint8Array.prototype.slice.call 159.76 us/op 200.38 us/op 0.80
Copy Uint8Array 100000 slice + set 333.90 us/op 362.70 us/op 0.92
Copy Uint8Array 100000 subarray + set 171.59 us/op 198.74 us/op 0.86
Copy Uint8Array 100000 slice arrayBuffer 172.22 us/op 172.75 us/op 1.00
Uint64 deserialize 100000 - iterate Uint8Array 2.7102 ms/op 2.5656 ms/op 1.06
Uint64 deserialize 100000 - by Uint32A 2.3631 ms/op 2.4146 ms/op 0.98
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.3447 ms/op 2.4389 ms/op 0.96
Uint64 deserialize 100000 - by DataView.getBigUint64 7.0994 ms/op 7.5598 ms/op 0.94
Uint64 deserialize 100000 - by byte 63.737 ms/op 65.556 ms/op 0.97

by benchmarkbot/action

@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 2f78d83 to 3f0b892 Compare January 24, 2023 06:49
@wemeetagain wemeetagain merged commit 18baeaa into master Jan 24, 2023
@wemeetagain wemeetagain deleted the release-please--branches--master branch January 24, 2023 08:54
@wemeetagain
Copy link
Member Author

@wemeetagain
Copy link
Member Author

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.

2 participants