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

Merged
merged 1 commit into from
Jan 17, 2025
Merged

Conversation

matthewkeil
Copy link
Member

🤖 I have created a release beep boop

as-sha256: 0.6.1

0.6.1 (2025-01-17)

Bug Fixes

  • persistent-ts: empty commit to trigger release from package.json fix (9c20000)
  • ssz: empty commit to trigger release from package.json fix (bf5581a)
persistent-merkle-tree: 0.9.1

0.9.1 (2025-01-17)

Bug Fixes

  • persistent-ts: empty commit to trigger release from package.json fix (9c20000)
  • ssz: empty commit to trigger release from package.json fix (bf5581a)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @chainsafe/as-sha256 bumped from 0.6.0 to 0.6.1
persistent-ts: 0.19.2

0.19.2 (2025-01-17)

Bug Fixes

  • persistent-ts: empty commit to trigger release from package.json fix (9c20000)
  • ssz: empty commit to trigger release from package.json fix (bf5581a)
ssz: 0.19.1

0.19.1 (2025-01-17)

Bug Fixes

  • persistent-ts: empty commit to trigger release from package.json fix (9c20000)
  • ssz: empty commit to trigger release from package.json fix (bf5581a)

Dependencies

  • The following workspace dependencies were updated
    • dependencies
      • @chainsafe/as-sha256 bumped from 0.6.0 to 0.6.1
      • @chainsafe/persistent-merkle-tree bumped from 0.9.0 to 0.9.1

This PR was generated with Release Please. See documentation.

