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

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

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Sep 4, 2024

🤖 I have created a release beep boop

as-sha256: 0.5.0

0.5.0 (2024-10-10)

Bug Fixes

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

0.8.0 (2024-10-10)

Features

ssz: 0.18.0

0.18.0 (2024-10-10)

Features


This PR was generated with Release Please. See documentation.

Copy link

github-actions bot commented Sep 4, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 234c7fe Previous: 78a0291 Ratio
digestTwoHashObjects 50023 times 48.077 ms/op 47.955 ms/op 1.00
digest64 50023 times 53.612 ms/op 53.455 ms/op 1.00
digest 50023 times 60.477 ms/op 54.643 ms/op 1.11
input length 32 1.2150 us/op 1.2460 us/op 0.98
input length 64 1.3440 us/op 1.3870 us/op 0.97
input length 128 2.2620 us/op 2.3640 us/op 0.96
input length 256 3.3800 us/op 3.4970 us/op 0.97
input length 512 5.5650 us/op 5.8010 us/op 0.96
input length 1024 10.753 us/op 11.031 us/op 0.97
digest 1000000 times 886.55 ms/op 887.79 ms/op 1.00
hashObjectToByteArray 50023 times 1.4296 ms/op 1.4321 ms/op 1.00
byteArrayToHashObject 50023 times 2.4890 ms/op 2.5718 ms/op 0.97
digest64 200092 times 220.14 ms/op 219.91 ms/op 1.00
hash 200092 times using batchHash4UintArray64s 238.33 ms/op 239.60 ms/op 0.99
digest64HashObjects 200092 times 191.40 ms/op 192.12 ms/op 1.00
hash 200092 times using batchHash4HashObjectInputs 200.74 ms/op 213.35 ms/op 0.94
getGindicesAtDepth 4.2950 us/op 4.3310 us/op 0.99
iterateAtDepth 7.5800 us/op 7.6440 us/op 0.99
getGindexBits 486.00 ns/op 475.00 ns/op 1.02
gindexIterator 956.00 ns/op 1.0530 us/op 0.91
HashComputationLevel.push then loop 24.971 ms/op 24.957 ms/op 1.00
HashComputation[] push then loop 48.229 ms/op 48.283 ms/op 1.00
hash 2 Uint8Array 500000 times - as-sha256 548.38 ms/op 536.36 ms/op 1.02
hashTwoObjects 500000 times - as-sha256 508.68 ms/op 500.87 ms/op 1.02
executeHashComputations - as-sha256 47.815 ms/op 48.651 ms/op 0.98
hash 2 Uint8Array 500000 times - noble 1.1147 s/op 1.0748 s/op 1.04
hashTwoObjects 500000 times - noble 1.5092 s/op 1.5084 s/op 1.00
executeHashComputations - noble 43.440 ms/op 41.731 ms/op 1.04
hash 2 Uint8Array 500000 times - hashtree 224.99 ms/op 222.50 ms/op 1.01
hashTwoObjects 500000 times - hashtree 217.63 ms/op 212.42 ms/op 1.02
executeHashComputations - hashtree 9.0443 ms/op 10.738 ms/op 0.84
getHashComputations 3.1505 ms/op 2.5520 ms/op 1.23
executeHashComputations 11.956 ms/op 11.326 ms/op 1.06
get root 17.151 ms/op 15.814 ms/op 1.08
getNodeH() x7812.5 avg hindex 15.577 us/op 12.181 us/op 1.28
getNodeH() x7812.5 index 0 6.2740 us/op 6.2350 us/op 1.01
getNodeH() x7812.5 index 7 6.2390 us/op 6.3800 us/op 0.98
getNodeH() x7812.5 index 7 with key array 6.2350 us/op 6.3190 us/op 0.99
new LeafNode() x7812.5 14.673 us/op 14.650 us/op 1.00
getHashComputations 250000 nodes 19.180 ms/op 19.487 ms/op 0.98
batchHash 250000 nodes 85.063 ms/op 87.060 ms/op 0.98
get root 250000 nodes 117.39 ms/op 119.71 ms/op 0.98
getHashComputations 500000 nodes 29.289 ms/op 32.825 ms/op 0.89
batchHash 500000 nodes 164.46 ms/op 163.05 ms/op 1.01
get root 500000 nodes 239.13 ms/op 236.96 ms/op 1.01
getHashComputations 1000000 nodes 58.136 ms/op 74.141 ms/op 0.78
batchHash 1000000 nodes 344.81 ms/op 285.51 ms/op 1.21
get root 1000000 nodes 484.20 ms/op 488.54 ms/op 0.99
multiproof - depth 15, 1 requested leaves 8.2880 us/op 8.7270 us/op 0.95
tree offset multiproof - depth 15, 1 requested leaves 17.846 us/op 18.118 us/op 0.98
compact multiproof - depth 15, 1 requested leaves 3.5880 us/op 3.6890 us/op 0.97
multiproof - depth 15, 2 requested leaves 12.031 us/op 12.043 us/op 1.00
tree offset multiproof - depth 15, 2 requested leaves 21.625 us/op 21.973 us/op 0.98
compact multiproof - depth 15, 2 requested leaves 3.6100 us/op 3.6940 us/op 0.98
multiproof - depth 15, 3 requested leaves 16.747 us/op 17.083 us/op 0.98
tree offset multiproof - depth 15, 3 requested leaves 27.779 us/op 28.772 us/op 0.97
compact multiproof - depth 15, 3 requested leaves 4.2260 us/op 4.6360 us/op 0.91
multiproof - depth 15, 4 requested leaves 22.189 us/op 22.106 us/op 1.00
tree offset multiproof - depth 15, 4 requested leaves 33.918 us/op 34.431 us/op 0.99
compact multiproof - depth 15, 4 requested leaves 5.0380 us/op 5.2080 us/op 0.97
packedRootsBytesToLeafNodes bytes 4000 offset 0 1.9490 us/op 2.1710 us/op 0.90
packedRootsBytesToLeafNodes bytes 4000 offset 1 1.9480 us/op 2.0620 us/op 0.94
packedRootsBytesToLeafNodes bytes 4000 offset 2 1.9330 us/op 2.0540 us/op 0.94
packedRootsBytesToLeafNodes bytes 4000 offset 3 1.9280 us/op 2.0580 us/op 0.94
subtreeFillToContents depth 40 count 250000 48.740 ms/op 42.063 ms/op 1.16
setRoot - gindexBitstring 8.8275 ms/op 10.139 ms/op 0.87
setRoot - gindex 9.5260 ms/op 10.806 ms/op 0.88
getRoot - gindexBitstring 3.2362 ms/op 2.6425 ms/op 1.22
getRoot - gindex 3.2204 ms/op 3.3402 ms/op 0.96
getHashObject then setHashObject 10.211 ms/op 11.775 ms/op 0.87
setNodeWithFn 7.9624 ms/op 9.1707 ms/op 0.87
getNodeAtDepth depth 0 x100000 1.1131 ms/op 1.1142 ms/op 1.00
setNodeAtDepth depth 0 x100000 2.4628 ms/op 2.8814 ms/op 0.85
getNodesAtDepth depth 0 x100000 1.0700 ms/op 1.0520 ms/op 1.02
setNodesAtDepth depth 0 x100000 1.5154 ms/op 1.5168 ms/op 1.00
getNodeAtDepth depth 1 x100000 1.1832 ms/op 1.1833 ms/op 1.00
setNodeAtDepth depth 1 x100000 5.3253 ms/op 6.0817 ms/op 0.88
getNodesAtDepth depth 1 x100000 1.1760 ms/op 1.1754 ms/op 1.00
setNodesAtDepth depth 1 x100000 4.4546 ms/op 4.9133 ms/op 0.91
getNodeAtDepth depth 2 x100000 1.5110 ms/op 1.4685 ms/op 1.03
setNodeAtDepth depth 2 x100000 9.1754 ms/op 10.411 ms/op 0.88
getNodesAtDepth depth 2 x100000 18.241 ms/op 19.994 ms/op 0.91
setNodesAtDepth depth 2 x100000 13.303 ms/op 14.506 ms/op 0.92
tree.getNodesAtDepth - gindexes 7.3516 ms/op 8.1394 ms/op 0.90
tree.getNodesAtDepth - push all nodes 1.9252 ms/op 2.2777 ms/op 0.85
tree.getNodesAtDepth - navigation 237.25 us/op 237.21 us/op 1.00
tree.setNodesAtDepth - indexes 428.29 us/op 498.11 us/op 0.86
set at depth 8 464.00 ns/op 517.00 ns/op 0.90
set at depth 16 610.00 ns/op 616.00 ns/op 0.99
set at depth 32 959.00 ns/op 931.00 ns/op 1.03
iterateNodesAtDepth 8 256 13.234 us/op 13.142 us/op 1.01
getNodesAtDepth 8 256 3.4600 us/op 3.3490 us/op 1.03
iterateNodesAtDepth 16 65536 4.3614 ms/op 4.1366 ms/op 1.05
getNodesAtDepth 16 65536 1.6158 ms/op 1.5119 ms/op 1.07
iterateNodesAtDepth 32 250000 15.533 ms/op 15.258 ms/op 1.02
getNodesAtDepth 32 250000 4.4220 ms/op 4.2482 ms/op 1.04
iterateNodesAtDepth 40 250000 15.664 ms/op 16.894 ms/op 0.93
getNodesAtDepth 40 250000 4.3677 ms/op 4.2548 ms/op 1.03
250000 validators root getter 117.13 ms/op 118.97 ms/op 0.98
250000 validators batchHash() 86.825 ms/op 82.152 ms/op 1.06
250000 validators hashComputations 14.695 ms/op 14.376 ms/op 1.02
bitlist bytes to struct (120,90) 1.0280 us/op 974.00 ns/op 1.06
bitlist bytes to tree (120,90) 3.8290 us/op 3.6600 us/op 1.05
bitlist bytes to struct (2048,2048) 1.3640 us/op 1.3480 us/op 1.01
bitlist bytes to tree (2048,2048) 4.3310 us/op 5.4250 us/op 0.80
ByteListType - deserialize 7.6902 ms/op 8.6542 ms/op 0.89
BasicListType - deserialize 18.202 ms/op 18.059 ms/op 1.01
ByteListType - serialize 7.8693 ms/op 7.7131 ms/op 1.02
BasicListType - serialize 11.022 ms/op 10.962 ms/op 1.01
BasicListType - tree_convertToStruct 28.600 ms/op 27.832 ms/op 1.03
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.7149 ms/op 4.5864 ms/op 1.03
List[uint8, 68719476736] len 300000 ViewDU.get(i) 3.9888 ms/op 3.9920 ms/op 1.00
Array.push len 300000 empty Array - number 6.4918 ms/op 6.0642 ms/op 1.07
Array.set len 300000 from new Array - number 1.7410 ms/op 2.0528 ms/op 0.85
Array.set len 300000 - number 5.3477 ms/op 5.4415 ms/op 0.98
Uint8Array.set len 300000 378.38 us/op 379.96 us/op 1.00
Uint32Array.set len 300000 434.20 us/op 482.23 us/op 0.90
Container({a: uint8, b: uint8}) getViewDU x300000 48.398 ms/op 49.803 ms/op 0.97
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.695 ms/op 11.156 ms/op 0.96
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 203.87 ms/op 203.85 ms/op 1.00
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 257.38 ms/op 238.71 ms/op 1.08
List(Container) len 300000 ViewDU.get(i) 6.2421 ms/op 6.2514 ms/op 1.00
List(Container) len 300000 ViewDU.getReadonly(i) 6.0270 ms/op 6.2161 ms/op 0.97
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 39.485 ms/op 38.659 ms/op 1.02
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.1080 ms/op 4.5203 ms/op 1.13
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.0767 ms/op 6.0692 ms/op 1.00
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 5.9370 ms/op 5.9617 ms/op 1.00
Array.push len 300000 empty Array - object 5.9822 ms/op 5.8789 ms/op 1.02
Array.set len 300000 from new Array - object 2.0220 ms/op 2.3471 ms/op 0.86
Array.set len 300000 - object 5.7310 ms/op 5.7060 ms/op 1.00
cachePermanentRootStruct no cache 5.1930 us/op 5.2430 us/op 0.99
cachePermanentRootStruct with cache 202.00 ns/op 204.00 ns/op 0.99
epochParticipation len 250000 rws 7813 2.1785 ms/op 2.2008 ms/op 0.99
BeaconState ViewDU hashTreeRoot() vc=200000 102.52 ms/op 101.28 ms/op 1.01
BeaconState ViewDU recursive hash - commit step vc=200000 4.1233 ms/op 4.4832 ms/op 0.92
BeaconState ViewDU validator tree creation vc=10000 33.322 ms/op 33.229 ms/op 1.00
BeaconState ViewDU batchHashTreeRoot vc=200000 90.773 ms/op 90.852 ms/op 1.00
BeaconState ViewDU hashTreeRoot - commit step vc=200000 81.858 ms/op 81.185 ms/op 1.01
BeaconState ViewDU hashTreeRoot - hash step vc=200000 15.574 ms/op 14.528 ms/op 1.07
deserialize Attestation - tree 3.9630 us/op 4.1020 us/op 0.97
deserialize Attestation - struct 1.7580 us/op 1.7330 us/op 1.01
deserialize SignedAggregateAndProof - tree 3.5450 us/op 3.7270 us/op 0.95
deserialize SignedAggregateAndProof - struct 2.8630 us/op 2.7820 us/op 1.03
deserialize SyncCommitteeMessage - tree 1.0210 us/op 1.0400 us/op 0.98
deserialize SyncCommitteeMessage - struct 984.00 ns/op 1.0360 us/op 0.95
deserialize SignedContributionAndProof - tree 1.9370 us/op 2.0390 us/op 0.95
deserialize SignedContributionAndProof - struct 2.1470 us/op 2.1540 us/op 1.00
deserialize SignedBeaconBlock - tree 202.10 us/op 217.93 us/op 0.93
deserialize SignedBeaconBlock - struct 113.36 us/op 114.40 us/op 0.99
BeaconState vc 300000 - deserialize tree 623.21 ms/op 614.02 ms/op 1.01
BeaconState vc 300000 - serialize tree 165.04 ms/op 120.06 ms/op 1.37
BeaconState.historicalRoots vc 300000 - deserialize tree 709.00 ns/op 771.00 ns/op 0.92
BeaconState.historicalRoots vc 300000 - serialize tree 648.00 ns/op 635.00 ns/op 1.02
BeaconState.validators vc 300000 - deserialize tree 591.13 ms/op 595.51 ms/op 0.99
BeaconState.validators vc 300000 - serialize tree 97.227 ms/op 100.81 ms/op 0.96
BeaconState.balances vc 300000 - deserialize tree 23.647 ms/op 23.816 ms/op 0.99
BeaconState.balances vc 300000 - serialize tree 3.3234 ms/op 3.6239 ms/op 0.92
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 341.56 us/op 418.44 us/op 0.82
BeaconState.previousEpochParticipation vc 300000 - serialize tree 282.06 us/op 297.43 us/op 0.95
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 342.87 us/op 426.50 us/op 0.80
BeaconState.currentEpochParticipation vc 300000 - serialize tree 285.18 us/op 299.83 us/op 0.95
BeaconState.inactivityScores vc 300000 - deserialize tree 23.718 ms/op 24.430 ms/op 0.97
BeaconState.inactivityScores vc 300000 - serialize tree 3.2477 ms/op 3.4557 ms/op 0.94
hashTreeRoot Attestation - struct 15.996 us/op 16.558 us/op 0.97
hashTreeRoot Attestation - tree 9.0350 us/op 9.0620 us/op 1.00
hashTreeRoot SignedAggregateAndProof - struct 23.731 us/op 24.334 us/op 0.98
hashTreeRoot SignedAggregateAndProof - tree 12.827 us/op 12.771 us/op 1.00
hashTreeRoot SyncCommitteeMessage - struct 6.0330 us/op 6.2330 us/op 0.97
hashTreeRoot SyncCommitteeMessage - tree 3.1080 us/op 3.2040 us/op 0.97
hashTreeRoot SignedContributionAndProof - struct 14.624 us/op 16.705 us/op 0.88
hashTreeRoot SignedContributionAndProof - tree 8.6680 us/op 8.7870 us/op 0.99
hashTreeRoot SignedBeaconBlock - struct 1.2567 ms/op 1.2706 ms/op 0.99
hashTreeRoot SignedBeaconBlock - tree 761.02 us/op 756.68 us/op 1.01
hashTreeRoot Validator - struct 7.5290 us/op 7.6260 us/op 0.99
hashTreeRoot Validator - tree 6.1800 us/op 6.3110 us/op 0.98
BeaconState vc 300000 - hashTreeRoot tree 2.0917 s/op 2.0701 s/op 1.01
BeaconState vc 300000 - batchHashTreeRoot tree 3.3529 s/op 3.3386 s/op 1.00
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.0290 us/op 1.0110 us/op 1.02
BeaconState.validators vc 300000 - hashTreeRoot tree 2.0933 s/op 2.0679 s/op 1.01
BeaconState.balances vc 300000 - hashTreeRoot tree 36.612 ms/op 36.277 ms/op 1.01
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.0898 ms/op 4.0193 ms/op 1.02
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.1619 ms/op 4.0377 ms/op 1.03
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 36.134 ms/op 35.197 ms/op 1.03
hash64 x18 9.1540 us/op 9.1400 us/op 1.00
hashTwoObjects x18 8.3530 us/op 8.7550 us/op 0.95
hash64 x1740 844.59 us/op 856.59 us/op 0.99
hashTwoObjects x1740 773.95 us/op 817.91 us/op 0.95
hash64 x2700000 1.3236 s/op 1.3255 s/op 1.00
hashTwoObjects x2700000 1.1990 s/op 1.2699 s/op 0.94
get_exitEpoch - ContainerType 214.00 ns/op 382.00 ns/op 0.56
get_exitEpoch - ContainerNodeStructType 217.00 ns/op 383.00 ns/op 0.57
set_exitEpoch - ContainerType 229.00 ns/op 394.00 ns/op 0.58
set_exitEpoch - ContainerNodeStructType 230.00 ns/op 387.00 ns/op 0.59
get_pubkey - ContainerType 1.0100 us/op 864.00 ns/op 1.17
get_pubkey - ContainerNodeStructType 215.00 ns/op 379.00 ns/op 0.57
hashTreeRoot - ContainerType 397.00 ns/op 642.00 ns/op 0.62
hashTreeRoot - ContainerNodeStructType 404.00 ns/op 677.00 ns/op 0.60
createProof - ContainerType 3.9870 us/op 6.6610 us/op 0.60
createProof - ContainerNodeStructType 19.767 us/op 31.321 us/op 0.63
serialize - ContainerType 1.7920 us/op 2.1520 us/op 0.83
serialize - ContainerNodeStructType 1.3720 us/op 1.6010 us/op 0.86
set_exitEpoch_and_hashTreeRoot - ContainerType 2.6760 us/op 3.2180 us/op 0.83
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 6.5120 us/op 8.0070 us/op 0.81
Array - for of 5.4670 us/op 6.3380 us/op 0.86
Array - for(;;) 5.4150 us/op 6.3490 us/op 0.85
basicListValue.readonlyValuesArray() 3.7072 ms/op 4.2065 ms/op 0.88
basicListValue.readonlyValuesArray() + loop all 3.8641 ms/op 4.4532 ms/op 0.87
compositeListValue.readonlyValuesArray() 27.605 ms/op 30.642 ms/op 0.90
compositeListValue.readonlyValuesArray() + loop all 29.557 ms/op 30.436 ms/op 0.97
Number64UintType - get balances list 4.1403 ms/op 4.0400 ms/op 1.02
Number64UintType - set balances list 10.006 ms/op 9.8997 ms/op 1.01
Number64UintType - get and increase 10 then set 40.727 ms/op 39.225 ms/op 1.04
Number64UintType - increase 10 using applyDelta 15.926 ms/op 15.941 ms/op 1.00
Number64UintType - increase 10 using applyDeltaInBatch 16.300 ms/op 15.993 ms/op 1.02
tree_newTreeFromUint64Deltas 16.792 ms/op 16.897 ms/op 0.99
unsafeUint8ArrayToTree 32.734 ms/op 32.429 ms/op 1.01
bitLength(50) 253.00 ns/op 225.00 ns/op 1.12
bitLengthStr(50) 223.00 ns/op 220.00 ns/op 1.01
bitLength(8000) 235.00 ns/op 217.00 ns/op 1.08
bitLengthStr(8000) 256.00 ns/op 260.00 ns/op 0.98
bitLength(250000) 225.00 ns/op 219.00 ns/op 1.03
bitLengthStr(250000) 298.00 ns/op 313.00 ns/op 0.95
floor - Math.floor (53) 1.2378 ns/op 1.2377 ns/op 1.00
floor - << 0 (53) 1.2378 ns/op 1.2372 ns/op 1.00
floor - Math.floor (512) 1.2378 ns/op 1.2384 ns/op 1.00
floor - << 0 (512) 1.2377 ns/op 1.2416 ns/op 1.00
fnIf(0) 1.5514 ns/op 1.5464 ns/op 1.00
fnSwitch(0) 2.1655 ns/op 2.1750 ns/op 1.00
fnObj(0) 1.5486 ns/op 1.5469 ns/op 1.00
fnArr(0) 1.5521 ns/op 1.5518 ns/op 1.00
fnIf(4) 2.1683 ns/op 2.1647 ns/op 1.00
fnSwitch(4) 2.1648 ns/op 2.1646 ns/op 1.00
fnObj(4) 1.5482 ns/op 1.5502 ns/op 1.00
fnArr(4) 1.5473 ns/op 1.5519 ns/op 1.00
fnIf(9) 3.1097 ns/op 3.1058 ns/op 1.00
fnSwitch(9) 2.1660 ns/op 2.1639 ns/op 1.00
fnObj(9) 1.5496 ns/op 1.5504 ns/op 1.00
fnArr(9) 1.5470 ns/op 1.5475 ns/op 1.00
Container {a,b,vec} - as struct x100000 123.88 us/op 123.91 us/op 1.00
Container {a,b,vec} - as tree x100000 346.74 us/op 340.61 us/op 1.02
Container {a,vec,b} - as struct x100000 154.84 us/op 157.25 us/op 0.98
Container {a,vec,b} - as tree x100000 375.01 us/op 371.40 us/op 1.01
get 2 props x1000000 - rawObject 310.21 us/op 309.65 us/op 1.00
get 2 props x1000000 - proxy 73.877 ms/op 72.800 ms/op 1.01
get 2 props x1000000 - customObj 309.46 us/op 309.57 us/op 1.00
Simple object binary -> struct 905.00 ns/op 725.00 ns/op 1.25
Simple object binary -> tree_backed 1.9120 us/op 1.3610 us/op 1.40
Simple object struct -> tree_backed 2.5920 us/op 1.9860 us/op 1.31
Simple object tree_backed -> struct 2.0540 us/op 1.8960 us/op 1.08
Simple object struct -> binary 978.00 ns/op 952.00 ns/op 1.03
Simple object tree_backed -> binary 1.6840 us/op 1.6330 us/op 1.03
aggregationBits binary -> struct 661.00 ns/op 628.00 ns/op 1.05
aggregationBits binary -> tree_backed 2.5810 us/op 2.4930 us/op 1.04
aggregationBits struct -> tree_backed 3.0010 us/op 2.9440 us/op 1.02
aggregationBits tree_backed -> struct 1.2900 us/op 1.2560 us/op 1.03
aggregationBits struct -> binary 822.00 ns/op 806.00 ns/op 1.02
aggregationBits tree_backed -> binary 1.1420 us/op 1.0880 us/op 1.05
List(uint8) 100000 binary -> struct 1.6860 ms/op 1.5831 ms/op 1.07
List(uint8) 100000 binary -> tree_backed 95.138 us/op 91.169 us/op 1.04
List(uint8) 100000 struct -> tree_backed 1.1043 ms/op 1.1007 ms/op 1.00
List(uint8) 100000 tree_backed -> struct 1.1047 ms/op 1.1098 ms/op 1.00
List(uint8) 100000 struct -> binary 1.0011 ms/op 996.67 us/op 1.00
List(uint8) 100000 tree_backed -> binary 90.162 us/op 87.602 us/op 1.03
List(uint64Number) 100000 binary -> struct 1.1723 ms/op 1.1700 ms/op 1.00
List(uint64Number) 100000 binary -> tree_backed 2.6075 ms/op 3.1950 ms/op 0.82
List(uint64Number) 100000 struct -> tree_backed 4.3008 ms/op 4.4285 ms/op 0.97
List(uint64Number) 100000 tree_backed -> struct 2.1972 ms/op 2.1980 ms/op 1.00
List(uint64Number) 100000 struct -> binary 1.3784 ms/op 1.2829 ms/op 1.07
List(uint64Number) 100000 tree_backed -> binary 925.07 us/op 839.15 us/op 1.10
List(Uint64Bigint) 100000 binary -> struct 3.6982 ms/op 3.3616 ms/op 1.10
List(Uint64Bigint) 100000 binary -> tree_backed 3.1669 ms/op 3.2774 ms/op 0.97
List(Uint64Bigint) 100000 struct -> tree_backed 5.5998 ms/op 5.5691 ms/op 1.01
List(Uint64Bigint) 100000 tree_backed -> struct 4.3961 ms/op 4.4507 ms/op 0.99
List(Uint64Bigint) 100000 struct -> binary 2.0547 ms/op 2.0428 ms/op 1.01
List(Uint64Bigint) 100000 tree_backed -> binary 911.43 us/op 942.81 us/op 0.97
Vector(Root) 100000 binary -> struct 32.836 ms/op 32.017 ms/op 1.03
Vector(Root) 100000 binary -> tree_backed 27.487 ms/op 27.914 ms/op 0.98
Vector(Root) 100000 struct -> tree_backed 43.618 ms/op 44.859 ms/op 0.97
Vector(Root) 100000 tree_backed -> struct 50.477 ms/op 51.947 ms/op 0.97
Vector(Root) 100000 struct -> binary 2.5523 ms/op 2.5496 ms/op 1.00
Vector(Root) 100000 tree_backed -> binary 8.6092 ms/op 8.6081 ms/op 1.00
List(Validator) 100000 binary -> struct 100.04 ms/op 97.415 ms/op 1.03
List(Validator) 100000 binary -> tree_backed 307.89 ms/op 284.00 ms/op 1.08
List(Validator) 100000 struct -> tree_backed 316.65 ms/op 313.35 ms/op 1.01
List(Validator) 100000 tree_backed -> struct 219.76 ms/op 211.56 ms/op 1.04
List(Validator) 100000 struct -> binary 27.301 ms/op 27.587 ms/op 0.99
List(Validator) 100000 tree_backed -> binary 114.63 ms/op 113.70 ms/op 1.01
List(Validator-NS) 100000 binary -> struct 104.85 ms/op 107.59 ms/op 0.97
List(Validator-NS) 100000 binary -> tree_backed 149.43 ms/op 149.66 ms/op 1.00
List(Validator-NS) 100000 struct -> tree_backed 198.26 ms/op 195.96 ms/op 1.01
List(Validator-NS) 100000 tree_backed -> struct 167.60 ms/op 165.35 ms/op 1.01
List(Validator-NS) 100000 struct -> binary 27.310 ms/op 27.662 ms/op 0.99
List(Validator-NS) 100000 tree_backed -> binary 32.494 ms/op 31.758 ms/op 1.02
get epochStatuses - MutableVector 97.550 us/op 97.984 us/op 1.00
get epochStatuses - ViewDU 201.23 us/op 201.09 us/op 1.00
set epochStatuses - ListTreeView 2.4438 ms/op 1.6595 ms/op 1.47
set epochStatuses - ListTreeView - set() 437.17 us/op 434.60 us/op 1.01
set epochStatuses - ListTreeView - commit() 566.68 us/op 556.76 us/op 1.02
bitstring 641.33 ns/op 644.46 ns/op 1.00
bit mask 13.791 ns/op 13.971 ns/op 0.99
struct - increase slot to 1000000 928.22 us/op 928.60 us/op 1.00
UintNumberType - increase slot to 1000000 21.367 ms/op 21.343 ms/op 1.00
UintBigintType - increase slot to 1000000 156.05 ms/op 161.26 ms/op 0.97
UintBigint8 x 100000 tree_deserialize 4.7873 ms/op 4.6879 ms/op 1.02
UintBigint8 x 100000 tree_serialize 1.0936 ms/op 1.0953 ms/op 1.00
UintBigint16 x 100000 tree_deserialize 5.0810 ms/op 4.3615 ms/op 1.16
UintBigint16 x 100000 tree_serialize 1.2012 ms/op 1.2205 ms/op 0.98
UintBigint32 x 100000 tree_deserialize 4.7718 ms/op 4.8336 ms/op 0.99
UintBigint32 x 100000 tree_serialize 1.2233 ms/op 1.2439 ms/op 0.98
UintBigint64 x 100000 tree_deserialize 5.4657 ms/op 6.1812 ms/op 0.88
UintBigint64 x 100000 tree_serialize 1.5917 ms/op 1.6093 ms/op 0.99
UintBigint8 x 100000 value_deserialize 439.67 us/op 432.93 us/op 1.02
UintBigint8 x 100000 value_serialize 659.93 us/op 669.75 us/op 0.99
UintBigint16 x 100000 value_deserialize 464.77 us/op 464.05 us/op 1.00
UintBigint16 x 100000 value_serialize 719.90 us/op 735.11 us/op 0.98
UintBigint32 x 100000 value_deserialize 433.76 us/op 433.44 us/op 1.00
UintBigint32 x 100000 value_serialize 692.02 us/op 703.64 us/op 0.98
UintBigint64 x 100000 value_deserialize 496.19 us/op 497.43 us/op 1.00
UintBigint64 x 100000 value_serialize 872.73 us/op 885.00 us/op 0.99
UintBigint8 x 100000 deserialize 3.0001 ms/op 3.0489 ms/op 0.98
UintBigint8 x 100000 serialize 1.5196 ms/op 1.5106 ms/op 1.01
UintBigint16 x 100000 deserialize 3.0636 ms/op 3.0521 ms/op 1.00
UintBigint16 x 100000 serialize 1.5693 ms/op 1.5401 ms/op 1.02
UintBigint32 x 100000 deserialize 3.1198 ms/op 3.0517 ms/op 1.02
UintBigint32 x 100000 serialize 2.8299 ms/op 2.7021 ms/op 1.05
UintBigint64 x 100000 deserialize 3.8039 ms/op 3.8210 ms/op 1.00
UintBigint64 x 100000 serialize 1.5558 ms/op 1.5504 ms/op 1.00
UintBigint128 x 100000 deserialize 5.4277 ms/op 5.3736 ms/op 1.01
UintBigint128 x 100000 serialize 14.529 ms/op 14.979 ms/op 0.97
UintBigint256 x 100000 deserialize 8.1110 ms/op 8.2753 ms/op 0.98
UintBigint256 x 100000 serialize 43.625 ms/op 43.242 ms/op 1.01
Slice from Uint8Array x25000 1.2948 ms/op 1.3300 ms/op 0.97
Slice from ArrayBuffer x25000 15.048 ms/op 15.367 ms/op 0.98
Slice from ArrayBuffer x25000 + new Uint8Array 15.495 ms/op 14.437 ms/op 1.07
Copy Uint8Array 100000 iterate 1.6918 ms/op 1.6485 ms/op 1.03
Copy Uint8Array 100000 slice 117.70 us/op 105.34 us/op 1.12
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 116.82 us/op 105.07 us/op 1.11
Copy Buffer 100000 Uint8Array.prototype.slice.call 116.68 us/op 105.14 us/op 1.11
Copy Uint8Array 100000 slice + set 215.79 us/op 174.72 us/op 1.24
Copy Uint8Array 100000 subarray + set 116.18 us/op 103.66 us/op 1.12
Copy Uint8Array 100000 slice arrayBuffer 116.74 us/op 104.70 us/op 1.12
Uint64 deserialize 100000 - iterate Uint8Array 1.8810 ms/op 1.7680 ms/op 1.06
Uint64 deserialize 100000 - by Uint32A 1.8441 ms/op 1.7931 ms/op 1.03
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.8941 ms/op 1.8285 ms/op 1.04
Uint64 deserialize 100000 - by DataView.getBigUint64 5.0521 ms/op 4.7647 ms/op 1.06
Uint64 deserialize 100000 - by byte 40.230 ms/op 39.830 ms/op 1.01

by benchmarkbot/action

@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from beeca04 to 719d0e2 Compare September 11, 2024 13:57
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch 2 times, most recently from 4561fb6 to 98444fe Compare October 9, 2024 02:34
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 98444fe to 49f8707 Compare October 10, 2024 12:00
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