-
-
Notifications
You must be signed in to change notification settings - Fork 21
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 #315
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
Benchmark suite | Current: d225cce | Previous: dbae75a | Ratio |
---|---|---|---|
250k validators | 12.868 s/op | 3.0091 s/op | 4.28 |
Full benchmark results
Benchmark suite | Current: d225cce | Previous: dbae75a | Ratio |
---|---|---|---|
digestTwoHashObjects 50023 times | 69.068 ms/op | 57.908 ms/op | 1.19 |
digest64 50023 times | 71.078 ms/op | 60.642 ms/op | 1.17 |
digest 50023 times | 71.181 ms/op | 60.606 ms/op | 1.17 |
input length 32 | 1.6680 us/op | 1.5280 us/op | 1.09 |
input length 64 | 1.8220 us/op | 1.5890 us/op | 1.15 |
input length 128 | 3.1990 us/op | 2.8480 us/op | 1.12 |
input length 256 | 4.8190 us/op | 4.1620 us/op | 1.16 |
input length 512 | 8.0430 us/op | 6.7530 us/op | 1.19 |
input length 1024 | 15.562 us/op | 13.478 us/op | 1.15 |
digest 1000000 times | 1.1597 s/op | 1.0406 s/op | 1.11 |
hashObjectToByteArray 50023 times | 1.9218 ms/op | 2.3770 ms/op | 0.81 |
byteArrayToHashObject 50023 times | 2.2327 ms/op | 3.0661 ms/op | 0.73 |
getGindicesAtDepth | 5.5640 us/op | 6.6290 us/op | 0.84 |
iterateAtDepth | 11.920 us/op | 13.377 us/op | 0.89 |
getGindexBits | 578.00 ns/op | 604.00 ns/op | 0.96 |
gindexIterator | 1.3770 us/op | 1.3960 us/op | 0.99 |
hash 2 Uint8Array 2250026 times - as-sha256 | 3.2255 s/op | ||
hashTwoObjects 2250026 times - as-sha256 | 3.1198 s/op | ||
hash 2 Uint8Array 2250026 times - noble | 9.0168 s/op | ||
hashTwoObjects 2250026 times - noble | 12.351 s/op | ||
getNodeH() x7812.5 avg hindex | 21.181 us/op | 20.853 us/op | 1.02 |
getNodeH() x7812.5 index 0 | 7.1690 us/op | 8.1650 us/op | 0.88 |
getNodeH() x7812.5 index 7 | 7.2540 us/op | 8.1220 us/op | 0.89 |
getNodeH() x7812.5 index 7 with key array | 7.3010 us/op | 8.1900 us/op | 0.89 |
new LeafNode() x7812.5 | 291.59 us/op | 145.59 us/op | 2.00 |
multiproof - depth 15, 1 requested leaves | 15.063 us/op | 10.774 us/op | 1.40 |
tree offset multiproof - depth 15, 1 requested leaves | 32.836 us/op | 25.138 us/op | 1.31 |
compact multiproof - depth 15, 1 requested leaves | 8.4100 us/op | 4.0590 us/op | 2.07 |
multiproof - depth 15, 2 requested leaves | 19.802 us/op | 16.570 us/op | 1.20 |
tree offset multiproof - depth 15, 2 requested leaves | 35.563 us/op | 30.683 us/op | 1.16 |
compact multiproof - depth 15, 2 requested leaves | 4.8050 us/op | 4.0690 us/op | 1.18 |
multiproof - depth 15, 3 requested leaves | 27.741 us/op | 23.887 us/op | 1.16 |
tree offset multiproof - depth 15, 3 requested leaves | 47.273 us/op | 40.350 us/op | 1.17 |
compact multiproof - depth 15, 3 requested leaves | 9.5130 us/op | 6.2660 us/op | 1.52 |
multiproof - depth 15, 4 requested leaves | 37.357 us/op | 40.660 us/op | 0.92 |
tree offset multiproof - depth 15, 4 requested leaves | 59.270 us/op | 54.906 us/op | 1.08 |
compact multiproof - depth 15, 4 requested leaves | 10.866 us/op | 8.4230 us/op | 1.29 |
packedRootsBytesToLeafNodes bytes 4000 offset 0 | 3.3120 us/op | 3.8120 us/op | 0.87 |
packedRootsBytesToLeafNodes bytes 4000 offset 1 | 3.3650 us/op | 3.8500 us/op | 0.87 |
packedRootsBytesToLeafNodes bytes 4000 offset 2 | 3.0440 us/op | 3.6950 us/op | 0.82 |
packedRootsBytesToLeafNodes bytes 4000 offset 3 | 2.9560 us/op | 3.6790 us/op | 0.80 |
subtreeFillToContents depth 40 count 250000 | 73.953 ms/op | 92.567 ms/op | 0.80 |
setRoot - gindexBitstring | 13.892 ms/op | 15.222 ms/op | 0.91 |
setRoot - gindex | 16.079 ms/op | 15.731 ms/op | 1.02 |
getRoot - gindexBitstring | 3.0965 ms/op | 3.0653 ms/op | 1.01 |
getRoot - gindex | 4.5547 ms/op | 3.9964 ms/op | 1.14 |
getHashObject then setHashObject | 17.416 ms/op | 17.667 ms/op | 0.99 |
setNodeWithFn | 15.360 ms/op | 15.572 ms/op | 0.99 |
getNodeAtDepth depth 0 x100000 | 1.6239 ms/op | 2.1908 ms/op | 0.74 |
setNodeAtDepth depth 0 x100000 | 3.8393 ms/op | 4.4174 ms/op | 0.87 |
getNodesAtDepth depth 0 x100000 | 1.4382 ms/op | 1.9455 ms/op | 0.74 |
setNodesAtDepth depth 0 x100000 | 1.9883 ms/op | 2.4256 ms/op | 0.82 |
getNodeAtDepth depth 1 x100000 | 1.7534 ms/op | 2.3653 ms/op | 0.74 |
setNodeAtDepth depth 1 x100000 | 8.5122 ms/op | 10.292 ms/op | 0.83 |
getNodesAtDepth depth 1 x100000 | 1.5926 ms/op | 2.0056 ms/op | 0.79 |
setNodesAtDepth depth 1 x100000 | 6.9904 ms/op | 8.2749 ms/op | 0.84 |
getNodeAtDepth depth 2 x100000 | 2.2123 ms/op | 2.7978 ms/op | 0.79 |
setNodeAtDepth depth 2 x100000 | 14.417 ms/op | 16.181 ms/op | 0.89 |
getNodesAtDepth depth 2 x100000 | 27.426 ms/op | 27.725 ms/op | 0.99 |
setNodesAtDepth depth 2 x100000 | 20.990 ms/op | 21.773 ms/op | 0.96 |
tree.getNodesAtDepth - gindexes | 7.9431 ms/op | 9.4025 ms/op | 0.84 |
tree.getNodesAtDepth - push all nodes | 2.5001 ms/op | 2.8365 ms/op | 0.88 |
tree.getNodesAtDepth - navigation | 203.14 us/op | 169.30 us/op | 1.20 |
tree.setNodesAtDepth - indexes | 572.75 us/op | 585.71 us/op | 0.98 |
set at depth 8 | 783.00 ns/op | 732.00 ns/op | 1.07 |
set at depth 16 | 1.0730 us/op | 989.00 ns/op | 1.08 |
set at depth 32 | 1.7010 us/op | 1.6260 us/op | 1.05 |
iterateNodesAtDepth 8 256 | 19.133 us/op | 22.509 us/op | 0.85 |
getNodesAtDepth 8 256 | 4.6400 us/op | 6.0540 us/op | 0.77 |
iterateNodesAtDepth 16 65536 | 5.5354 ms/op | 6.8060 ms/op | 0.81 |
getNodesAtDepth 16 65536 | 2.3872 ms/op | 2.6025 ms/op | 0.92 |
iterateNodesAtDepth 32 250000 | 20.663 ms/op | 25.211 ms/op | 0.82 |
getNodesAtDepth 32 250000 | 5.9918 ms/op | 7.2143 ms/op | 0.83 |
iterateNodesAtDepth 40 250000 | 20.729 ms/op | 25.167 ms/op | 0.82 |
getNodesAtDepth 40 250000 | 6.3208 ms/op | 7.1750 ms/op | 0.88 |
250k validators | 12.868 s/op | 3.0091 s/op | 4.28 |
bitlist bytes to struct (120,90) | 1.1210 us/op | 1.3200 us/op | 0.85 |
bitlist bytes to tree (120,90) | 3.9810 us/op | 5.4550 us/op | 0.73 |
bitlist bytes to struct (2048,2048) | 2.0690 us/op | 2.2790 us/op | 0.91 |
bitlist bytes to tree (2048,2048) | 6.4560 us/op | 8.9530 us/op | 0.72 |
ByteListType - deserialize | 16.569 ms/op | 18.686 ms/op | 0.89 |
BasicListType - deserialize | 12.680 ms/op | 29.759 ms/op | 0.43 |
ByteListType - serialize | 15.973 ms/op | 19.034 ms/op | 0.84 |
BasicListType - serialize | 18.666 ms/op | 22.526 ms/op | 0.83 |
BasicListType - tree_convertToStruct | 31.367 ms/op | 47.525 ms/op | 0.66 |
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate | 4.4945 ms/op | 5.9649 ms/op | 0.75 |
List[uint8, 68719476736] len 300000 ViewDU.get(i) | 4.5851 ms/op | 6.3167 ms/op | 0.73 |
Array.push len 300000 empty Array - number | 8.2362 ms/op | 8.6480 ms/op | 0.95 |
Array.set len 300000 from new Array - number | 1.9685 ms/op | 2.7925 ms/op | 0.70 |
Array.set len 300000 - number | 7.6413 ms/op | 8.6045 ms/op | 0.89 |
Uint8Array.set len 300000 | 252.79 us/op | 273.31 us/op | 0.92 |
Uint32Array.set len 300000 | 339.74 us/op | 430.77 us/op | 0.79 |
Container({a: uint8, b: uint8}) getViewDU x300000 | 30.921 ms/op | 41.985 ms/op | 0.74 |
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 | 12.441 ms/op | 13.765 ms/op | 0.90 |
List(Container) len 300000 ViewDU.getAllReadonly() + iterate | 484.74 ms/op | 401.23 ms/op | 1.21 |
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate | 415.15 ms/op | 499.20 ms/op | 0.83 |
List(Container) len 300000 ViewDU.get(i) | 11.886 ms/op | 11.972 ms/op | 0.99 |
List(Container) len 300000 ViewDU.getReadonly(i) | 9.8699 ms/op | 11.411 ms/op | 0.86 |
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate | 50.279 ms/op | 60.758 ms/op | 0.83 |
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate | 7.2841 ms/op | 9.2190 ms/op | 0.79 |
List(ContainerNodeStruct) len 300000 ViewDU.get(i) | 9.5685 ms/op | 10.233 ms/op | 0.94 |
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) | 8.7722 ms/op | 10.316 ms/op | 0.85 |
Array.push len 300000 empty Array - object | 7.9825 ms/op | 8.5220 ms/op | 0.94 |
Array.set len 300000 from new Array - object | 2.8164 ms/op | 2.8492 ms/op | 0.99 |
Array.set len 300000 - object | 7.7957 ms/op | 8.7091 ms/op | 0.90 |
cachePermanentRootStruct no cache | 13.847 us/op | 12.767 us/op | 1.08 |
cachePermanentRootStruct with cache | 322.00 ns/op | 297.00 ns/op | 1.08 |
epochParticipation len 250000 rws 7813 | 3.1787 ms/op | 3.3212 ms/op | 0.96 |
deserialize Attestation - tree | 4.6860 us/op | 4.4350 us/op | 1.06 |
deserialize Attestation - struct | 3.2320 us/op | 2.9130 us/op | 1.11 |
deserialize SignedAggregateAndProof - tree | 6.0830 us/op | 5.7160 us/op | 1.06 |
deserialize SignedAggregateAndProof - struct | 4.9350 us/op | 4.9550 us/op | 1.00 |
deserialize SyncCommitteeMessage - tree | 1.7550 us/op | 1.5060 us/op | 1.17 |
deserialize SyncCommitteeMessage - struct | 2.0850 us/op | 1.7940 us/op | 1.16 |
deserialize SignedContributionAndProof - tree | 3.0690 us/op | 2.9000 us/op | 1.06 |
deserialize SignedContributionAndProof - struct | 4.4460 us/op | 4.1330 us/op | 1.08 |
deserialize SignedBeaconBlock - tree | 347.60 us/op | 325.51 us/op | 1.07 |
deserialize SignedBeaconBlock - struct | 221.21 us/op | 208.22 us/op | 1.06 |
BeaconState vc 300000 - deserialize tree | 856.02 ms/op | 1.0681 s/op | 0.80 |
BeaconState vc 300000 - serialize tree | 216.64 ms/op | 315.85 ms/op | 0.69 |
BeaconState.historicalRoots vc 300000 - deserialize tree | 1.2500 us/op | 1.1130 us/op | 1.12 |
BeaconState.historicalRoots vc 300000 - serialize tree | 1.3860 us/op | 1.3020 us/op | 1.06 |
BeaconState.validators vc 300000 - deserialize tree | 839.08 ms/op | 1.0370 s/op | 0.81 |
BeaconState.validators vc 300000 - serialize tree | 181.44 ms/op | 265.56 ms/op | 0.68 |
BeaconState.balances vc 300000 - deserialize tree | 31.673 ms/op | 39.766 ms/op | 0.80 |
BeaconState.balances vc 300000 - serialize tree | 4.1349 ms/op | 6.6301 ms/op | 0.62 |
BeaconState.previousEpochParticipation vc 300000 - deserialize tree | 517.36 us/op | 854.13 us/op | 0.61 |
BeaconState.previousEpochParticipation vc 300000 - serialize tree | 343.83 us/op | 473.26 us/op | 0.73 |
BeaconState.currentEpochParticipation vc 300000 - deserialize tree | 493.67 us/op | 825.05 us/op | 0.60 |
BeaconState.currentEpochParticipation vc 300000 - serialize tree | 339.90 us/op | 470.69 us/op | 0.72 |
BeaconState.inactivityScores vc 300000 - deserialize tree | 30.415 ms/op | 42.619 ms/op | 0.71 |
BeaconState.inactivityScores vc 300000 - serialize tree | 5.5762 ms/op | 7.1394 ms/op | 0.78 |
hashTreeRoot Attestation - struct | 53.193 us/op | 45.817 us/op | 1.16 |
hashTreeRoot Attestation - tree | 32.370 us/op | 25.088 us/op | 1.29 |
hashTreeRoot SignedAggregateAndProof - struct | 66.462 us/op | 61.010 us/op | 1.09 |
hashTreeRoot SignedAggregateAndProof - tree | 41.671 us/op | 38.097 us/op | 1.09 |
hashTreeRoot SyncCommitteeMessage - struct | 16.124 us/op | 15.127 us/op | 1.07 |
hashTreeRoot SyncCommitteeMessage - tree | 9.1300 us/op | 8.2870 us/op | 1.10 |
hashTreeRoot SignedContributionAndProof - struct | 49.957 us/op | 43.996 us/op | 1.14 |
hashTreeRoot SignedContributionAndProof - tree | 33.293 us/op | 30.016 us/op | 1.11 |
hashTreeRoot SignedBeaconBlock - struct | 4.1056 ms/op | 3.6727 ms/op | 1.12 |
hashTreeRoot SignedBeaconBlock - tree | 2.4215 ms/op | 2.2069 ms/op | 1.10 |
hashTreeRoot Validator - struct | 20.583 us/op | 18.962 us/op | 1.09 |
hashTreeRoot Validator - tree | 16.428 us/op | 15.724 us/op | 1.04 |
BeaconState vc 300000 - hashTreeRoot tree | 5.1394 s/op | 5.0689 s/op | 1.01 |
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree | 2.1340 us/op | 1.9410 us/op | 1.10 |
BeaconState.validators vc 300000 - hashTreeRoot tree | 4.9028 s/op | 4.6978 s/op | 1.04 |
BeaconState.balances vc 300000 - hashTreeRoot tree | 127.63 ms/op | 124.64 ms/op | 1.02 |
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree | 13.278 ms/op | 11.949 ms/op | 1.11 |
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree | 13.224 ms/op | 11.949 ms/op | 1.11 |
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree | 140.03 ms/op | 110.62 ms/op | 1.27 |
hash64 x18 | 27.906 us/op | 25.028 us/op | 1.11 |
hashTwoObjects x18 | 25.966 us/op | 24.031 us/op | 1.08 |
hash64 x1740 | 2.6161 ms/op | 2.3228 ms/op | 1.13 |
hashTwoObjects x1740 | 2.4714 ms/op | 2.2708 ms/op | 1.09 |
hash64 x2700000 | 4.0748 s/op | 3.6109 s/op | 1.13 |
hashTwoObjects x2700000 | 3.8199 s/op | 3.5226 s/op | 1.08 |
get_exitEpoch - ContainerType | 456.00 ns/op | 519.00 ns/op | 0.88 |
get_exitEpoch - ContainerNodeStructType | 391.00 ns/op | 419.00 ns/op | 0.93 |
set_exitEpoch - ContainerType | 436.00 ns/op | 372.00 ns/op | 1.17 |
set_exitEpoch - ContainerNodeStructType | 406.00 ns/op | 313.00 ns/op | 1.30 |
get_pubkey - ContainerType | 1.6680 us/op | 1.6230 us/op | 1.03 |
get_pubkey - ContainerNodeStructType | 294.00 ns/op | 314.00 ns/op | 0.94 |
hashTreeRoot - ContainerType | 489.00 ns/op | 491.00 ns/op | 1.00 |
hashTreeRoot - ContainerNodeStructType | 549.00 ns/op | 541.00 ns/op | 1.01 |
createProof - ContainerType | 6.5370 us/op | 6.6160 us/op | 0.99 |
createProof - ContainerNodeStructType | 33.187 us/op | 35.031 us/op | 0.95 |
serialize - ContainerType | 3.0950 us/op | 2.9560 us/op | 1.05 |
serialize - ContainerNodeStructType | 2.4840 us/op | 2.3770 us/op | 1.05 |
set_exitEpoch_and_hashTreeRoot - ContainerType | 6.1640 us/op | 5.7620 us/op | 1.07 |
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType | 17.141 us/op | 16.008 us/op | 1.07 |
Array - for of | 9.0330 us/op | 12.908 us/op | 0.70 |
Array - for(;;) | 8.3540 us/op | 10.408 us/op | 0.80 |
basicListValue.readonlyValuesArray() | 4.5582 ms/op | 5.4730 ms/op | 0.83 |
basicListValue.readonlyValuesArray() + loop all | 4.9101 ms/op | 5.4217 ms/op | 0.91 |
compositeListValue.readonlyValuesArray() | 33.739 ms/op | 39.937 ms/op | 0.84 |
compositeListValue.readonlyValuesArray() + loop all | 32.868 ms/op | 34.043 ms/op | 0.97 |
Number64UintType - get balances list | 5.8455 ms/op | 6.5380 ms/op | 0.89 |
Number64UintType - set balances list | 12.277 ms/op | 15.554 ms/op | 0.79 |
Number64UintType - get and increase 10 then set | 49.079 ms/op | 67.332 ms/op | 0.73 |
Number64UintType - increase 10 using applyDelta | 19.881 ms/op | 25.473 ms/op | 0.78 |
Number64UintType - increase 10 using applyDeltaInBatch | 19.591 ms/op | 25.797 ms/op | 0.76 |
tree_newTreeFromUint64Deltas | 21.541 ms/op | 27.101 ms/op | 0.79 |
unsafeUint8ArrayToTree | 46.481 ms/op | 49.635 ms/op | 0.94 |
bitLength(50) | 309.00 ns/op | 312.00 ns/op | 0.99 |
bitLengthStr(50) | 322.00 ns/op | 369.00 ns/op | 0.87 |
bitLength(8000) | 297.00 ns/op | 314.00 ns/op | 0.95 |
bitLengthStr(8000) | 388.00 ns/op | 503.00 ns/op | 0.77 |
bitLength(250000) | 306.00 ns/op | 311.00 ns/op | 0.98 |
bitLengthStr(250000) | 455.00 ns/op | 601.00 ns/op | 0.76 |
floor - Math.floor (53) | 0.60316 ns/op | 0.67040 ns/op | 0.90 |
floor - << 0 (53) | 0.60316 ns/op | 0.66980 ns/op | 0.90 |
floor - Math.floor (512) | 0.60289 ns/op | 0.67014 ns/op | 0.90 |
floor - << 0 (512) | 0.60295 ns/op | 0.67022 ns/op | 0.90 |
fnIf(0) | 2.0091 ns/op | 2.6782 ns/op | 0.75 |
fnSwitch(0) | 3.2942 ns/op | 5.0208 ns/op | 0.66 |
fnObj(0) | 0.60289 ns/op | 0.66984 ns/op | 0.90 |
fnArr(0) | 0.60287 ns/op | 0.67033 ns/op | 0.90 |
fnIf(4) | 3.1916 ns/op | 4.3513 ns/op | 0.73 |
fnSwitch(4) | 3.3203 ns/op | 5.0232 ns/op | 0.66 |
fnObj(4) | 0.60320 ns/op | 0.66991 ns/op | 0.90 |
fnArr(4) | 0.60318 ns/op | 0.67025 ns/op | 0.90 |
fnIf(9) | 5.2272 ns/op | 6.6961 ns/op | 0.78 |
fnSwitch(9) | 3.3087 ns/op | 5.0474 ns/op | 0.66 |
fnObj(9) | 0.60308 ns/op | 0.67028 ns/op | 0.90 |
fnArr(9) | 0.60302 ns/op | 0.67003 ns/op | 0.90 |
Container {a,b,vec} - as struct x100000 | 60.597 us/op | 67.415 us/op | 0.90 |
Container {a,b,vec} - as tree x100000 | 514.32 us/op | 837.15 us/op | 0.61 |
Container {a,vec,b} - as struct x100000 | 120.83 us/op | 100.89 us/op | 1.20 |
Container {a,vec,b} - as tree x100000 | 547.53 us/op | 904.28 us/op | 0.61 |
get 2 props x1000000 - rawObject | 402.36 us/op | 335.26 us/op | 1.20 |
get 2 props x1000000 - proxy | 91.157 ms/op | 133.43 ms/op | 0.68 |
get 2 props x1000000 - customObj | 402.38 us/op | 335.29 us/op | 1.20 |
Simple object binary -> struct | 931.00 ns/op | 967.00 ns/op | 0.96 |
Simple object binary -> tree_backed | 2.9080 us/op | 2.7710 us/op | 1.05 |
Simple object struct -> tree_backed | 3.9960 us/op | 3.7210 us/op | 1.07 |
Simple object tree_backed -> struct | 3.2650 us/op | 3.0490 us/op | 1.07 |
Simple object struct -> binary | 1.7520 us/op | 1.5450 us/op | 1.13 |
Simple object tree_backed -> binary | 2.8370 us/op | 2.6670 us/op | 1.06 |
aggregationBits binary -> struct | 949.00 ns/op | 899.00 ns/op | 1.06 |
aggregationBits binary -> tree_backed | 3.9700 us/op | 3.8450 us/op | 1.03 |
aggregationBits struct -> tree_backed | 4.8050 us/op | 4.6460 us/op | 1.03 |
aggregationBits tree_backed -> struct | 2.0590 us/op | 1.8700 us/op | 1.10 |
aggregationBits struct -> binary | 1.4830 us/op | 1.3430 us/op | 1.10 |
aggregationBits tree_backed -> binary | 1.8210 us/op | 1.6430 us/op | 1.11 |
List(uint8) 100000 binary -> struct | 1.7071 ms/op | 1.9585 ms/op | 0.87 |
List(uint8) 100000 binary -> tree_backed | 140.96 us/op | 180.40 us/op | 0.78 |
List(uint8) 100000 struct -> tree_backed | 1.7869 ms/op | 2.1614 ms/op | 0.83 |
List(uint8) 100000 tree_backed -> struct | 1.1971 ms/op | 1.5327 ms/op | 0.78 |
List(uint8) 100000 struct -> binary | 1.5954 ms/op | 1.9625 ms/op | 0.81 |
List(uint8) 100000 tree_backed -> binary | 99.689 us/op | 143.15 us/op | 0.70 |
List(uint64Number) 100000 binary -> struct | 1.5809 ms/op | 1.6757 ms/op | 0.94 |
List(uint64Number) 100000 binary -> tree_backed | 4.9182 ms/op | 5.4463 ms/op | 0.90 |
List(uint64Number) 100000 struct -> tree_backed | 7.2639 ms/op | 7.8345 ms/op | 0.93 |
List(uint64Number) 100000 tree_backed -> struct | 2.5559 ms/op | 3.2261 ms/op | 0.79 |
List(uint64Number) 100000 struct -> binary | 1.9793 ms/op | 2.3359 ms/op | 0.85 |
List(uint64Number) 100000 tree_backed -> binary | 996.70 us/op | 1.6558 ms/op | 0.60 |
List(Uint64Bigint) 100000 binary -> struct | 4.4468 ms/op | 5.3682 ms/op | 0.83 |
List(Uint64Bigint) 100000 binary -> tree_backed | 5.0699 ms/op | 6.5940 ms/op | 0.77 |
List(Uint64Bigint) 100000 struct -> tree_backed | 7.2179 ms/op | 9.1130 ms/op | 0.79 |
List(Uint64Bigint) 100000 tree_backed -> struct | 5.4865 ms/op | 7.7943 ms/op | 0.70 |
List(Uint64Bigint) 100000 struct -> binary | 2.5967 ms/op | 2.9126 ms/op | 0.89 |
List(Uint64Bigint) 100000 tree_backed -> binary | 1.0951 ms/op | 1.4354 ms/op | 0.76 |
Vector(Root) 100000 binary -> struct | 43.955 ms/op | 50.842 ms/op | 0.86 |
Vector(Root) 100000 binary -> tree_backed | 45.693 ms/op | 52.858 ms/op | 0.86 |
Vector(Root) 100000 struct -> tree_backed | 54.737 ms/op | 68.960 ms/op | 0.79 |
Vector(Root) 100000 tree_backed -> struct | 60.925 ms/op | 79.664 ms/op | 0.76 |
Vector(Root) 100000 struct -> binary | 2.6358 ms/op | 3.1679 ms/op | 0.83 |
Vector(Root) 100000 tree_backed -> binary | 12.038 ms/op | 14.204 ms/op | 0.85 |
List(Validator) 100000 binary -> struct | 159.86 ms/op | 202.13 ms/op | 0.79 |
List(Validator) 100000 binary -> tree_backed | 453.24 ms/op | 517.99 ms/op | 0.88 |
List(Validator) 100000 struct -> tree_backed | 484.21 ms/op | 553.03 ms/op | 0.88 |
List(Validator) 100000 tree_backed -> struct | 257.38 ms/op | 322.98 ms/op | 0.80 |
List(Validator) 100000 struct -> binary | 41.965 ms/op | 46.170 ms/op | 0.91 |
List(Validator) 100000 tree_backed -> binary | 109.24 ms/op | 135.92 ms/op | 0.80 |
List(Validator-NS) 100000 binary -> struct | 168.35 ms/op | 203.21 ms/op | 0.83 |
List(Validator-NS) 100000 binary -> tree_backed | 233.99 ms/op | 282.53 ms/op | 0.83 |
List(Validator-NS) 100000 struct -> tree_backed | 293.37 ms/op | 343.61 ms/op | 0.85 |
List(Validator-NS) 100000 tree_backed -> struct | 236.73 ms/op | 283.61 ms/op | 0.83 |
List(Validator-NS) 100000 struct -> binary | 41.666 ms/op | 46.756 ms/op | 0.89 |
List(Validator-NS) 100000 tree_backed -> binary | 48.287 ms/op | 55.200 ms/op | 0.87 |
get epochStatuses - MutableVector | 96.844 us/op | 121.80 us/op | 0.80 |
get epochStatuses - ViewDU | 284.25 us/op | 281.36 us/op | 1.01 |
set epochStatuses - ListTreeView | 1.8668 ms/op | 2.3047 ms/op | 0.81 |
set epochStatuses - ListTreeView - set() | 588.73 us/op | 697.10 us/op | 0.84 |
set epochStatuses - ListTreeView - commit() | 549.75 us/op | 684.86 us/op | 0.80 |
bitstring | 925.09 ns/op | 768.48 ns/op | 1.20 |
bit mask | 14.498 ns/op | 12.804 ns/op | 1.13 |
struct - increase slot to 1000000 | 1.6617 ms/op | 2.1861 ms/op | 0.76 |
UintNumberType - increase slot to 1000000 | 36.374 ms/op | 51.591 ms/op | 0.71 |
UintBigintType - increase slot to 1000000 | 568.59 ms/op | 617.89 ms/op | 0.92 |
UintBigint8 x 100000 tree_deserialize | 5.8481 ms/op | 6.2157 ms/op | 0.94 |
UintBigint8 x 100000 tree_serialize | 1.4485 ms/op | 2.2040 ms/op | 0.66 |
UintBigint16 x 100000 tree_deserialize | 5.5332 ms/op | 5.7350 ms/op | 0.96 |
UintBigint16 x 100000 tree_serialize | 1.6739 ms/op | 2.1539 ms/op | 0.78 |
UintBigint32 x 100000 tree_deserialize | 7.0835 ms/op | 7.5000 ms/op | 0.94 |
UintBigint32 x 100000 tree_serialize | 1.7112 ms/op | 1.9421 ms/op | 0.88 |
UintBigint64 x 100000 tree_deserialize | 7.6586 ms/op | 8.0087 ms/op | 0.96 |
UintBigint64 x 100000 tree_serialize | 2.2125 ms/op | 2.5548 ms/op | 0.87 |
UintBigint8 x 100000 value_deserialize | 539.04 us/op | 870.87 us/op | 0.62 |
UintBigint8 x 100000 value_serialize | 916.41 us/op | 1.3027 ms/op | 0.70 |
UintBigint16 x 100000 value_deserialize | 586.57 us/op | 933.71 us/op | 0.63 |
UintBigint16 x 100000 value_serialize | 1.0525 ms/op | 1.4075 ms/op | 0.75 |
UintBigint32 x 100000 value_deserialize | 535.52 us/op | 852.20 us/op | 0.63 |
UintBigint32 x 100000 value_serialize | 954.32 us/op | 1.4149 ms/op | 0.67 |
UintBigint64 x 100000 value_deserialize | 607.80 us/op | 905.17 us/op | 0.67 |
UintBigint64 x 100000 value_serialize | 1.2352 ms/op | 1.5883 ms/op | 0.78 |
UintBigint8 x 100000 deserialize | 6.3208 ms/op | 6.8015 ms/op | 0.93 |
UintBigint8 x 100000 serialize | 1.9366 ms/op | 2.5287 ms/op | 0.77 |
UintBigint16 x 100000 deserialize | 5.9483 ms/op | 7.1703 ms/op | 0.83 |
UintBigint16 x 100000 serialize | 2.0897 ms/op | 2.5192 ms/op | 0.83 |
UintBigint32 x 100000 deserialize | 7.1820 ms/op | 8.1715 ms/op | 0.88 |
UintBigint32 x 100000 serialize | 3.7247 ms/op | 4.3966 ms/op | 0.85 |
UintBigint64 x 100000 deserialize | 4.3758 ms/op | 5.4941 ms/op | 0.80 |
UintBigint64 x 100000 serialize | 1.8990 ms/op | 2.5368 ms/op | 0.75 |
UintBigint128 x 100000 deserialize | 7.1360 ms/op | 8.3336 ms/op | 0.86 |
UintBigint128 x 100000 serialize | 21.982 ms/op | 27.551 ms/op | 0.80 |
UintBigint256 x 100000 deserialize | 13.171 ms/op | 15.755 ms/op | 0.84 |
UintBigint256 x 100000 serialize | 65.282 ms/op | 83.136 ms/op | 0.79 |
Slice from Uint8Array x25000 | 1.3971 ms/op | 1.8364 ms/op | 0.76 |
Slice from ArrayBuffer x25000 | 29.891 ms/op | 30.036 ms/op | 1.00 |
Slice from ArrayBuffer x25000 + new Uint8Array | 32.360 ms/op | 33.473 ms/op | 0.97 |
Copy Uint8Array 100000 iterate | 1.0561 ms/op | 1.4873 ms/op | 0.71 |
Copy Uint8Array 100000 slice | 207.20 us/op | 158.04 us/op | 1.31 |
Copy Uint8Array 100000 Uint8Array.prototype.slice.call | 223.19 us/op | 149.68 us/op | 1.49 |
Copy Buffer 100000 Uint8Array.prototype.slice.call | 217.98 us/op | 154.83 us/op | 1.41 |
Copy Uint8Array 100000 slice + set | 413.96 us/op | 342.01 us/op | 1.21 |
Copy Uint8Array 100000 subarray + set | 238.37 us/op | 148.83 us/op | 1.60 |
Copy Uint8Array 100000 slice arrayBuffer | 220.84 us/op | 155.18 us/op | 1.42 |
Uint64 deserialize 100000 - iterate Uint8Array | 2.0929 ms/op | 2.3467 ms/op | 0.89 |
Uint64 deserialize 100000 - by Uint32A | 2.0006 ms/op | 2.2267 ms/op | 0.90 |
Uint64 deserialize 100000 - by DataView.getUint32 x2 | 1.9883 ms/op | 2.3098 ms/op | 0.86 |
Uint64 deserialize 100000 - by DataView.getBigUint64 | 5.8773 ms/op | 7.0624 ms/op | 0.83 |
Uint64 deserialize 100000 - by byte | 72.515 ms/op | 69.229 ms/op | 1.05 |
by benchmarkbot/action
wemeetagain
force-pushed
the
release-please--branches--master
branch
from
April 5, 2023 14:34
484acc5
to
d546242
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
as-sha256: 0.4.0
0.4.0 (2023-04-05)
Features
persistent-merkle-tree: 0.6.0
0.6.0 (2023-04-05)
Features
Dependencies
ssz: 0.11.0
0.11.0 (2023-04-05)
Features
Dependencies
This PR was generated with Release Please. See documentation.