@matthewkeil matthewkeil merged commit 7c6ce61 into master Jan 17, 2025
8 checks passed
@matthewkeil matthewkeil deleted the release-please--branches--master branch January 17, 2025 15:32
Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 72a51d5 Previous: 2fd9c04 Ratio
digestTwoHashObjects 50023 times 48.473 ms/op 48.385 ms/op 1.00
digest2Bytes32 50023 times 54.846 ms/op 54.739 ms/op 1.00
digest 50023 times 53.452 ms/op 55.134 ms/op 0.97
input length 32 1.1810 us/op 1.2220 us/op 0.97
input length 64 1.3280 us/op 1.3350 us/op 0.99
input length 128 2.2680 us/op 2.2710 us/op 1.00
input length 256 3.3830 us/op 3.3710 us/op 1.00
input length 512 5.5830 us/op 5.5760 us/op 1.00
input length 1024 10.669 us/op 10.768 us/op 0.99
digest 1000000 times 870.56 ms/op 884.65 ms/op 0.98
hashObjectToByteArray 50023 times 1.2290 ms/op 1.2315 ms/op 1.00
byteArrayToHashObject 50023 times 1.6937 ms/op 1.8030 ms/op 0.94
digest64 200092 times 215.23 ms/op 213.67 ms/op 1.01
hash 200092 times using batchHash4UintArray64s 240.77 ms/op 240.28 ms/op 1.00
digest64HashObjects 200092 times 192.68 ms/op 194.67 ms/op 0.99
hash 200092 times using batchHash4HashObjectInputs 198.86 ms/op 207.74 ms/op 0.96
getGindicesAtDepth 3.4980 us/op 4.1450 us/op 0.84
iterateAtDepth 6.3580 us/op 7.4670 us/op 0.85
getGindexBits 383.00 ns/op 454.00 ns/op 0.84
gindexIterator 845.00 ns/op 1.0330 us/op 0.82
HashComputationLevel.push then loop 29.285 ms/op 27.802 ms/op 1.05
HashComputation[] push then loop 50.215 ms/op 49.368 ms/op 1.02
hash 2 Uint8Array 500000 times - hashtree 221.32 ms/op 216.43 ms/op 1.02
hashTwoObjects 500000 times - hashtree 217.30 ms/op 214.97 ms/op 1.01
executeHashComputations - hashtree 9.9869 ms/op 9.8174 ms/op 1.02
hash 2 Uint8Array 500000 times - as-sha256 566.84 ms/op 566.39 ms/op 1.00
hashTwoObjects 500000 times - as-sha256 512.39 ms/op 512.46 ms/op 1.00
executeHashComputations - as-sha256 45.751 ms/op 49.092 ms/op 0.93
hash 2 Uint8Array 500000 times - noble 1.2631 s/op 1.2320 s/op 1.03
hashTwoObjects 500000 times - noble 1.6710 s/op 1.6458 s/op 1.02
executeHashComputations - noble 36.546 ms/op 40.524 ms/op 0.90
getHashComputations 2.1709 ms/op 3.2876 ms/op 0.66
executeHashComputations 11.960 ms/op 11.015 ms/op 1.09
get root 16.308 ms/op 17.228 ms/op 0.95
getNodeH() x7812.5 avg hindex 12.243 us/op 12.973 us/op 0.94
getNodeH() x7812.5 index 0 7.5510 us/op 7.4830 us/op 1.01
getNodeH() x7812.5 index 7 7.5590 us/op 7.4880 us/op 1.01
getNodeH() x7812.5 index 7 with key array 6.3650 us/op 6.2660 us/op 1.02
new LeafNode() x7812.5 297.86 us/op 288.84 us/op 1.03
getHashComputations 250000 nodes 15.254 ms/op 17.077 ms/op 0.89
batchHash 250000 nodes 95.236 ms/op 83.672 ms/op 1.14
get root 250000 nodes 115.42 ms/op 118.39 ms/op 0.97
getHashComputations 500000 nodes 47.952 ms/op 32.790 ms/op 1.46
batchHash 500000 nodes 175.02 ms/op 170.81 ms/op 1.02
get root 500000 nodes 234.15 ms/op 237.45 ms/op 0.99
getHashComputations 1000000 nodes 85.111 ms/op 68.401 ms/op 1.24
batchHash 1000000 nodes 390.18 ms/op 314.97 ms/op 1.24
get root 1000000 nodes 469.49 ms/op 474.60 ms/op 0.99
multiproof - depth 15, 1 requested leaves 8.6230 us/op 8.0360 us/op 1.07
tree offset multiproof - depth 15, 1 requested leaves 19.179 us/op 17.505 us/op 1.10
compact multiproof - depth 15, 1 requested leaves 3.2290 us/op 2.9850 us/op 1.08
multiproof - depth 15, 2 requested leaves 11.789 us/op 11.659 us/op 1.01
tree offset multiproof - depth 15, 2 requested leaves 21.077 us/op 21.064 us/op 1.00
compact multiproof - depth 15, 2 requested leaves 3.1590 us/op 3.0240 us/op 1.04
multiproof - depth 15, 3 requested leaves 16.273 us/op 16.464 us/op 0.99
tree offset multiproof - depth 15, 3 requested leaves 27.449 us/op 27.416 us/op 1.00
compact multiproof - depth 15, 3 requested leaves 4.4050 us/op 3.6760 us/op 1.20
multiproof - depth 15, 4 requested leaves 22.068 us/op 21.480 us/op 1.03
tree offset multiproof - depth 15, 4 requested leaves 34.039 us/op 33.923 us/op 1.00
compact multiproof - depth 15, 4 requested leaves 4.6280 us/op 4.2500 us/op 1.09
packedRootsBytesToLeafNodes bytes 4000 offset 0 5.6310 us/op 5.5760 us/op 1.01
packedRootsBytesToLeafNodes bytes 4000 offset 1 5.6530 us/op 5.5020 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 2 5.6050 us/op 5.5960 us/op 1.00
packedRootsBytesToLeafNodes bytes 4000 offset 3 5.7900 us/op 5.5090 us/op 1.05
subtreeFillToContents depth 40 count 250000 50.876 ms/op 49.667 ms/op 1.02
setRoot - gindexBitstring 23.157 ms/op 20.717 ms/op 1.12
setRoot - gindex 25.038 ms/op 21.769 ms/op 1.15
getRoot - gindexBitstring 2.7746 ms/op 2.6428 ms/op 1.05
getRoot - gindex 3.3119 ms/op 3.4452 ms/op 0.96
getHashObject then setHashObject 30.435 ms/op 22.668 ms/op 1.34
setNodeWithFn 28.095 ms/op 19.949 ms/op 1.41
getNodeAtDepth depth 0 x100000 280.14 us/op 284.47 us/op 0.98
setNodeAtDepth depth 0 x100000 3.3125 ms/op 2.5826 ms/op 1.28
getNodesAtDepth depth 0 x100000 313.84 us/op 312.60 us/op 1.00
setNodesAtDepth depth 0 x100000 868.38 us/op 770.25 us/op 1.13
getNodeAtDepth depth 1 x100000 343.13 us/op 345.54 us/op 0.99
setNodeAtDepth depth 1 x100000 10.474 ms/op 8.3900 ms/op 1.25
getNodesAtDepth depth 1 x100000 437.20 us/op 436.17 us/op 1.00
setNodesAtDepth depth 1 x100000 8.4038 ms/op 8.0911 ms/op 1.04
getNodeAtDepth depth 2 x100000 1.0593 ms/op 742.41 us/op 1.43
setNodeAtDepth depth 2 x100000 20.216 ms/op 15.448 ms/op 1.31
getNodesAtDepth depth 2 x100000 20.355 ms/op 19.301 ms/op 1.05
setNodesAtDepth depth 2 x100000 27.857 ms/op 22.443 ms/op 1.24
tree.getNodesAtDepth - gindexes 12.345 ms/op 9.0838 ms/op 1.36
tree.getNodesAtDepth - push all nodes 2.7470 ms/op 2.2499 ms/op 1.22
tree.getNodesAtDepth - navigation 311.43 us/op 312.00 us/op 1.00
tree.setNodesAtDepth - indexes 818.10 us/op 702.50 us/op 1.16
set at depth 8 893.00 ns/op 673.00 ns/op 1.33
set at depth 16 1.2960 us/op 1.2090 us/op 1.07
set at depth 32 2.0880 us/op 1.9830 us/op 1.05
iterateNodesAtDepth 8 256 15.487 us/op 14.029 us/op 1.10
getNodesAtDepth 8 256 4.1340 us/op 3.9860 us/op 1.04
iterateNodesAtDepth 16 65536 4.7717 ms/op 4.9523 ms/op 0.96
getNodesAtDepth 16 65536 2.1939 ms/op 2.1318 ms/op 1.03
iterateNodesAtDepth 32 250000 18.270 ms/op 17.971 ms/op 1.02
getNodesAtDepth 32 250000 5.7741 ms/op 5.0235 ms/op 1.15
iterateNodesAtDepth 40 250000 18.741 ms/op 16.973 ms/op 1.10
getNodesAtDepth 40 250000 4.9547 ms/op 5.2017 ms/op 0.95
250000 validators root getter 117.32 ms/op 119.60 ms/op 0.98
250000 validators batchHash() 96.468 ms/op 96.226 ms/op 1.00
250000 validators hashComputations 17.758 ms/op 13.681 ms/op 1.30
bitlist bytes to struct (120,90) 1.0180 us/op 1.0320 us/op 0.99
bitlist bytes to tree (120,90) 2.9310 us/op 2.9040 us/op 1.01
bitlist bytes to struct (2048,2048) 1.1690 us/op 1.1460 us/op 1.02
bitlist bytes to tree (2048,2048) 4.8030 us/op 4.6090 us/op 1.04
ByteListType - deserialize 9.0407 ms/op 8.2940 ms/op 1.09
BasicListType - deserialize 18.552 ms/op 17.814 ms/op 1.04
ByteListType - serialize 8.1677 ms/op 8.2229 ms/op 0.99
BasicListType - serialize 10.872 ms/op 10.528 ms/op 1.03
BasicListType - tree_convertToStruct 28.313 ms/op 30.733 ms/op 0.92
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 5.4404 ms/op 5.0479 ms/op 1.08
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.2573 ms/op 4.4003 ms/op 0.97
Array.push len 300000 empty Array - number 7.7259 ms/op 7.7576 ms/op 1.00
Array.set len 300000 from new Array - number 2.3774 ms/op 2.3929 ms/op 0.99
Array.set len 300000 - number 6.6224 ms/op 6.8603 ms/op 0.97
Uint8Array.set len 300000 495.67 us/op 490.48 us/op 1.01
Uint32Array.set len 300000 566.30 us/op 554.60 us/op 1.02
Container({a: uint8, b: uint8}) getViewDU x300000 26.575 ms/op 25.535 ms/op 1.04
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 11.755 ms/op 10.557 ms/op 1.11
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 236.13 ms/op 222.67 ms/op 1.06
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 324.71 ms/op 288.04 ms/op 1.13
List(Container) len 300000 ViewDU.get(i) 10.430 ms/op 8.4440 ms/op 1.24
List(Container) len 300000 ViewDU.getReadonly(i) 10.902 ms/op 7.2905 ms/op 1.50
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 39.518 ms/op 34.764 ms/op 1.14
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 6.4963 ms/op 6.9714 ms/op 0.93
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 9.1302 ms/op 6.7554 ms/op 1.35
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 8.2662 ms/op 6.6821 ms/op 1.24
Array.push len 300000 empty Array - object 7.1859 ms/op 8.2629 ms/op 0.87
Array.set len 300000 from new Array - object 2.5375 ms/op 2.0682 ms/op 1.23
Array.set len 300000 - object 7.0951 ms/op 6.8760 ms/op 1.03
cachePermanentRootStruct no cache 5.9080 us/op 5.9280 us/op 1.00
cachePermanentRootStruct with cache 258.00 ns/op 245.00 ns/op 1.05
epochParticipation len 250000 rws 7813 2.4309 ms/op 2.3026 ms/op 1.06
BeaconState ViewDU hashTreeRoot() vc=200000 120.60 ms/op 119.71 ms/op 1.01
BeaconState ViewDU recursive hash - commit step vc=200000 5.4443 ms/op 5.0692 ms/op 1.07
BeaconState ViewDU validator tree creation vc=10000 42.931 ms/op 42.276 ms/op 1.02
BeaconState ViewDU batchHashTreeRoot vc=200000 114.63 ms/op 109.21 ms/op 1.05
BeaconState ViewDU hashTreeRoot - commit step vc=200000 96.690 ms/op 96.290 ms/op 1.00
BeaconState ViewDU hashTreeRoot - hash step vc=200000 17.726 ms/op 18.397 ms/op 0.96
deserialize Attestation - tree 4.0040 us/op 3.9770 us/op 1.01
deserialize Attestation - struct 2.0620 us/op 2.1880 us/op 0.94
deserialize SignedAggregateAndProof - tree 5.2590 us/op 5.3310 us/op 0.99
deserialize SignedAggregateAndProof - struct 3.3830 us/op 3.4600 us/op 0.98
deserialize SyncCommitteeMessage - tree 1.5630 us/op 1.5160 us/op 1.03
deserialize SyncCommitteeMessage - struct 1.1650 us/op 1.2600 us/op 0.92
deserialize SignedContributionAndProof - tree 3.1640 us/op 3.3480 us/op 0.95
deserialize SignedContributionAndProof - struct 2.7310 us/op 2.7630 us/op 0.99
deserialize SignedBeaconBlock - tree 300.66 us/op 320.10 us/op 0.94
deserialize SignedBeaconBlock - struct 139.26 us/op 146.11 us/op 0.95
BeaconState vc 300000 - deserialize tree 696.62 ms/op 676.70 ms/op 1.03
BeaconState vc 300000 - serialize tree 162.36 ms/op 176.66 ms/op 0.92
BeaconState.historicalRoots vc 300000 - deserialize tree 832.00 ns/op 963.00 ns/op 0.86
BeaconState.historicalRoots vc 300000 - serialize tree 659.00 ns/op 797.00 ns/op 0.83
BeaconState.validators vc 300000 - deserialize tree 637.72 ms/op 645.65 ms/op 0.99
BeaconState.validators vc 300000 - serialize tree 110.71 ms/op 108.09 ms/op 1.02
BeaconState.balances vc 300000 - deserialize tree 27.128 ms/op 31.118 ms/op 0.87
BeaconState.balances vc 300000 - serialize tree 4.2358 ms/op 5.4166 ms/op 0.78
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 957.87 us/op 1.1177 ms/op 0.86
BeaconState.previousEpochParticipation vc 300000 - serialize tree 344.10 us/op 329.73 us/op 1.04
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 917.42 us/op 1.1398 ms/op 0.80
BeaconState.currentEpochParticipation vc 300000 - serialize tree 337.11 us/op 329.92 us/op 1.02
BeaconState.inactivityScores vc 300000 - deserialize tree 27.577 ms/op 28.841 ms/op 0.96
BeaconState.inactivityScores vc 300000 - serialize tree 4.2482 ms/op 6.4320 ms/op 0.66
hashTreeRoot Attestation - struct 22.365 us/op 22.568 us/op 0.99
hashTreeRoot Attestation - tree 9.5520 us/op 9.7040 us/op 0.98
hashTreeRoot SignedAggregateAndProof - struct 26.822 us/op 34.438 us/op 0.78
hashTreeRoot SignedAggregateAndProof - tree 14.320 us/op 14.744 us/op 0.97
hashTreeRoot SyncCommitteeMessage - struct 7.0900 us/op 9.1540 us/op 0.77
hashTreeRoot SyncCommitteeMessage - tree 3.7100 us/op 3.6090 us/op 1.03
hashTreeRoot SignedContributionAndProof - struct 17.100 us/op 24.373 us/op 0.70
hashTreeRoot SignedContributionAndProof - tree 9.8770 us/op 10.036 us/op 0.98
hashTreeRoot SignedBeaconBlock - struct 1.3577 ms/op 1.7085 ms/op 0.79
hashTreeRoot SignedBeaconBlock - tree 876.18 us/op 874.80 us/op 1.00
hashTreeRoot Validator - struct 7.8940 us/op 10.415 us/op 0.76
hashTreeRoot Validator - tree 7.0830 us/op 8.8040 us/op 0.80
BeaconState vc 300000 - hashTreeRoot tree 2.3251 s/op 2.5106 s/op 0.93
BeaconState vc 300000 - batchHashTreeRoot tree 4.5104 s/op 4.5668 s/op 0.99
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.1810 us/op 1.1800 us/op 1.00
BeaconState.validators vc 300000 - hashTreeRoot tree 2.6724 s/op 2.6840 s/op 1.00
BeaconState.balances vc 300000 - hashTreeRoot tree 36.543 ms/op 37.232 ms/op 0.98
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 4.4576 ms/op 4.6431 ms/op 0.96
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 4.4477 ms/op 4.5680 ms/op 0.97
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 36.177 ms/op 39.894 ms/op 0.91
hash64 x18 9.6550 us/op 9.8100 us/op 0.98
hashTwoObjects x18 8.5520 us/op 8.9900 us/op 0.95
hash64 x1740 896.42 us/op 889.16 us/op 1.01
hashTwoObjects x1740 803.85 us/op 817.95 us/op 0.98
hash64 x2700000 1.3314 s/op 1.3707 s/op 0.97
hashTwoObjects x2700000 1.2433 s/op 1.2561 s/op 0.99
get_exitEpoch - ContainerType 301.00 ns/op 470.00 ns/op 0.64
get_exitEpoch - ContainerNodeStructType 297.00 ns/op 531.00 ns/op 0.56
set_exitEpoch - ContainerType 324.00 ns/op 743.00 ns/op 0.44
set_exitEpoch - ContainerNodeStructType 310.00 ns/op 867.00 ns/op 0.36
get_pubkey - ContainerType 1.1930 us/op 2.1440 us/op 0.56
get_pubkey - ContainerNodeStructType 298.00 ns/op 628.00 ns/op 0.47
hashTreeRoot - ContainerType 544.00 ns/op 911.00 ns/op 0.60
hashTreeRoot - ContainerNodeStructType 467.00 ns/op 822.00 ns/op 0.57
createProof - ContainerType 4.6350 us/op 7.2270 us/op 0.64
createProof - ContainerNodeStructType 24.900 us/op 38.455 us/op 0.65
serialize - ContainerType 2.0070 us/op 3.0960 us/op 0.65
serialize - ContainerNodeStructType 1.5570 us/op 2.3860 us/op 0.65
set_exitEpoch_and_hashTreeRoot - ContainerType 3.1880 us/op 5.1660 us/op 0.62
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 7.7430 us/op 11.845 us/op 0.65
Array - for of 11.288 us/op 6.0820 us/op 1.86
Array - for(;;) 11.624 us/op 6.0990 us/op 1.91
basicListValue.readonlyValuesArray() 4.1931 ms/op 8.5034 ms/op 0.49
basicListValue.readonlyValuesArray() + loop all 4.2980 ms/op 9.2078 ms/op 0.47
compositeListValue.readonlyValuesArray() 32.744 ms/op 31.312 ms/op 1.05
compositeListValue.readonlyValuesArray() + loop all 31.592 ms/op 32.164 ms/op 0.98
Number64UintType - get balances list 4.5728 ms/op 4.9334 ms/op 0.93
Number64UintType - set balances list 10.486 ms/op 10.233 ms/op 1.02
Number64UintType - get and increase 10 then set 45.097 ms/op 45.730 ms/op 0.99
Number64UintType - increase 10 using applyDelta 16.586 ms/op 19.214 ms/op 0.86
Number64UintType - increase 10 using applyDeltaInBatch 17.479 ms/op 18.532 ms/op 0.94
tree_newTreeFromUint64Deltas 23.564 ms/op 23.803 ms/op 0.99
unsafeUint8ArrayToTree 42.923 ms/op 43.554 ms/op 0.99
bitLength(50) 264.00 ns/op 283.00 ns/op 0.93
bitLengthStr(50) 243.00 ns/op 260.00 ns/op 0.93
bitLength(8000) 260.00 ns/op 280.00 ns/op 0.93
bitLengthStr(8000) 287.00 ns/op 301.00 ns/op 0.95
bitLength(250000) 264.00 ns/op 276.00 ns/op 0.96
bitLengthStr(250000) 321.00 ns/op 340.00 ns/op 0.94
floor - Math.floor (53) 1.2450 ns/op 1.2463 ns/op 1.00
floor - << 0 (53) 1.2435 ns/op 1.2449 ns/op 1.00
floor - Math.floor (512) 1.2445 ns/op 1.2485 ns/op 1.00
floor - << 0 (512) 1.2436 ns/op 1.2445 ns/op 1.00
fnIf(0) 1.5549 ns/op 1.5550 ns/op 1.00
fnSwitch(0) 2.1826 ns/op 2.2084 ns/op 0.99
fnObj(0) 1.5586 ns/op 1.5592 ns/op 1.00
fnArr(0) 1.5757 ns/op 1.5564 ns/op 1.01
fnIf(4) 2.1765 ns/op 2.2012 ns/op 0.99
fnSwitch(4) 2.1790 ns/op 2.1851 ns/op 1.00
fnObj(4) 1.5626 ns/op 1.5553 ns/op 1.00
fnArr(4) 1.5538 ns/op 1.5566 ns/op 1.00
fnIf(9) 3.1123 ns/op 3.1105 ns/op 1.00
fnSwitch(9) 2.1765 ns/op 2.1789 ns/op 1.00
fnObj(9) 1.5583 ns/op 1.5566 ns/op 1.00
fnArr(9) 1.5552 ns/op 1.5585 ns/op 1.00
Container {a,b,vec} - as struct x100000 124.84 us/op 124.70 us/op 1.00
Container {a,b,vec} - as tree x100000 528.63 us/op 528.88 us/op 1.00
Container {a,vec,b} - as struct x100000 155.65 us/op 156.29 us/op 1.00
Container {a,vec,b} - as tree x100000 497.68 us/op 497.88 us/op 1.00
get 2 props x1000000 - rawObject 315.81 us/op 311.55 us/op 1.01
get 2 props x1000000 - proxy 73.184 ms/op 73.231 ms/op 1.00
get 2 props x1000000 - customObj 311.99 us/op 311.63 us/op 1.00
Simple object binary -> struct 934.00 ns/op 666.00 ns/op 1.40
Simple object binary -> tree_backed 2.4690 us/op 1.8000 us/op 1.37
Simple object struct -> tree_backed 2.7940 us/op 2.5550 us/op 1.09
Simple object tree_backed -> struct 2.4490 us/op 1.8870 us/op 1.30
Simple object struct -> binary 1.2870 us/op 1.1100 us/op 1.16
Simple object tree_backed -> binary 1.7170 us/op 1.5810 us/op 1.09
aggregationBits binary -> struct 702.00 ns/op 556.00 ns/op 1.26
aggregationBits binary -> tree_backed 2.8290 us/op 2.3520 us/op 1.20
aggregationBits struct -> tree_backed 3.2000 us/op 2.8250 us/op 1.13
aggregationBits tree_backed -> struct 1.2780 us/op 1.1760 us/op 1.09
aggregationBits struct -> binary 846.00 ns/op 895.00 ns/op 0.95
aggregationBits tree_backed -> binary 1.0840 us/op 1.0710 us/op 1.01
List(uint8) 100000 binary -> struct 1.7223 ms/op 1.7193 ms/op 1.00
List(uint8) 100000 binary -> tree_backed 289.73 us/op 378.88 us/op 0.76
List(uint8) 100000 struct -> tree_backed 1.5065 ms/op 1.4716 ms/op 1.02
List(uint8) 100000 tree_backed -> struct 1.2952 ms/op 1.1255 ms/op 1.15
List(uint8) 100000 struct -> binary 1.1545 ms/op 1.1255 ms/op 1.03
List(uint8) 100000 tree_backed -> binary 110.82 us/op 133.70 us/op 0.83
List(uint64Number) 100000 binary -> struct 1.4885 ms/op 1.4898 ms/op 1.00
List(uint64Number) 100000 binary -> tree_backed 5.1301 ms/op 5.0622 ms/op 1.01
List(uint64Number) 100000 struct -> tree_backed 7.2374 ms/op 7.2356 ms/op 1.00
List(uint64Number) 100000 tree_backed -> struct 2.6780 ms/op 2.9213 ms/op 0.92
List(uint64Number) 100000 struct -> binary 1.7672 ms/op 1.8754 ms/op 0.94
List(uint64Number) 100000 tree_backed -> binary 1.0572 ms/op 1.9946 ms/op 0.53
List(Uint64Bigint) 100000 binary -> struct 4.2830 ms/op 4.3077 ms/op 0.99
List(Uint64Bigint) 100000 binary -> tree_backed 4.9543 ms/op 5.2529 ms/op 0.94
List(Uint64Bigint) 100000 struct -> tree_backed 8.0175 ms/op 8.0646 ms/op 0.99
List(Uint64Bigint) 100000 tree_backed -> struct 5.1678 ms/op 5.6323 ms/op 0.92
List(Uint64Bigint) 100000 struct -> binary 2.0770 ms/op 2.0885 ms/op 0.99
List(Uint64Bigint) 100000 tree_backed -> binary 1.1201 ms/op 1.8135 ms/op 0.62
Vector(Root) 100000 binary -> struct 38.888 ms/op 41.100 ms/op 0.95
Vector(Root) 100000 binary -> tree_backed 43.685 ms/op 44.078 ms/op 0.99
Vector(Root) 100000 struct -> tree_backed 53.847 ms/op 55.892 ms/op 0.96
Vector(Root) 100000 tree_backed -> struct 53.824 ms/op 56.983 ms/op 0.94
Vector(Root) 100000 struct -> binary 3.0297 ms/op 2.7534 ms/op 1.10
Vector(Root) 100000 tree_backed -> binary 7.1032 ms/op 8.0801 ms/op 0.88
List(Validator) 100000 binary -> struct 107.96 ms/op 113.34 ms/op 0.95
List(Validator) 100000 binary -> tree_backed 389.87 ms/op 390.64 ms/op 1.00
List(Validator) 100000 struct -> tree_backed 411.89 ms/op 417.76 ms/op 0.99
List(Validator) 100000 tree_backed -> struct 234.01 ms/op 226.69 ms/op 1.03
List(Validator) 100000 struct -> binary 30.270 ms/op 29.274 ms/op 1.03
List(Validator) 100000 tree_backed -> binary 114.25 ms/op 108.34 ms/op 1.05
List(Validator-NS) 100000 binary -> struct 117.03 ms/op 135.28 ms/op 0.87
List(Validator-NS) 100000 binary -> tree_backed 149.76 ms/op 184.51 ms/op 0.81
List(Validator-NS) 100000 struct -> tree_backed 208.47 ms/op 235.91 ms/op 0.88
List(Validator-NS) 100000 tree_backed -> struct 174.27 ms/op 192.62 ms/op 0.90
List(Validator-NS) 100000 struct -> binary 29.823 ms/op 29.747 ms/op 1.00
List(Validator-NS) 100000 tree_backed -> binary 34.630 ms/op 35.712 ms/op 0.97
get epochStatuses - MutableVector 104.00 us/op 101.62 us/op 1.02
get epochStatuses - ViewDU 223.03 us/op 203.65 us/op 1.10
set epochStatuses - ListTreeView 2.1656 ms/op 2.2079 ms/op 0.98
set epochStatuses - ListTreeView - set() 440.98 us/op 431.41 us/op 1.02
set epochStatuses - ListTreeView - commit() 814.45 us/op 804.31 us/op 1.01
bitstring 519.13 ns/op 520.44 ns/op 1.00
bit mask 13.267 ns/op 13.407 ns/op 0.99
struct - increase slot to 1000000 933.08 us/op 936.53 us/op 1.00
UintNumberType - increase slot to 1000000 26.783 ms/op 26.798 ms/op 1.00
UintBigintType - increase slot to 1000000 194.58 ms/op 214.36 ms/op 0.91
UintBigint8 x 100000 tree_deserialize 6.3900 ms/op 5.8918 ms/op 1.08
UintBigint8 x 100000 tree_serialize 1.0977 ms/op 1.1095 ms/op 0.99
UintBigint16 x 100000 tree_deserialize 5.6468 ms/op 6.7823 ms/op 0.83
UintBigint16 x 100000 tree_serialize 1.6991 ms/op 1.7868 ms/op 0.95
UintBigint32 x 100000 tree_deserialize 7.2183 ms/op 7.0351 ms/op 1.03
UintBigint32 x 100000 tree_serialize 2.2389 ms/op 2.3450 ms/op 0.95
UintBigint64 x 100000 tree_deserialize 7.3534 ms/op 8.0089 ms/op 0.92
UintBigint64 x 100000 tree_serialize 2.6914 ms/op 3.3089 ms/op 0.81
UintBigint8 x 100000 value_deserialize 435.54 us/op 436.55 us/op 1.00
UintBigint8 x 100000 value_serialize 822.80 us/op 944.72 us/op 0.87
UintBigint16 x 100000 value_deserialize 466.56 us/op 466.98 us/op 1.00
UintBigint16 x 100000 value_serialize 860.74 us/op 949.22 us/op 0.91
UintBigint32 x 100000 value_deserialize 497.72 us/op 497.75 us/op 1.00
UintBigint32 x 100000 value_serialize 880.87 us/op 1.0340 ms/op 0.85
UintBigint64 x 100000 value_deserialize 561.31 us/op 561.86 us/op 1.00
UintBigint64 x 100000 value_serialize 1.2324 ms/op 1.4075 ms/op 0.88
UintBigint8 x 100000 deserialize 3.9379 ms/op 4.0786 ms/op 0.97
UintBigint8 x 100000 serialize 1.6922 ms/op 1.6495 ms/op 1.03
UintBigint16 x 100000 deserialize 4.1672 ms/op 4.2306 ms/op 0.99
UintBigint16 x 100000 serialize 1.5296 ms/op 1.5280 ms/op 1.00
UintBigint32 x 100000 deserialize 4.2002 ms/op 4.1933 ms/op 1.00
UintBigint32 x 100000 serialize 3.1092 ms/op 3.1683 ms/op 0.98
UintBigint64 x 100000 deserialize 4.6680 ms/op 4.8024 ms/op 0.97
UintBigint64 x 100000 serialize 1.6454 ms/op 1.6952 ms/op 0.97
UintBigint128 x 100000 deserialize 5.9299 ms/op 6.8769 ms/op 0.86
UintBigint128 x 100000 serialize 14.951 ms/op 15.576 ms/op 0.96
UintBigint256 x 100000 deserialize 9.2728 ms/op 9.2019 ms/op 1.01
UintBigint256 x 100000 serialize 42.819 ms/op 45.317 ms/op 0.94
Slice from Uint8Array x25000 1.3537 ms/op 1.3730 ms/op 0.99
Slice from ArrayBuffer x25000 16.662 ms/op 16.661 ms/op 1.00
Slice from ArrayBuffer x25000 + new Uint8Array 18.517 ms/op 18.610 ms/op 0.99
Copy Uint8Array 100000 iterate 2.7052 ms/op 2.6541 ms/op 1.02
Copy Uint8Array 100000 slice 132.04 us/op 120.03 us/op 1.10
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 133.98 us/op 119.67 us/op 1.12
Copy Buffer 100000 Uint8Array.prototype.slice.call 141.55 us/op 124.86 us/op 1.13
Copy Uint8Array 100000 slice + set 271.97 us/op 251.50 us/op 1.08
Copy Uint8Array 100000 subarray + set 138.25 us/op 122.68 us/op 1.13
Copy Uint8Array 100000 slice arrayBuffer 129.89 us/op 124.22 us/op 1.05
Uint64 deserialize 100000 - iterate Uint8Array 2.2756 ms/op 2.2252 ms/op 1.02
Uint64 deserialize 100000 - by Uint32A 2.1909 ms/op 2.1293 ms/op 1.03
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.2082 ms/op 2.1917 ms/op 1.01
Uint64 deserialize 100000 - by DataView.getBigUint64 5.2920 ms/op 5.4629 ms/op 0.97
Uint64 deserialize 100000 - by byte 41.493 ms/op 41.007 ms/op 1.01

by benchmarkbot/action

matthewkeil added a commit that referenced this pull request Jan 18, 2025
matthewkeil added a commit that referenced this pull request Jan 18, 2025
…#444)

* Revert "chore: release nh/benchmark-update (#442)"

This reverts commit 7c6ce61.

* chore: add package-name to release-please-config so package scopes are easier to type

* chore: remove ignored package-name field
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