Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release master #415

Closed
wants to merge 1 commit into from
Closed

Conversation

wemeetagain
Copy link
Member

@wemeetagain wemeetagain commented Oct 15, 2024

🤖 I have created a release beep boop

as-sha256: 0.5.0

0.5.0 (2025-01-14)

Features

  • non simd sha256 for incompatible systems (#427) (9729005)

Bug Fixes

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

0.8.0 (2025-01-14)

Features

ssz: 0.19.0

0.19.0 (2025-01-14)

Features

  • non simd sha256 for incompatible systems (#427) (9729005)

This PR was generated with Release Please. See documentation.

@wemeetagain wemeetagain requested a review from a team as a code owner October 15, 2024 22:24
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch 2 times, most recently from 9b523bb to 066ec94 Compare October 15, 2024 22:30
Copy link

github-actions bot commented Oct 15, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 9927584 Previous: 5868113 Ratio
digestTwoHashObjects 50023 times 49.962 ms/op 48.655 ms/op 1.03
digest2Bytes32 50023 times 55.564 ms/op
digest 50023 times 56.119 ms/op 60.332 ms/op 0.93
input length 32 1.2050 us/op 1.2220 us/op 0.99
input length 64 1.3270 us/op 1.3650 us/op 0.97
input length 128 2.2780 us/op 2.2710 us/op 1.00
input length 256 3.4010 us/op 3.3950 us/op 1.00
input length 512 5.6030 us/op 5.6890 us/op 0.98
input length 1024 10.814 us/op 11.242 us/op 0.96
digest 1000000 times 892.38 ms/op 952.51 ms/op 0.94
hashObjectToByteArray 50023 times 1.2282 ms/op 1.2640 ms/op 0.97
byteArrayToHashObject 50023 times 1.8045 ms/op 1.8137 ms/op 0.99
digest64 200092 times 218.73 ms/op 226.60 ms/op 0.97
hash 200092 times using batchHash4UintArray64s 245.72 ms/op 255.76 ms/op 0.96
digest64HashObjects 200092 times 198.36 ms/op 213.38 ms/op 0.93
hash 200092 times using batchHash4HashObjectInputs 215.22 ms/op 220.93 ms/op 0.97
getGindicesAtDepth 4.2860 us/op 4.3370 us/op 0.99
iterateAtDepth 7.6710 us/op 7.7200 us/op 0.99
getGindexBits 462.00 ns/op 483.00 ns/op 0.96
gindexIterator 1.0550 us/op 1.0490 us/op 1.01
HashComputationLevel.push then loop 27.822 ms/op 30.395 ms/op 0.92
HashComputation[] push then loop 49.726 ms/op 52.092 ms/op 0.95
hash 2 Uint8Array 500000 times - hashtree 215.89 ms/op 229.62 ms/op 0.94
hashTwoObjects 500000 times - hashtree 216.34 ms/op 218.33 ms/op 0.99
executeHashComputations - hashtree 9.6504 ms/op 12.307 ms/op 0.78
hash 2 Uint8Array 500000 times - as-sha256 567.64 ms/op 553.38 ms/op 1.03
hashTwoObjects 500000 times - as-sha256 519.29 ms/op 505.90 ms/op 1.03
executeHashComputations - as-sha256 45.546 ms/op 51.528 ms/op 0.88
hash 2 Uint8Array 500000 times - noble 1.2308 s/op 1.2771 s/op 0.96
hashTwoObjects 500000 times - noble 1.6787 s/op 1.7334 s/op 0.97
executeHashComputations - noble 38.709 ms/op 40.184 ms/op 0.96
getHashComputations 2.8857 ms/op 3.4524 ms/op 0.84
executeHashComputations 9.4437 ms/op 12.990 ms/op 0.73
get root 15.259 ms/op 16.069 ms/op 0.95
getNodeH() x7812.5 avg hindex 12.206 us/op 12.049 us/op 1.01
getNodeH() x7812.5 index 0 7.5650 us/op 7.4610 us/op 1.01
getNodeH() x7812.5 index 7 7.5580 us/op 7.4660 us/op 1.01
getNodeH() x7812.5 index 7 with key array 6.3250 us/op 6.2900 us/op 1.01
new LeafNode() x7812.5 309.13 us/op 303.09 us/op 1.02
getHashComputations 250000 nodes 14.966 ms/op 19.675 ms/op 0.76
batchHash 250000 nodes 92.648 ms/op 88.436 ms/op 1.05
get root 250000 nodes 114.76 ms/op 119.31 ms/op 0.96
getHashComputations 500000 nodes 28.431 ms/op 36.148 ms/op 0.79
batchHash 500000 nodes 157.87 ms/op 174.35 ms/op 0.91
get root 500000 nodes 236.17 ms/op 237.91 ms/op 0.99
getHashComputations 1000000 nodes 64.543 ms/op 62.621 ms/op 1.03
batchHash 1000000 nodes 361.81 ms/op 364.75 ms/op 0.99
get root 1000000 nodes 455.05 ms/op 477.87 ms/op 0.95
multiproof - depth 15, 1 requested leaves 7.9900 us/op 8.3740 us/op 0.95
tree offset multiproof - depth 15, 1 requested leaves 18.444 us/op 19.018 us/op 0.97
compact multiproof - depth 15, 1 requested leaves 3.0780 us/op 2.9700 us/op 1.04
multiproof - depth 15, 2 requested leaves 11.885 us/op 11.321 us/op 1.05
tree offset multiproof - depth 15, 2 requested leaves 21.450 us/op 21.368 us/op 1.00
compact multiproof - depth 15, 2 requested leaves 3.2790 us/op 2.9220 us/op 1.12
multiproof - depth 15, 3 requested leaves 16.407 us/op 16.138 us/op 1.02
tree offset multiproof - depth 15, 3 requested leaves 27.834 us/op 26.698 us/op 1.04
compact multiproof - depth 15, 3 requested leaves 3.7460 us/op 3.4630 us/op 1.08
multiproof - depth 15, 4 requested leaves 22.383 us/op 21.364 us/op 1.05
tree offset multiproof - depth 15, 4 requested leaves 33.507 us/op 32.750 us/op 1.02
compact multiproof - depth 15, 4 requested leaves 4.4140 us/op 4.2310 us/op 1.04
packedRootsBytesToLeafNodes bytes 4000 offset 0 5.9140 us/op 5.3920 us/op 1.10
packedRootsBytesToLeafNodes bytes 4000 offset 1 5.9640 us/op 5.4340 us/op 1.10
packedRootsBytesToLeafNodes bytes 4000 offset 2 5.8820 us/op 5.3840 us/op 1.09
packedRootsBytesToLeafNodes bytes 4000 offset 3 5.8410 us/op 5.3750 us/op 1.09
subtreeFillToContents depth 40 count 250000 51.808 ms/op 43.636 ms/op 1.19
setRoot - gindexBitstring 22.075 ms/op 20.541 ms/op 1.07
setRoot - gindex 22.677 ms/op 21.757 ms/op 1.04
getRoot - gindexBitstring 2.4689 ms/op 2.5557 ms/op 0.97
getRoot - gindex 3.1854 ms/op 3.3031 ms/op 0.96
getHashObject then setHashObject 23.662 ms/op 21.845 ms/op 1.08
setNodeWithFn 18.914 ms/op 19.645 ms/op 0.96
getNodeAtDepth depth 0 x100000 281.56 us/op 280.11 us/op 1.01
setNodeAtDepth depth 0 x100000 2.3795 ms/op 2.5693 ms/op 0.93
getNodesAtDepth depth 0 x100000 311.56 us/op 318.24 us/op 0.98
setNodesAtDepth depth 0 x100000 824.97 us/op 760.89 us/op 1.08
getNodeAtDepth depth 1 x100000 343.00 us/op 342.23 us/op 1.00
setNodeAtDepth depth 1 x100000 7.8669 ms/op 8.2221 ms/op 0.96
getNodesAtDepth depth 1 x100000 435.67 us/op 436.16 us/op 1.00
setNodesAtDepth depth 1 x100000 6.5620 ms/op 6.8413 ms/op 0.96
getNodeAtDepth depth 2 x100000 985.40 us/op 729.22 us/op 1.35
setNodeAtDepth depth 2 x100000 15.344 ms/op 16.011 ms/op 0.96
getNodesAtDepth depth 2 x100000 18.676 ms/op 17.912 ms/op 1.04
setNodesAtDepth depth 2 x100000 22.602 ms/op 23.970 ms/op 0.94
tree.getNodesAtDepth - gindexes 8.1958 ms/op 8.6710 ms/op 0.95
tree.getNodesAtDepth - push all nodes 2.1318 ms/op 2.3702 ms/op 0.90
tree.getNodesAtDepth - navigation 311.33 us/op 311.40 us/op 1.00
tree.setNodesAtDepth - indexes 713.25 us/op 696.43 us/op 1.02
set at depth 8 761.00 ns/op 773.00 ns/op 0.98
set at depth 16 1.1300 us/op 1.1290 us/op 1.00
set at depth 32 1.8830 us/op 1.9270 us/op 0.98
iterateNodesAtDepth 8 256 13.771 us/op 13.636 us/op 1.01
getNodesAtDepth 8 256 3.6960 us/op 3.7440 us/op 0.99
iterateNodesAtDepth 16 65536 4.5999 ms/op 4.4599 ms/op 1.03
getNodesAtDepth 16 65536 1.8857 ms/op 2.0359 ms/op 0.93
iterateNodesAtDepth 32 250000 17.031 ms/op 16.449 ms/op 1.04
getNodesAtDepth 32 250000 4.6779 ms/op 4.8085 ms/op 0.97
iterateNodesAtDepth 40 250000 16.533 ms/op 16.330 ms/op 1.01
getNodesAtDepth 40 250000 4.6986 ms/op 4.8508 ms/op 0.97
250000 validators root getter 114.06 ms/op 120.65 ms/op 0.95
250000 validators batchHash() 91.860 ms/op 101.43 ms/op 0.91
250000 validators hashComputations 17.816 ms/op 19.283 ms/op 0.92
bitlist bytes to struct (120,90) 906.00 ns/op 823.00 ns/op 1.10
bitlist bytes to tree (120,90) 3.5090 us/op 2.7050 us/op 1.30
bitlist bytes to struct (2048,2048) 1.2870 us/op 1.0920 us/op 1.18
bitlist bytes to tree (2048,2048) 4.3670 us/op 4.1810 us/op 1.04
ByteListType - deserialize 7.6435 ms/op 7.9517 ms/op 0.96
BasicListType - deserialize 16.559 ms/op 15.349 ms/op 1.08
ByteListType - serialize 8.3234 ms/op 7.8756 ms/op 1.06
BasicListType - serialize 11.454 ms/op 10.046 ms/op 1.14
BasicListType - tree_convertToStruct 29.282 ms/op 24.899 ms/op 1.18
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.7610 ms/op 4.8482 ms/op 0.98
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.2481 ms/op 4.2476 ms/op 1.00
Array.push len 300000 empty Array - number 6.8525 ms/op 6.7251 ms/op 1.02
Array.set len 300000 from new Array - number 2.0341 ms/op 1.9298 ms/op 1.05
Array.set len 300000 - number 6.3666 ms/op 6.0340 ms/op 1.06
Uint8Array.set len 300000 483.07 us/op 499.83 us/op 0.97
Uint32Array.set len 300000 556.54 us/op 587.33 us/op 0.95
Container({a: uint8, b: uint8}) getViewDU x300000 25.107 ms/op 27.840 ms/op 0.90
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.478 ms/op 10.777 ms/op 0.97
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 210.91 ms/op 210.42 ms/op 1.00
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 252.01 ms/op 261.95 ms/op 0.96
List(Container) len 300000 ViewDU.get(i) 6.3777 ms/op 6.7138 ms/op 0.95
List(Container) len 300000 ViewDU.getReadonly(i) 6.2486 ms/op 6.4119 ms/op 0.97
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 39.652 ms/op 36.339 ms/op 1.09
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.2889 ms/op 6.2870 ms/op 0.84
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.1892 ms/op 6.1555 ms/op 1.01
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 6.0040 ms/op 5.9209 ms/op 1.01
Array.push len 300000 empty Array - object 6.8723 ms/op 7.2436 ms/op 0.95
Array.set len 300000 from new Array - object 2.1488 ms/op 2.4450 ms/op 0.88
Array.set len 300000 - object 6.2178 ms/op 7.4349 ms/op 0.84
cachePermanentRootStruct no cache 19.289 us/op 19.946 us/op 0.97
cachePermanentRootStruct with cache 196.00 ns/op 201.00 ns/op 0.98
epochParticipation len 250000 rws 7813 2.3007 ms/op 2.2082 ms/op 1.04
BeaconState ViewDU hashTreeRoot() vc=200000 524.47 ms/op 532.91 ms/op 0.98
BeaconState ViewDU recursive hash - commit step vc=200000 4.8433 ms/op 5.6823 ms/op 0.85
BeaconState ViewDU validator tree creation vc=10000 38.731 ms/op 40.415 ms/op 0.96
BeaconState ViewDU batchHashTreeRoot vc=200000 413.09 ms/op 426.62 ms/op 0.97
BeaconState ViewDU hashTreeRoot - commit step vc=200000 332.77 ms/op 342.80 ms/op 0.97
BeaconState ViewDU hashTreeRoot - hash step vc=200000 72.076 ms/op 70.748 ms/op 1.02
deserialize Attestation - tree 3.4850 us/op 3.6410 us/op 0.96
deserialize Attestation - struct 1.7930 us/op 1.9140 us/op 0.94
deserialize SignedAggregateAndProof - tree 4.7270 us/op 5.0230 us/op 0.94
deserialize SignedAggregateAndProof - struct 2.9730 us/op 3.0330 us/op 0.98
deserialize SyncCommitteeMessage - tree 1.3350 us/op 1.3690 us/op 0.98
deserialize SyncCommitteeMessage - struct 1.1090 us/op 1.1250 us/op 0.99
deserialize SignedContributionAndProof - tree 2.8660 us/op 2.9060 us/op 0.99
deserialize SignedContributionAndProof - struct 2.2920 us/op 2.3510 us/op 0.97
deserialize SignedBeaconBlock - tree 280.15 us/op 290.31 us/op 0.97
deserialize SignedBeaconBlock - struct 119.78 us/op 124.27 us/op 0.96
BeaconState vc 300000 - deserialize tree 654.61 ms/op 635.71 ms/op 1.03
BeaconState vc 300000 - serialize tree 120.54 ms/op 177.07 ms/op 0.68
BeaconState.historicalRoots vc 300000 - deserialize tree 906.00 ns/op 863.00 ns/op 1.05
BeaconState.historicalRoots vc 300000 - serialize tree 655.00 ns/op 663.00 ns/op 0.99
BeaconState.validators vc 300000 - deserialize tree 593.86 ms/op 613.30 ms/op 0.97
BeaconState.validators vc 300000 - serialize tree 116.55 ms/op 113.89 ms/op 1.02
BeaconState.balances vc 300000 - deserialize tree 26.728 ms/op 27.177 ms/op 0.98
BeaconState.balances vc 300000 - serialize tree 3.8886 ms/op 3.9874 ms/op 0.98
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 908.71 us/op 886.19 us/op 1.03
BeaconState.previousEpochParticipation vc 300000 - serialize tree 327.83 us/op 330.15 us/op 0.99
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 891.27 us/op 899.55 us/op 0.99
BeaconState.currentEpochParticipation vc 300000 - serialize tree 325.89 us/op 324.96 us/op 1.00
BeaconState.inactivityScores vc 300000 - deserialize tree 20.905 ms/op 21.141 ms/op 0.99
BeaconState.inactivityScores vc 300000 - serialize tree 4.1959 ms/op 4.1749 ms/op 1.01
hashTreeRoot Attestation - struct 77.350 us/op 71.456 us/op 1.08
hashTreeRoot Attestation - tree 74.118 us/op 71.776 us/op 1.03
hashTreeRoot SignedAggregateAndProof - struct 100.05 us/op 95.606 us/op 1.05
hashTreeRoot SignedAggregateAndProof - tree 106.36 us/op 99.882 us/op 1.06
hashTreeRoot SyncCommitteeMessage - struct 22.136 us/op 20.116 us/op 1.10
hashTreeRoot SyncCommitteeMessage - tree 24.614 us/op 21.953 us/op 1.12
hashTreeRoot SignedContributionAndProof - struct 68.136 us/op 60.466 us/op 1.13
hashTreeRoot SignedContributionAndProof - tree 69.804 us/op 67.736 us/op 1.03
hashTreeRoot SignedBeaconBlock - struct 5.4640 ms/op 5.7542 ms/op 0.95
hashTreeRoot SignedBeaconBlock - tree 6.1058 ms/op 6.2894 ms/op 0.97
hashTreeRoot Validator - struct 26.659 us/op 29.129 us/op 0.92
hashTreeRoot Validator - tree 31.924 us/op 31.444 us/op 1.02
BeaconState vc 300000 - hashTreeRoot tree 11.234 s/op 11.088 s/op 1.01
BeaconState vc 300000 - batchHashTreeRoot tree 6.8065 s/op 6.6171 s/op 1.03
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 4.3670 us/op 4.1100 us/op 1.06
BeaconState.validators vc 300000 - hashTreeRoot tree 11.038 s/op 11.269 s/op 0.98
BeaconState.balances vc 300000 - hashTreeRoot tree 301.54 ms/op 296.73 ms/op 1.02
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 36.753 ms/op 35.222 ms/op 1.04
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 36.271 ms/op 34.264 ms/op 1.06
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 296.19 ms/op 290.29 ms/op 1.02
hash64 x18 47.713 us/op 48.629 us/op 0.98
hashTwoObjects x18 64.392 us/op 65.000 us/op 0.99
hash64 x1740 4.6789 ms/op 4.6286 ms/op 1.01
hashTwoObjects x1740 6.4340 ms/op 6.3475 ms/op 1.01
hash64 x2700000 7.2132 s/op 7.0859 s/op 1.02
hashTwoObjects x2700000 9.5035 s/op 9.6717 s/op 0.98
get_exitEpoch - ContainerType 263.00 ns/op 317.00 ns/op 0.83
get_exitEpoch - ContainerNodeStructType 267.00 ns/op 278.00 ns/op 0.96
set_exitEpoch - ContainerType 278.00 ns/op 295.00 ns/op 0.94
set_exitEpoch - ContainerNodeStructType 268.00 ns/op 286.00 ns/op 0.94
get_pubkey - ContainerType 1.0250 us/op 1.0180 us/op 1.01
get_pubkey - ContainerNodeStructType 258.00 ns/op 268.00 ns/op 0.96
hashTreeRoot - ContainerType 465.00 ns/op 477.00 ns/op 0.97
hashTreeRoot - ContainerNodeStructType 443.00 ns/op 475.00 ns/op 0.93
createProof - ContainerType 4.8240 us/op 4.3340 us/op 1.11
createProof - ContainerNodeStructType 24.727 us/op 22.010 us/op 1.12
serialize - ContainerType 1.5650 us/op 1.5980 us/op 0.98
serialize - ContainerNodeStructType 1.3250 us/op 1.3600 us/op 0.97
set_exitEpoch_and_hashTreeRoot - ContainerType 11.827 us/op 11.909 us/op 0.99
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 30.713 us/op 32.024 us/op 0.96
Array - for of 5.6760 us/op 5.9600 us/op 0.95
Array - for(;;) 5.6930 us/op 5.9850 us/op 0.95
basicListValue.readonlyValuesArray() 3.9659 ms/op 3.8948 ms/op 1.02
basicListValue.readonlyValuesArray() + loop all 4.0946 ms/op 4.1320 ms/op 0.99
compositeListValue.readonlyValuesArray() 35.897 ms/op 28.337 ms/op 1.27
compositeListValue.readonlyValuesArray() + loop all 37.779 ms/op 26.814 ms/op 1.41
Number64UintType - get balances list 4.2590 ms/op 4.5276 ms/op 0.94
Number64UintType - set balances list 9.9299 ms/op 10.018 ms/op 0.99
Number64UintType - get and increase 10 then set 44.598 ms/op 36.773 ms/op 1.21
Number64UintType - increase 10 using applyDelta 15.880 ms/op 16.021 ms/op 0.99
Number64UintType - increase 10 using applyDeltaInBatch 15.615 ms/op 16.113 ms/op 0.97
tree_newTreeFromUint64Deltas 24.033 ms/op 21.400 ms/op 1.12
unsafeUint8ArrayToTree 43.734 ms/op 37.965 ms/op 1.15
bitLength(50) 242.00 ns/op 234.00 ns/op 1.03
bitLengthStr(50) 218.00 ns/op 223.00 ns/op 0.98
bitLength(8000) 217.00 ns/op 228.00 ns/op 0.95
bitLengthStr(8000) 255.00 ns/op 263.00 ns/op 0.97
bitLength(250000) 213.00 ns/op 232.00 ns/op 0.92
bitLengthStr(250000) 289.00 ns/op 300.00 ns/op 0.96
floor - Math.floor (53) 1.2436 ns/op 1.2439 ns/op 1.00
floor - << 0 (53) 1.2568 ns/op 1.2437 ns/op 1.01
floor - Math.floor (512) 1.2465 ns/op 1.2459 ns/op 1.00
floor - << 0 (512) 1.2429 ns/op 1.2436 ns/op 1.00
fnIf(0) 1.5544 ns/op 1.5549 ns/op 1.00
fnSwitch(0) 2.1796 ns/op 2.1789 ns/op 1.00
fnObj(0) 1.5583 ns/op 1.5552 ns/op 1.00
fnArr(0) 1.5557 ns/op 1.5565 ns/op 1.00
fnIf(4) 2.1766 ns/op 2.1841 ns/op 1.00
fnSwitch(4) 2.1842 ns/op 2.1762 ns/op 1.00
fnObj(4) 1.5589 ns/op 1.5567 ns/op 1.00
fnArr(4) 1.5553 ns/op 1.5554 ns/op 1.00
fnIf(9) 3.1074 ns/op 3.1076 ns/op 1.00
fnSwitch(9) 2.1761 ns/op 2.1772 ns/op 1.00
fnObj(9) 1.5589 ns/op 1.5561 ns/op 1.00
fnArr(9) 1.5569 ns/op 1.5590 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.78 us/op 124.65 us/op 1.00
Container {a,b,vec} - as tree x100000 528.93 us/op 532.25 us/op 0.99
Container {a,vec,b} - as struct x100000 156.04 us/op 155.70 us/op 1.00
Container {a,vec,b} - as tree x100000 498.14 us/op 497.67 us/op 1.00
get 2 props x1000000 - rawObject 312.79 us/op 312.22 us/op 1.00
get 2 props x1000000 - proxy 73.296 ms/op 73.277 ms/op 1.00
get 2 props x1000000 - customObj 311.24 us/op 311.96 us/op 1.00
Simple object binary -> struct 546.00 ns/op 717.00 ns/op 0.76
Simple object binary -> tree_backed 1.5500 us/op 1.9070 us/op 0.81
Simple object struct -> tree_backed 2.0330 us/op 2.4780 us/op 0.82
Simple object tree_backed -> struct 1.4800 us/op 1.8680 us/op 0.79
Simple object struct -> binary 828.00 ns/op 965.00 ns/op 0.86
Simple object tree_backed -> binary 1.2190 us/op 1.5930 us/op 0.77
aggregationBits binary -> struct 445.00 ns/op 651.00 ns/op 0.68
aggregationBits binary -> tree_backed 1.9470 us/op 2.5860 us/op 0.75
aggregationBits struct -> tree_backed 2.2810 us/op 3.0080 us/op 0.76
aggregationBits tree_backed -> struct 867.00 ns/op 1.1980 us/op 0.72
aggregationBits struct -> binary 643.00 ns/op 806.00 ns/op 0.80
aggregationBits tree_backed -> binary 793.00 ns/op 1.0390 us/op 0.76
List(uint8) 100000 binary -> struct 1.4048 ms/op 1.6596 ms/op 0.85
List(uint8) 100000 binary -> tree_backed 259.03 us/op 278.78 us/op 0.93
List(uint8) 100000 struct -> tree_backed 1.3714 ms/op 1.3719 ms/op 1.00
List(uint8) 100000 tree_backed -> struct 1.0416 ms/op 1.2182 ms/op 0.86
List(uint8) 100000 struct -> binary 1.0980 ms/op 1.1028 ms/op 1.00
List(uint8) 100000 tree_backed -> binary 104.87 us/op 108.97 us/op 0.96
List(uint64Number) 100000 binary -> struct 1.2621 ms/op 1.3834 ms/op 0.91
List(uint64Number) 100000 binary -> tree_backed 5.9049 ms/op 4.6133 ms/op 1.28
List(uint64Number) 100000 struct -> tree_backed 5.2304 ms/op 6.1871 ms/op 0.85
List(uint64Number) 100000 tree_backed -> struct 2.2968 ms/op 2.4196 ms/op 0.95
List(uint64Number) 100000 struct -> binary 1.5170 ms/op 1.4933 ms/op 1.02
List(uint64Number) 100000 tree_backed -> binary 962.59 us/op 967.37 us/op 1.00
List(Uint64Bigint) 100000 binary -> struct 3.4206 ms/op 3.7332 ms/op 0.92
List(Uint64Bigint) 100000 binary -> tree_backed 5.9412 ms/op 4.5182 ms/op 1.31
List(Uint64Bigint) 100000 struct -> tree_backed 7.9969 ms/op 7.4169 ms/op 1.08
List(Uint64Bigint) 100000 tree_backed -> struct 4.5461 ms/op 4.8968 ms/op 0.93
List(Uint64Bigint) 100000 struct -> binary 2.0157 ms/op 2.0658 ms/op 0.98
List(Uint64Bigint) 100000 tree_backed -> binary 941.84 us/op 1.1345 ms/op 0.83
Vector(Root) 100000 binary -> struct 41.789 ms/op 35.240 ms/op 1.19
Vector(Root) 100000 binary -> tree_backed 47.164 ms/op 38.393 ms/op 1.23
Vector(Root) 100000 struct -> tree_backed 50.583 ms/op 47.358 ms/op 1.07
Vector(Root) 100000 tree_backed -> struct 53.150 ms/op 48.068 ms/op 1.11
Vector(Root) 100000 struct -> binary 2.6390 ms/op 2.6666 ms/op 0.99
Vector(Root) 100000 tree_backed -> binary 6.1790 ms/op 6.2453 ms/op 0.99
List(Validator) 100000 binary -> struct 138.63 ms/op 98.818 ms/op 1.40
List(Validator) 100000 binary -> tree_backed 406.05 ms/op 313.77 ms/op 1.29
List(Validator) 100000 struct -> tree_backed 439.74 ms/op 353.56 ms/op 1.24
List(Validator) 100000 tree_backed -> struct 212.07 ms/op 195.03 ms/op 1.09
List(Validator) 100000 struct -> binary 29.333 ms/op 29.173 ms/op 1.01
List(Validator) 100000 tree_backed -> binary 96.923 ms/op 98.886 ms/op 0.98
List(Validator-NS) 100000 binary -> struct 143.54 ms/op 104.79 ms/op 1.37
List(Validator-NS) 100000 binary -> tree_backed 194.52 ms/op 161.51 ms/op 1.20
List(Validator-NS) 100000 struct -> tree_backed 227.96 ms/op 202.47 ms/op 1.13
List(Validator-NS) 100000 tree_backed -> struct 181.34 ms/op 169.91 ms/op 1.07
List(Validator-NS) 100000 struct -> binary 28.939 ms/op 29.279 ms/op 0.99
List(Validator-NS) 100000 tree_backed -> binary 34.195 ms/op 34.115 ms/op 1.00
get epochStatuses - MutableVector 98.993 us/op 117.63 us/op 0.84
get epochStatuses - ViewDU 207.66 us/op 209.15 us/op 0.99
set epochStatuses - ListTreeView 2.0266 ms/op 2.2574 ms/op 0.90
set epochStatuses - ListTreeView - set() 439.50 us/op 465.44 us/op 0.94
set epochStatuses - ListTreeView - commit() 720.81 us/op 770.34 us/op 0.94
bitstring 514.40 ns/op 518.88 ns/op 0.99
bit mask 13.490 ns/op 13.625 ns/op 0.99
struct - increase slot to 1000000 933.25 us/op 933.72 us/op 1.00
UintNumberType - increase slot to 1000000 26.881 ms/op 27.411 ms/op 0.98
UintBigintType - increase slot to 1000000 193.69 ms/op 172.25 ms/op 1.12
UintBigint8 x 100000 tree_deserialize 5.1060 ms/op 5.0606 ms/op 1.01
UintBigint8 x 100000 tree_serialize 1.0963 ms/op 646.77 us/op 1.70
UintBigint16 x 100000 tree_deserialize 5.1279 ms/op 5.7977 ms/op 0.88
UintBigint16 x 100000 tree_serialize 1.2766 ms/op 1.4088 ms/op 0.91
UintBigint32 x 100000 tree_deserialize 5.3696 ms/op 5.6522 ms/op 0.95
UintBigint32 x 100000 tree_serialize 1.7813 ms/op 1.7226 ms/op 1.03
UintBigint64 x 100000 tree_deserialize 6.1935 ms/op 6.2177 ms/op 1.00
UintBigint64 x 100000 tree_serialize 2.4692 ms/op 1.7364 ms/op 1.42
UintBigint8 x 100000 value_deserialize 443.01 us/op 439.86 us/op 1.01
UintBigint8 x 100000 value_serialize 734.24 us/op 795.15 us/op 0.92
UintBigint16 x 100000 value_deserialize 472.65 us/op 469.84 us/op 1.01
UintBigint16 x 100000 value_serialize 787.96 us/op 846.14 us/op 0.93
UintBigint32 x 100000 value_deserialize 497.53 us/op 504.85 us/op 0.99
UintBigint32 x 100000 value_serialize 829.43 us/op 879.62 us/op 0.94
UintBigint64 x 100000 value_deserialize 561.87 us/op 562.53 us/op 1.00
UintBigint64 x 100000 value_serialize 1.0121 ms/op 1.0869 ms/op 0.93
UintBigint8 x 100000 deserialize 3.5119 ms/op 3.3929 ms/op 1.04
UintBigint8 x 100000 serialize 1.5528 ms/op 1.6080 ms/op 0.97
UintBigint16 x 100000 deserialize 3.2918 ms/op 3.5103 ms/op 0.94
UintBigint16 x 100000 serialize 1.5643 ms/op 1.6711 ms/op 0.94
UintBigint32 x 100000 deserialize 3.3923 ms/op 3.5625 ms/op 0.95
UintBigint32 x 100000 serialize 2.8107 ms/op 2.8000 ms/op 1.00
UintBigint64 x 100000 deserialize 3.8087 ms/op 3.9562 ms/op 0.96
UintBigint64 x 100000 serialize 1.6221 ms/op 1.6447 ms/op 0.99
UintBigint128 x 100000 deserialize 5.1577 ms/op 5.2059 ms/op 0.99
UintBigint128 x 100000 serialize 13.929 ms/op 15.082 ms/op 0.92
UintBigint256 x 100000 deserialize 8.7014 ms/op 7.9912 ms/op 1.09
UintBigint256 x 100000 serialize 41.222 ms/op 43.068 ms/op 0.96
Slice from Uint8Array x25000 1.2298 ms/op 1.2996 ms/op 0.95
Slice from ArrayBuffer x25000 15.988 ms/op 16.254 ms/op 0.98
Slice from ArrayBuffer x25000 + new Uint8Array 17.277 ms/op 15.716 ms/op 1.10
Copy Uint8Array 100000 iterate 2.6366 ms/op 2.6506 ms/op 0.99
Copy Uint8Array 100000 slice 79.288 us/op 106.41 us/op 0.75
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 88.033 us/op 109.54 us/op 0.80
Copy Buffer 100000 Uint8Array.prototype.slice.call 75.640 us/op 106.80 us/op 0.71
Copy Uint8Array 100000 slice + set 164.77 us/op 199.53 us/op 0.83
Copy Uint8Array 100000 subarray + set 72.185 us/op 100.87 us/op 0.72
Copy Uint8Array 100000 slice arrayBuffer 77.277 us/op 102.70 us/op 0.75
Uint64 deserialize 100000 - iterate Uint8Array 1.8642 ms/op 2.0130 ms/op 0.93
Uint64 deserialize 100000 - by Uint32A 1.8048 ms/op 1.9866 ms/op 0.91
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.8502 ms/op 2.0096 ms/op 0.92
Uint64 deserialize 100000 - by DataView.getBigUint64 4.8500 ms/op 5.1570 ms/op 0.94
Uint64 deserialize 100000 - by byte 41.425 ms/op 40.643 ms/op 1.02

by benchmarkbot/action

@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 066ec94 to aa728bc Compare October 16, 2024 15:28
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch 2 times, most recently from fb0373d to 8166d5f Compare November 13, 2024 03:49
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 8166d5f to e3cf814 Compare December 20, 2024 17:14
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from e3cf814 to 35b4bec Compare January 2, 2025 11:25
@wemeetagain wemeetagain force-pushed the release-please--branches--master branch from 35b4bec to 494ff52 Compare January 14, 2025 14:41
@matthewkeil matthewkeil deleted the release-please--branches--master branch January 15, 2025 07:36
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