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: remove release-as versions in config #434

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

matthewkeil
Copy link
Member

Motivation

Testing to see if this fixes deployment issues

@matthewkeil matthewkeil requested a review from a team as a code owner January 15, 2025 09:58
Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: df3304a Previous: 9729005 Ratio
digestTwoHashObjects 50023 times 48.626 ms/op 48.723 ms/op 1.00
digest2Bytes32 50023 times 54.729 ms/op 55.394 ms/op 0.99
digest 50023 times 54.813 ms/op 56.560 ms/op 0.97
input length 32 1.2130 us/op 1.2260 us/op 0.99
input length 64 1.3300 us/op 1.3510 us/op 0.98
input length 128 2.3060 us/op 2.2710 us/op 1.02
input length 256 3.4700 us/op 3.3900 us/op 1.02
input length 512 5.6000 us/op 5.6380 us/op 0.99
input length 1024 10.819 us/op 11.023 us/op 0.98
digest 1000000 times 887.27 ms/op 862.38 ms/op 1.03
hashObjectToByteArray 50023 times 1.2336 ms/op 1.2407 ms/op 0.99
byteArrayToHashObject 50023 times 1.8760 ms/op 1.7831 ms/op 1.05
digest64 200092 times 215.03 ms/op 216.88 ms/op 0.99
hash 200092 times using batchHash4UintArray64s 239.15 ms/op 239.05 ms/op 1.00
digest64HashObjects 200092 times 195.38 ms/op 194.75 ms/op 1.00
hash 200092 times using batchHash4HashObjectInputs 207.78 ms/op 204.61 ms/op 1.02
getGindicesAtDepth 4.2450 us/op 4.2100 us/op 1.01
iterateAtDepth 7.6410 us/op 7.6110 us/op 1.00
getGindexBits 451.00 ns/op 433.00 ns/op 1.04
gindexIterator 1.0540 us/op 1.0200 us/op 1.03
HashComputationLevel.push then loop 27.183 ms/op 27.644 ms/op 0.98
HashComputation[] push then loop 48.200 ms/op 48.288 ms/op 1.00
hash 2 Uint8Array 500000 times - hashtree 221.70 ms/op 216.16 ms/op 1.03
hashTwoObjects 500000 times - hashtree 216.67 ms/op 213.96 ms/op 1.01
executeHashComputations - hashtree 10.201 ms/op 9.4486 ms/op 1.08
hash 2 Uint8Array 500000 times - as-sha256 561.09 ms/op 566.64 ms/op 0.99
hashTwoObjects 500000 times - as-sha256 508.67 ms/op 508.63 ms/op 1.00
executeHashComputations - as-sha256 47.449 ms/op 46.578 ms/op 1.02
hash 2 Uint8Array 500000 times - noble 1.1958 s/op 1.2332 s/op 0.97
hashTwoObjects 500000 times - noble 1.6142 s/op 1.6503 s/op 0.98
executeHashComputations - noble 36.808 ms/op 36.437 ms/op 1.01
getHashComputations 2.7666 ms/op 2.1577 ms/op 1.28
executeHashComputations 11.857 ms/op 9.3634 ms/op 1.27
get root 17.809 ms/op 15.278 ms/op 1.17
getNodeH() x7812.5 avg hindex 12.162 us/op 12.451 us/op 0.98
getNodeH() x7812.5 index 0 7.4900 us/op 7.5590 us/op 0.99
getNodeH() x7812.5 index 7 7.4860 us/op 7.6090 us/op 0.98
getNodeH() x7812.5 index 7 with key array 6.3690 us/op 6.4250 us/op 0.99
new LeafNode() x7812.5 358.07 us/op 313.76 us/op 1.14
getHashComputations 250000 nodes 17.973 ms/op 14.571 ms/op 1.23
batchHash 250000 nodes 83.895 ms/op 94.878 ms/op 0.88
get root 250000 nodes 118.72 ms/op 115.60 ms/op 1.03
getHashComputations 500000 nodes 28.168 ms/op 28.957 ms/op 0.97
batchHash 500000 nodes 160.19 ms/op 170.01 ms/op 0.94
get root 500000 nodes 241.07 ms/op 241.38 ms/op 1.00
getHashComputations 1000000 nodes 69.639 ms/op 60.808 ms/op 1.15
batchHash 1000000 nodes 313.75 ms/op 335.20 ms/op 0.94
get root 1000000 nodes 480.86 ms/op 461.65 ms/op 1.04
multiproof - depth 15, 1 requested leaves 9.0120 us/op 9.6620 us/op 0.93
tree offset multiproof - depth 15, 1 requested leaves 19.594 us/op 21.144 us/op 0.93
compact multiproof - depth 15, 1 requested leaves 3.2800 us/op 3.8480 us/op 0.85
multiproof - depth 15, 2 requested leaves 11.814 us/op 13.805 us/op 0.86
tree offset multiproof - depth 15, 2 requested leaves 21.313 us/op 24.103 us/op 0.88
compact multiproof - depth 15, 2 requested leaves 3.0770 us/op 3.3080 us/op 0.93
multiproof - depth 15, 3 requested leaves 16.540 us/op 18.412 us/op 0.90
tree offset multiproof - depth 15, 3 requested leaves 27.261 us/op 31.255 us/op 0.87
compact multiproof - depth 15, 3 requested leaves 3.7930 us/op 5.5770 us/op 0.68
multiproof - depth 15, 4 requested leaves 22.180 us/op 26.241 us/op 0.85
tree offset multiproof - depth 15, 4 requested leaves 34.004 us/op 39.953 us/op 0.85
compact multiproof - depth 15, 4 requested leaves 4.3770 us/op 6.8160 us/op 0.64
packedRootsBytesToLeafNodes bytes 4000 offset 0 6.5740 us/op 7.4460 us/op 0.88
packedRootsBytesToLeafNodes bytes 4000 offset 1 6.6760 us/op 6.7430 us/op 0.99
packedRootsBytesToLeafNodes bytes 4000 offset 2 6.5670 us/op 7.1000 us/op 0.92
packedRootsBytesToLeafNodes bytes 4000 offset 3 6.4820 us/op 7.4620 us/op 0.87
subtreeFillToContents depth 40 count 250000 50.738 ms/op 53.556 ms/op 0.95
setRoot - gindexBitstring 20.378 ms/op 22.368 ms/op 0.91
setRoot - gindex 21.373 ms/op 23.427 ms/op 0.91
getRoot - gindexBitstring 2.5598 ms/op 2.7928 ms/op 0.92
getRoot - gindex 3.1441 ms/op 3.7569 ms/op 0.84
getHashObject then setHashObject 22.165 ms/op 25.188 ms/op 0.88
setNodeWithFn 19.405 ms/op 21.170 ms/op 0.92
getNodeAtDepth depth 0 x100000 279.72 us/op 280.05 us/op 1.00
setNodeAtDepth depth 0 x100000 2.4464 ms/op 2.7835 ms/op 0.88
getNodesAtDepth depth 0 x100000 312.03 us/op 315.40 us/op 0.99
setNodesAtDepth depth 0 x100000 764.71 us/op 803.12 us/op 0.95
getNodeAtDepth depth 1 x100000 341.86 us/op 342.31 us/op 1.00
setNodeAtDepth depth 1 x100000 7.9119 ms/op 11.392 ms/op 0.69
getNodesAtDepth depth 1 x100000 436.62 us/op 436.81 us/op 1.00
setNodesAtDepth depth 1 x100000 7.7014 ms/op 8.5412 ms/op 0.90
getNodeAtDepth depth 2 x100000 741.17 us/op 748.19 us/op 0.99
setNodeAtDepth depth 2 x100000 15.144 ms/op 21.655 ms/op 0.70
getNodesAtDepth depth 2 x100000 19.321 ms/op 21.755 ms/op 0.89
setNodesAtDepth depth 2 x100000 22.770 ms/op 29.813 ms/op 0.76
tree.getNodesAtDepth - gindexes 8.7671 ms/op 9.4571 ms/op 0.93
tree.getNodesAtDepth - push all nodes 2.1985 ms/op 3.6860 ms/op 0.60
tree.getNodesAtDepth - navigation 318.36 us/op 311.66 us/op 1.02
tree.setNodesAtDepth - indexes 704.20 us/op 870.84 us/op 0.81
set at depth 8 764.00 ns/op 990.00 ns/op 0.77
set at depth 16 1.1630 us/op 1.4980 us/op 0.78
set at depth 32 1.9290 us/op 2.6160 us/op 0.74
iterateNodesAtDepth 8 256 13.964 us/op 16.140 us/op 0.87
getNodesAtDepth 8 256 3.7990 us/op 4.0760 us/op 0.93
iterateNodesAtDepth 16 65536 4.6335 ms/op 4.6957 ms/op 0.99
getNodesAtDepth 16 65536 1.9412 ms/op 1.9329 ms/op 1.00
iterateNodesAtDepth 32 250000 17.500 ms/op 17.065 ms/op 1.03
getNodesAtDepth 32 250000 4.8549 ms/op 5.5690 ms/op 0.87
iterateNodesAtDepth 40 250000 16.720 ms/op 17.518 ms/op 0.95
getNodesAtDepth 40 250000 4.8359 ms/op 6.3452 ms/op 0.76
250000 validators root getter 120.08 ms/op 116.82 ms/op 1.03
250000 validators batchHash() 105.09 ms/op 146.04 ms/op 0.72
250000 validators hashComputations 20.307 ms/op 17.985 ms/op 1.13
bitlist bytes to struct (120,90) 724.00 ns/op 1.4790 us/op 0.49
bitlist bytes to tree (120,90) 2.8810 us/op 5.0730 us/op 0.57
bitlist bytes to struct (2048,2048) 1.1670 us/op 1.8910 us/op 0.62
bitlist bytes to tree (2048,2048) 4.0630 us/op 7.9650 us/op 0.51
ByteListType - deserialize 7.4579 ms/op 12.550 ms/op 0.59
BasicListType - deserialize 13.875 ms/op 18.072 ms/op 0.77
ByteListType - serialize 7.5623 ms/op 12.530 ms/op 0.60
BasicListType - serialize 9.6570 ms/op 16.236 ms/op 0.59
BasicListType - tree_convertToStruct 25.561 ms/op 57.248 ms/op 0.45
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.5753 ms/op 5.5862 ms/op 0.82
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.2601 ms/op 4.3393 ms/op 0.98
Array.push len 300000 empty Array - number 6.8059 ms/op 7.2888 ms/op 0.93
Array.set len 300000 from new Array - number 1.7385 ms/op 2.2772 ms/op 0.76
Array.set len 300000 - number 6.0474 ms/op 7.2350 ms/op 0.84
Uint8Array.set len 300000 492.57 us/op 507.46 us/op 0.97
Uint32Array.set len 300000 574.96 us/op 633.01 us/op 0.91
Container({a: uint8, b: uint8}) getViewDU x300000 25.750 ms/op 30.436 ms/op 0.85
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 10.791 ms/op 11.494 ms/op 0.94
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 219.46 ms/op 217.11 ms/op 1.01
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 255.71 ms/op 265.71 ms/op 0.96
List(Container) len 300000 ViewDU.get(i) 6.7078 ms/op 7.1066 ms/op 0.94
List(Container) len 300000 ViewDU.getReadonly(i) 6.5625 ms/op 8.9971 ms/op 0.73
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 38.352 ms/op 38.920 ms/op 0.99
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.3895 ms/op 6.0683 ms/op 0.89
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.1745 ms/op 6.5574 ms/op 0.94
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 6.0478 ms/op 7.1471 ms/op 0.85
Array.push len 300000 empty Array - object 6.7081 ms/op 7.0016 ms/op 0.96
Array.set len 300000 from new Array - object 2.0940 ms/op 2.1312 ms/op 0.98
Array.set len 300000 - object 6.5433 ms/op 6.8305 ms/op 0.96
cachePermanentRootStruct no cache 19.326 us/op 22.908 us/op 0.84
cachePermanentRootStruct with cache 210.00 ns/op 272.00 ns/op 0.77
epochParticipation len 250000 rws 7813 2.3544 ms/op 2.5209 ms/op 0.93
BeaconState ViewDU hashTreeRoot() vc=200000 533.67 ms/op 607.13 ms/op 0.88
BeaconState ViewDU recursive hash - commit step vc=200000 4.7640 ms/op 4.9146 ms/op 0.97
BeaconState ViewDU validator tree creation vc=10000 39.685 ms/op 40.470 ms/op 0.98
BeaconState ViewDU batchHashTreeRoot vc=200000 422.72 ms/op 452.39 ms/op 0.93
BeaconState ViewDU hashTreeRoot - commit step vc=200000 337.55 ms/op 385.07 ms/op 0.88
BeaconState ViewDU hashTreeRoot - hash step vc=200000 73.734 ms/op 75.611 ms/op 0.98
deserialize Attestation - tree 3.6970 us/op 4.4960 us/op 0.82
deserialize Attestation - struct 2.0310 us/op 2.3260 us/op 0.87
deserialize SignedAggregateAndProof - tree 5.3850 us/op 6.2550 us/op 0.86
deserialize SignedAggregateAndProof - struct 3.2550 us/op 4.1660 us/op 0.78
deserialize SyncCommitteeMessage - tree 1.4730 us/op 1.5990 us/op 0.92
deserialize SyncCommitteeMessage - struct 1.1560 us/op 1.4270 us/op 0.81
deserialize SignedContributionAndProof - tree 3.0440 us/op 3.4450 us/op 0.88
deserialize SignedContributionAndProof - struct 2.3530 us/op 3.0600 us/op 0.77
deserialize SignedBeaconBlock - tree 296.48 us/op 360.53 us/op 0.82
deserialize SignedBeaconBlock - struct 135.78 us/op 154.04 us/op 0.88
BeaconState vc 300000 - deserialize tree 650.19 ms/op 673.94 ms/op 0.96
BeaconState vc 300000 - serialize tree 129.97 ms/op 138.13 ms/op 0.94
BeaconState.historicalRoots vc 300000 - deserialize tree 831.00 ns/op 891.00 ns/op 0.93
BeaconState.historicalRoots vc 300000 - serialize tree 672.00 ns/op 751.00 ns/op 0.89
BeaconState.validators vc 300000 - deserialize tree 617.55 ms/op 626.86 ms/op 0.99
BeaconState.validators vc 300000 - serialize tree 114.69 ms/op 116.44 ms/op 0.98
BeaconState.balances vc 300000 - deserialize tree 25.676 ms/op 28.058 ms/op 0.92
BeaconState.balances vc 300000 - serialize tree 4.3584 ms/op 5.1586 ms/op 0.84
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 987.97 us/op 1.2471 ms/op 0.79
BeaconState.previousEpochParticipation vc 300000 - serialize tree 339.12 us/op 348.21 us/op 0.97
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 946.82 us/op 1.2675 ms/op 0.75
BeaconState.currentEpochParticipation vc 300000 - serialize tree 336.37 us/op 343.11 us/op 0.98
BeaconState.inactivityScores vc 300000 - deserialize tree 26.317 ms/op 29.254 ms/op 0.90
BeaconState.inactivityScores vc 300000 - serialize tree 4.8518 ms/op 7.9771 ms/op 0.61
hashTreeRoot Attestation - struct 82.432 us/op 104.67 us/op 0.79
hashTreeRoot Attestation - tree 89.165 us/op 102.55 us/op 0.87
hashTreeRoot SignedAggregateAndProof - struct 108.11 us/op 129.70 us/op 0.83
hashTreeRoot SignedAggregateAndProof - tree 108.97 us/op 128.79 us/op 0.85
hashTreeRoot SyncCommitteeMessage - struct 23.390 us/op 28.707 us/op 0.81
hashTreeRoot SyncCommitteeMessage - tree 24.867 us/op 29.674 us/op 0.84
hashTreeRoot SignedContributionAndProof - struct 66.997 us/op 71.347 us/op 0.94
hashTreeRoot SignedContributionAndProof - tree 89.430 us/op 72.691 us/op 1.23
hashTreeRoot SignedBeaconBlock - struct 6.7137 ms/op 5.9763 ms/op 1.12
hashTreeRoot SignedBeaconBlock - tree 6.4956 ms/op 6.5414 ms/op 0.99
hashTreeRoot Validator - struct 31.207 us/op 28.452 us/op 1.10
hashTreeRoot Validator - tree 34.961 us/op 33.009 us/op 1.06
BeaconState vc 300000 - hashTreeRoot tree 11.253 s/op 12.242 s/op 0.92
BeaconState vc 300000 - batchHashTreeRoot tree 6.6940 s/op 6.6136 s/op 1.01
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 4.3790 us/op 5.0680 us/op 0.86
BeaconState.validators vc 300000 - hashTreeRoot tree 11.182 s/op 11.852 s/op 0.94
BeaconState.balances vc 300000 - hashTreeRoot tree 287.95 ms/op 327.10 ms/op 0.88
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 34.809 ms/op 39.560 ms/op 0.88
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 34.542 ms/op 37.782 ms/op 0.91
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 289.76 ms/op 320.59 ms/op 0.90
hash64 x18 47.899 us/op 47.150 us/op 1.02
hashTwoObjects x18 65.350 us/op 67.919 us/op 0.96
hash64 x1740 4.6544 ms/op 5.2261 ms/op 0.89
hashTwoObjects x1740 6.4476 ms/op 6.8619 ms/op 0.94
hash64 x2700000 7.1743 s/op 7.4652 s/op 0.96
hashTwoObjects x2700000 9.4869 s/op 10.620 s/op 0.89
get_exitEpoch - ContainerType 260.00 ns/op 302.00 ns/op 0.86
get_exitEpoch - ContainerNodeStructType 263.00 ns/op 268.00 ns/op 0.98
set_exitEpoch - ContainerType 281.00 ns/op 287.00 ns/op 0.98
set_exitEpoch - ContainerNodeStructType 277.00 ns/op 276.00 ns/op 1.00
get_pubkey - ContainerType 1.0200 us/op 1.0040 us/op 1.02
get_pubkey - ContainerNodeStructType 256.00 ns/op 260.00 ns/op 0.98
hashTreeRoot - ContainerType 462.00 ns/op 472.00 ns/op 0.98
hashTreeRoot - ContainerNodeStructType 453.00 ns/op 459.00 ns/op 0.99
createProof - ContainerType 4.8070 us/op 4.2970 us/op 1.12
createProof - ContainerNodeStructType 22.426 us/op 21.579 us/op 1.04
serialize - ContainerType 1.5750 us/op 1.5720 us/op 1.00
serialize - ContainerNodeStructType 1.3210 us/op 1.3410 us/op 0.99
set_exitEpoch_and_hashTreeRoot - ContainerType 11.806 us/op 11.978 us/op 0.99
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 30.511 us/op 30.528 us/op 1.00
Array - for of 5.5790 us/op 5.6250 us/op 0.99
Array - for(;;) 5.5970 us/op 5.5830 us/op 1.00
basicListValue.readonlyValuesArray() 3.9750 ms/op 3.8673 ms/op 1.03
basicListValue.readonlyValuesArray() + loop all 4.4542 ms/op 4.2037 ms/op 1.06
compositeListValue.readonlyValuesArray() 29.110 ms/op 37.810 ms/op 0.77
compositeListValue.readonlyValuesArray() + loop all 30.208 ms/op 37.015 ms/op 0.82
Number64UintType - get balances list 4.6506 ms/op 4.2271 ms/op 1.10
Number64UintType - set balances list 10.212 ms/op 9.8431 ms/op 1.04
Number64UintType - get and increase 10 then set 43.554 ms/op 39.999 ms/op 1.09
Number64UintType - increase 10 using applyDelta 15.868 ms/op 14.608 ms/op 1.09
Number64UintType - increase 10 using applyDeltaInBatch 16.134 ms/op 14.305 ms/op 1.13
tree_newTreeFromUint64Deltas 18.971 ms/op 25.776 ms/op 0.74
unsafeUint8ArrayToTree 43.045 ms/op 47.853 ms/op 0.90
bitLength(50) 286.00 ns/op 219.00 ns/op 1.31
bitLengthStr(50) 255.00 ns/op 215.00 ns/op 1.19
bitLength(8000) 274.00 ns/op 211.00 ns/op 1.30
bitLengthStr(8000) 290.00 ns/op 268.00 ns/op 1.08
bitLength(250000) 239.00 ns/op 235.00 ns/op 1.02
bitLengthStr(250000) 297.00 ns/op 299.00 ns/op 0.99
floor - Math.floor (53) 1.2439 ns/op 1.2457 ns/op 1.00
floor - << 0 (53) 1.2432 ns/op 1.2429 ns/op 1.00
floor - Math.floor (512) 1.2616 ns/op 1.2434 ns/op 1.01
floor - << 0 (512) 1.2548 ns/op 1.2447 ns/op 1.01
fnIf(0) 1.5820 ns/op 1.5761 ns/op 1.00
fnSwitch(0) 2.2073 ns/op 2.1782 ns/op 1.01
fnObj(0) 1.5578 ns/op 1.5579 ns/op 1.00
fnArr(0) 1.5695 ns/op 1.5560 ns/op 1.01
fnIf(4) 2.1758 ns/op 2.1771 ns/op 1.00
fnSwitch(4) 2.1756 ns/op 2.1989 ns/op 0.99
fnObj(4) 1.5688 ns/op 1.5690 ns/op 1.00
fnArr(4) 1.5545 ns/op 1.5552 ns/op 1.00
fnIf(9) 3.1117 ns/op 3.1073 ns/op 1.00
fnSwitch(9) 2.1749 ns/op 2.2121 ns/op 0.98
fnObj(9) 1.5576 ns/op 1.5765 ns/op 0.99
fnArr(9) 1.5588 ns/op 1.5541 ns/op 1.00
Container {a,b,vec} - as struct x100000 127.10 us/op 124.55 us/op 1.02
Container {a,b,vec} - as tree x100000 528.51 us/op 528.92 us/op 1.00
Container {a,vec,b} - as struct x100000 155.51 us/op 156.44 us/op 0.99
Container {a,vec,b} - as tree x100000 498.23 us/op 505.99 us/op 0.98
get 2 props x1000000 - rawObject 311.44 us/op 316.13 us/op 0.99
get 2 props x1000000 - proxy 73.588 ms/op 73.091 ms/op 1.01
get 2 props x1000000 - customObj 311.23 us/op 313.76 us/op 0.99
Simple object binary -> struct 985.00 ns/op 759.00 ns/op 1.30
Simple object binary -> tree_backed 2.6190 us/op 1.9970 us/op 1.31
Simple object struct -> tree_backed 2.8990 us/op 2.4020 us/op 1.21
Simple object tree_backed -> struct 2.6350 us/op 1.9420 us/op 1.36
Simple object struct -> binary 1.3490 us/op 1.0490 us/op 1.29
Simple object tree_backed -> binary 2.2150 us/op 1.6550 us/op 1.34
aggregationBits binary -> struct 969.00 ns/op 560.00 ns/op 1.73
aggregationBits binary -> tree_backed 2.8930 us/op 2.2930 us/op 1.26
aggregationBits struct -> tree_backed 3.1570 us/op 2.6710 us/op 1.18
aggregationBits tree_backed -> struct 1.2720 us/op 1.0470 us/op 1.21
aggregationBits struct -> binary 836.00 ns/op 741.00 ns/op 1.13
aggregationBits tree_backed -> binary 1.0810 us/op 914.00 ns/op 1.18
List(uint8) 100000 binary -> struct 1.7123 ms/op 1.3779 ms/op 1.24
List(uint8) 100000 binary -> tree_backed 274.11 us/op 256.83 us/op 1.07
List(uint8) 100000 struct -> tree_backed 1.3814 ms/op 1.3839 ms/op 1.00
List(uint8) 100000 tree_backed -> struct 1.2077 ms/op 1.0863 ms/op 1.11
List(uint8) 100000 struct -> binary 1.1941 ms/op 1.1218 ms/op 1.06
List(uint8) 100000 tree_backed -> binary 103.11 us/op 105.70 us/op 0.98
List(uint64Number) 100000 binary -> struct 1.2516 ms/op 1.3448 ms/op 0.93
List(uint64Number) 100000 binary -> tree_backed 4.1401 ms/op 5.8729 ms/op 0.70
List(uint64Number) 100000 struct -> tree_backed 6.0782 ms/op 7.2042 ms/op 0.84
List(uint64Number) 100000 tree_backed -> struct 2.4221 ms/op 2.2653 ms/op 1.07
List(uint64Number) 100000 struct -> binary 1.5743 ms/op 1.4722 ms/op 1.07
List(uint64Number) 100000 tree_backed -> binary 1.0619 ms/op 932.94 us/op 1.14
List(Uint64Bigint) 100000 binary -> struct 3.6691 ms/op 3.4927 ms/op 1.05
List(Uint64Bigint) 100000 binary -> tree_backed 4.8641 ms/op 5.8235 ms/op 0.84
List(Uint64Bigint) 100000 struct -> tree_backed 7.4843 ms/op 7.7612 ms/op 0.96
List(Uint64Bigint) 100000 tree_backed -> struct 4.8823 ms/op 4.6106 ms/op 1.06
List(Uint64Bigint) 100000 struct -> binary 2.1517 ms/op 2.0197 ms/op 1.07
List(Uint64Bigint) 100000 tree_backed -> binary 1.1032 ms/op 1.0360 ms/op 1.06
Vector(Root) 100000 binary -> struct 35.148 ms/op 41.299 ms/op 0.85
Vector(Root) 100000 binary -> tree_backed 37.721 ms/op 47.512 ms/op 0.79
Vector(Root) 100000 struct -> tree_backed 46.394 ms/op 51.427 ms/op 0.90
Vector(Root) 100000 tree_backed -> struct 47.316 ms/op 53.558 ms/op 0.88
Vector(Root) 100000 struct -> binary 2.6511 ms/op 2.6961 ms/op 0.98
Vector(Root) 100000 tree_backed -> binary 6.2047 ms/op 7.2609 ms/op 0.85
List(Validator) 100000 binary -> struct 103.39 ms/op 136.12 ms/op 0.76
List(Validator) 100000 binary -> tree_backed 335.41 ms/op 425.62 ms/op 0.79
List(Validator) 100000 struct -> tree_backed 355.07 ms/op 450.92 ms/op 0.79
List(Validator) 100000 tree_backed -> struct 194.39 ms/op 211.98 ms/op 0.92
List(Validator) 100000 struct -> binary 28.755 ms/op 30.363 ms/op 0.95
List(Validator) 100000 tree_backed -> binary 95.821 ms/op 100.07 ms/op 0.96
List(Validator-NS) 100000 binary -> struct 108.70 ms/op 147.59 ms/op 0.74
List(Validator-NS) 100000 binary -> tree_backed 143.08 ms/op 200.66 ms/op 0.71
List(Validator-NS) 100000 struct -> tree_backed 203.35 ms/op 234.93 ms/op 0.87
List(Validator-NS) 100000 tree_backed -> struct 164.23 ms/op 182.55 ms/op 0.90
List(Validator-NS) 100000 struct -> binary 29.130 ms/op 29.408 ms/op 0.99
List(Validator-NS) 100000 tree_backed -> binary 35.293 ms/op 34.470 ms/op 1.02
get epochStatuses - MutableVector 100.12 us/op 90.560 us/op 1.11
get epochStatuses - ViewDU 205.50 us/op 176.41 us/op 1.16
set epochStatuses - ListTreeView 2.0199 ms/op 2.1192 ms/op 0.95
set epochStatuses - ListTreeView - set() 437.47 us/op 600.25 us/op 0.73
set epochStatuses - ListTreeView - commit() 757.61 us/op 737.69 us/op 1.03
bitstring 513.48 ns/op 516.25 ns/op 0.99
bit mask 13.727 ns/op 13.696 ns/op 1.00
struct - increase slot to 1000000 932.41 us/op 936.93 us/op 1.00
UintNumberType - increase slot to 1000000 26.766 ms/op 26.797 ms/op 1.00
UintBigintType - increase slot to 1000000 163.30 ms/op 170.00 ms/op 0.96
UintBigint8 x 100000 tree_deserialize 4.7547 ms/op 6.0449 ms/op 0.79
UintBigint8 x 100000 tree_serialize 1.0964 ms/op 621.58 us/op 1.76
UintBigint16 x 100000 tree_deserialize 5.1488 ms/op 6.1507 ms/op 0.84
UintBigint16 x 100000 tree_serialize 1.2640 ms/op 1.3845 ms/op 0.91
UintBigint32 x 100000 tree_deserialize 5.3477 ms/op 6.2660 ms/op 0.85
UintBigint32 x 100000 tree_serialize 1.7714 ms/op 1.7748 ms/op 1.00
UintBigint64 x 100000 tree_deserialize 6.1048 ms/op 7.2982 ms/op 0.84
UintBigint64 x 100000 tree_serialize 2.4423 ms/op 1.9973 ms/op 1.22
UintBigint8 x 100000 value_deserialize 435.18 us/op 435.89 us/op 1.00
UintBigint8 x 100000 value_serialize 739.89 us/op 793.84 us/op 0.93
UintBigint16 x 100000 value_deserialize 466.49 us/op 473.52 us/op 0.99
UintBigint16 x 100000 value_serialize 777.87 us/op 990.50 us/op 0.79
UintBigint32 x 100000 value_deserialize 497.64 us/op 499.28 us/op 1.00
UintBigint32 x 100000 value_serialize 822.95 us/op 1.0057 ms/op 0.82
UintBigint64 x 100000 value_deserialize 563.66 us/op 562.37 us/op 1.00
UintBigint64 x 100000 value_serialize 1.0159 ms/op 1.1979 ms/op 0.85
UintBigint8 x 100000 deserialize 3.2021 ms/op 3.7272 ms/op 0.86
UintBigint8 x 100000 serialize 1.5526 ms/op 1.6159 ms/op 0.96
UintBigint16 x 100000 deserialize 3.1200 ms/op 3.8259 ms/op 0.82
UintBigint16 x 100000 serialize 1.5657 ms/op 1.6560 ms/op 0.95
UintBigint32 x 100000 deserialize 3.1485 ms/op 3.6586 ms/op 0.86
UintBigint32 x 100000 serialize 2.9117 ms/op 2.8436 ms/op 1.02
UintBigint64 x 100000 deserialize 4.2782 ms/op 4.4573 ms/op 0.96
UintBigint64 x 100000 serialize 1.6832 ms/op 1.6010 ms/op 1.05
UintBigint128 x 100000 deserialize 5.6573 ms/op 5.1677 ms/op 1.09
UintBigint128 x 100000 serialize 16.230 ms/op 14.722 ms/op 1.10
UintBigint256 x 100000 deserialize 9.3888 ms/op 8.2073 ms/op 1.14
UintBigint256 x 100000 serialize 46.983 ms/op 43.597 ms/op 1.08
Slice from Uint8Array x25000 1.2573 ms/op 1.2243 ms/op 1.03
Slice from ArrayBuffer x25000 15.661 ms/op 15.745 ms/op 0.99
Slice from ArrayBuffer x25000 + new Uint8Array 16.916 ms/op 16.770 ms/op 1.01
Copy Uint8Array 100000 iterate 2.6218 ms/op 2.6402 ms/op 0.99
Copy Uint8Array 100000 slice 80.934 us/op 81.572 us/op 0.99
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 80.550 us/op 81.066 us/op 0.99
Copy Buffer 100000 Uint8Array.prototype.slice.call 91.111 us/op 84.348 us/op 1.08
Copy Uint8Array 100000 slice + set 175.35 us/op 166.03 us/op 1.06
Copy Uint8Array 100000 subarray + set 87.889 us/op 80.875 us/op 1.09
Copy Uint8Array 100000 slice arrayBuffer 91.937 us/op 80.575 us/op 1.14
Uint64 deserialize 100000 - iterate Uint8Array 1.9672 ms/op 1.8646 ms/op 1.06
Uint64 deserialize 100000 - by Uint32A 1.9411 ms/op 1.9865 ms/op 0.98
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.0299 ms/op 1.8521 ms/op 1.10
Uint64 deserialize 100000 - by DataView.getBigUint64 5.1003 ms/op 4.8557 ms/op 1.05
Uint64 deserialize 100000 - by byte 41.444 ms/op 40.845 ms/op 1.01

by benchmarkbot/action

@matthewkeil matthewkeil merged commit af1e3ce into master Jan 15, 2025
10 checks passed
@matthewkeil matthewkeil deleted the mkeil/remove-release-as-versions branch January 15, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants