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: allow cd to trigger workflow #301

Merged
merged 1 commit into from Jan 23, 2023
Merged

chore: allow cd to trigger workflow #301

merged 1 commit into from Jan 23, 2023

Conversation

mpetrunic
Copy link
Member

Motivation

Description

Closes #issue_number

Steps to test or reproduce

@mpetrunic mpetrunic requested a review from a team as a code owner January 23, 2023 14:19
@github-actions github-actions bot added the CI label Jan 23, 2023
@mpetrunic mpetrunic merged commit 8b12103 into master Jan 23, 2023
@mpetrunic mpetrunic deleted the mpetrunic-patch-1 branch January 23, 2023 14:21
@github-actions
Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 65ae5c4 Previous: 36ca37a Ratio
digestTwoHashObjects 50023 times 57.546 ms/op 68.849 ms/op 0.84
digest64 50023 times 59.676 ms/op 70.568 ms/op 0.85
digest 50023 times 59.732 ms/op 70.787 ms/op 0.84
input length 32 1.5470 us/op 1.7210 us/op 0.90
input length 64 1.6230 us/op 1.8860 us/op 0.86
input length 128 2.8810 us/op 3.2480 us/op 0.89
input length 256 4.2340 us/op 4.8610 us/op 0.87
input length 512 6.9300 us/op 8.1270 us/op 0.85
input length 1024 13.481 us/op 15.742 us/op 0.86
digest 1000000 times 1.0477 s/op 1.1467 s/op 0.91
hashObjectToByteArray 50023 times 2.3866 ms/op 1.9858 ms/op 1.20
byteArrayToHashObject 50023 times 2.6668 ms/op 2.2881 ms/op 1.17
getGindicesAtDepth 5.9560 us/op 5.2550 us/op 1.13
iterateAtDepth 12.174 us/op 10.886 us/op 1.12
getGindexBits 559.00 ns/op 642.00 ns/op 0.87
gindexIterator 1.3110 us/op 1.3180 us/op 0.99
hash 2 Uint8Array 2250026 times 2.8214 s/op 3.2602 s/op 0.87
hashTwoObjects 2250026 times 2.6167 s/op 3.1147 s/op 0.84
getNodeH() x7812.5 avg hindex 20.790 us/op 21.182 us/op 0.98
getNodeH() x7812.5 index 0 8.1640 us/op 6.7330 us/op 1.21
getNodeH() x7812.5 index 7 8.1110 us/op 6.7750 us/op 1.20
getNodeH() x7812.5 index 7 with key array 8.2090 us/op 6.6780 us/op 1.23
new LeafNode() x7812.5 128.14 us/op 307.24 us/op 0.42
multiproof - depth 15, 1 requested leaves 10.557 us/op 13.541 us/op 0.78
tree offset multiproof - depth 15, 1 requested leaves 24.929 us/op 30.983 us/op 0.80
compact multiproof - depth 15, 1 requested leaves 3.8190 us/op 6.8220 us/op 0.56
multiproof - depth 15, 2 requested leaves 16.420 us/op 17.413 us/op 0.94
tree offset multiproof - depth 15, 2 requested leaves 30.624 us/op 32.468 us/op 0.94
compact multiproof - depth 15, 2 requested leaves 3.7750 us/op 3.3980 us/op 1.11
multiproof - depth 15, 3 requested leaves 23.750 us/op 24.312 us/op 0.98
tree offset multiproof - depth 15, 3 requested leaves 52.210 us/op 43.414 us/op 1.20
compact multiproof - depth 15, 3 requested leaves 7.1900 us/op 6.5880 us/op 1.09
multiproof - depth 15, 4 requested leaves 35.366 us/op 31.774 us/op 1.11
tree offset multiproof - depth 15, 4 requested leaves 55.480 us/op 52.893 us/op 1.05
compact multiproof - depth 15, 4 requested leaves 7.4430 us/op 7.2180 us/op 1.03
packedRootsBytesToLeafNodes bytes 4000 offset 0 3.5830 us/op 2.8480 us/op 1.26
packedRootsBytesToLeafNodes bytes 4000 offset 1 3.4970 us/op 2.7610 us/op 1.27
packedRootsBytesToLeafNodes bytes 4000 offset 2 3.4850 us/op 2.7970 us/op 1.25
packedRootsBytesToLeafNodes bytes 4000 offset 3 3.4420 us/op 2.7420 us/op 1.26
subtreeFillToContents depth 40 count 250000 76.883 ms/op 63.790 ms/op 1.21
setRoot - gindexBitstring 15.380 ms/op 13.843 ms/op 1.11
setRoot - gindex 15.918 ms/op 15.064 ms/op 1.06
getRoot - gindexBitstring 3.2130 ms/op 2.8833 ms/op 1.11
getRoot - gindex 4.0765 ms/op 4.1561 ms/op 0.98
getHashObject then setHashObject 17.931 ms/op 16.611 ms/op 1.08
setNodeWithFn 15.604 ms/op 15.112 ms/op 1.03
getNodeAtDepth depth 0 x100000 2.1992 ms/op 1.6107 ms/op 1.37
setNodeAtDepth depth 0 x100000 4.5681 ms/op 3.8701 ms/op 1.18
getNodesAtDepth depth 0 x100000 1.8036 ms/op 1.4224 ms/op 1.27
setNodesAtDepth depth 0 x100000 2.5432 ms/op 1.9756 ms/op 1.29
getNodeAtDepth depth 1 x100000 2.3212 ms/op 1.7337 ms/op 1.34
setNodeAtDepth depth 1 x100000 10.539 ms/op 8.6606 ms/op 1.22
getNodesAtDepth depth 1 x100000 2.0406 ms/op 1.6087 ms/op 1.27
setNodesAtDepth depth 1 x100000 8.0448 ms/op 7.0662 ms/op 1.14
getNodeAtDepth depth 2 x100000 2.8372 ms/op 2.1865 ms/op 1.30
setNodeAtDepth depth 2 x100000 17.139 ms/op 14.007 ms/op 1.22
getNodesAtDepth depth 2 x100000 28.823 ms/op 27.282 ms/op 1.06
setNodesAtDepth depth 2 x100000 23.224 ms/op 21.959 ms/op 1.06
tree.getNodesAtDepth - gindexes 9.5331 ms/op 7.1480 ms/op 1.33
tree.getNodesAtDepth - push all nodes 3.2910 ms/op 2.9943 ms/op 1.10
tree.getNodesAtDepth - navigation 168.04 us/op 202.75 us/op 0.83
tree.setNodesAtDepth - indexes 657.29 us/op 539.01 us/op 1.22
set at depth 8 927.00 ns/op 862.00 ns/op 1.08
set at depth 16 914.00 ns/op 1.1700 us/op 0.78
set at depth 32 1.6630 us/op 1.7230 us/op 0.97
iterateNodesAtDepth 8 256 23.417 us/op 18.625 us/op 1.26
getNodesAtDepth 8 256 6.0910 us/op 4.6770 us/op 1.30
iterateNodesAtDepth 16 65536 6.7613 ms/op 5.5208 ms/op 1.22
getNodesAtDepth 16 65536 3.1455 ms/op 2.8037 ms/op 1.12
iterateNodesAtDepth 32 250000 25.488 ms/op 20.861 ms/op 1.22
getNodesAtDepth 32 250000 8.1329 ms/op 6.3096 ms/op 1.29
iterateNodesAtDepth 40 250000 25.488 ms/op 20.540 ms/op 1.24
getNodesAtDepth 40 250000 7.7809 ms/op 5.9328 ms/op 1.31
250k validators 3.0838 s/op 3.3547 s/op 0.92
bitlist bytes to struct (120,90) 1.7300 us/op 1.2450 us/op 1.39
bitlist bytes to tree (120,90) 6.4190 us/op 4.8930 us/op 1.31
bitlist bytes to struct (2048,2048) 2.5930 us/op 1.9310 us/op 1.34
bitlist bytes to tree (2048,2048) 10.405 us/op 6.6650 us/op 1.56
ByteListType - deserialize 19.686 ms/op 15.779 ms/op 1.25
BasicListType - deserialize 41.400 ms/op 14.473 ms/op 2.86
ByteListType - serialize 19.511 ms/op 15.930 ms/op 1.22
BasicListType - serialize 25.042 ms/op 17.547 ms/op 1.43
BasicListType - tree_convertToStruct 73.544 ms/op 38.821 ms/op 1.89
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 6.3645 ms/op 4.5291 ms/op 1.41
List[uint8, 68719476736] len 300000 ViewDU.get(i) 6.3129 ms/op 4.5365 ms/op 1.39
Array.push len 300000 empty Array - number 7.7130 ms/op 7.2412 ms/op 1.07
Array.set len 300000 from new Array - number 3.2465 ms/op 2.1781 ms/op 1.49
Array.set len 300000 - number 8.6757 ms/op 7.4041 ms/op 1.17
Uint8Array.set len 300000 250.01 us/op 230.64 us/op 1.08
Uint32Array.set len 300000 370.82 us/op 297.46 us/op 1.25
Container({a: uint8, b: uint8}) getViewDU x300000 31.570 ms/op 29.229 ms/op 1.08
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 12.177 ms/op 12.313 ms/op 0.99
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 378.01 ms/op 317.99 ms/op 1.19
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 450.99 ms/op 458.87 ms/op 0.98
List(Container) len 300000 ViewDU.get(i) 10.115 ms/op 8.4856 ms/op 1.19
List(Container) len 300000 ViewDU.getReadonly(i) 10.457 ms/op 8.4110 ms/op 1.24
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 56.633 ms/op 41.145 ms/op 1.38
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 8.7659 ms/op 7.3686 ms/op 1.19
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 9.3012 ms/op 8.4305 ms/op 1.10
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 9.2121 ms/op 8.2537 ms/op 1.12
Array.push len 300000 empty Array - object 8.6989 ms/op 7.6619 ms/op 1.14
Array.set len 300000 from new Array - object 3.0687 ms/op 2.7658 ms/op 1.11
Array.set len 300000 - object 8.5596 ms/op 7.9564 ms/op 1.08
cachePermanentRootStruct no cache 12.738 us/op 13.532 us/op 0.94
cachePermanentRootStruct with cache 296.00 ns/op 334.00 ns/op 0.89
epochParticipation len 250000 rws 7813 3.1896 ms/op 3.0527 ms/op 1.04
deserialize Attestation - tree 3.8680 us/op 4.3080 us/op 0.90
deserialize Attestation - struct 2.6740 us/op 2.9670 us/op 0.90
deserialize SignedAggregateAndProof - tree 4.8400 us/op 5.4850 us/op 0.88
deserialize SignedAggregateAndProof - struct 4.4310 us/op 4.6820 us/op 0.95
deserialize SyncCommitteeMessage - tree 1.3720 us/op 1.5780 us/op 0.87
deserialize SyncCommitteeMessage - struct 1.6360 us/op 1.8380 us/op 0.89
deserialize SignedContributionAndProof - tree 2.5350 us/op 2.8100 us/op 0.90
deserialize SignedContributionAndProof - struct 3.7080 us/op 3.8220 us/op 0.97
deserialize SignedBeaconBlock - tree 285.50 us/op 315.88 us/op 0.90
deserialize SignedBeaconBlock - struct 191.84 us/op 208.77 us/op 0.92
BeaconState vc 300000 - deserialize tree 1.0435 s/op 881.80 ms/op 1.18
BeaconState vc 300000 - serialize tree 305.02 ms/op 220.11 ms/op 1.39
BeaconState.historicalRoots vc 300000 - deserialize tree 1.1110 us/op 1.1650 us/op 0.95
BeaconState.historicalRoots vc 300000 - serialize tree 1.1470 us/op 1.2650 us/op 0.91
BeaconState.validators vc 300000 - deserialize tree 966.48 ms/op 817.85 ms/op 1.18
BeaconState.validators vc 300000 - serialize tree 249.29 ms/op 175.34 ms/op 1.42
BeaconState.balances vc 300000 - deserialize tree 36.046 ms/op 32.035 ms/op 1.13
BeaconState.balances vc 300000 - serialize tree 5.1665 ms/op 4.1278 ms/op 1.25
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 623.43 us/op 543.29 us/op 1.15
BeaconState.previousEpochParticipation vc 300000 - serialize tree 456.01 us/op 350.03 us/op 1.30
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 671.91 us/op 568.07 us/op 1.18
BeaconState.currentEpochParticipation vc 300000 - serialize tree 456.15 us/op 345.02 us/op 1.32
BeaconState.inactivityScores vc 300000 - deserialize tree 35.897 ms/op 37.544 ms/op 0.96
BeaconState.inactivityScores vc 300000 - serialize tree 5.1073 ms/op 3.3955 ms/op 1.50
hashTreeRoot Attestation - struct 32.842 us/op 41.405 us/op 0.79
hashTreeRoot Attestation - tree 23.955 us/op 30.010 us/op 0.80
hashTreeRoot SignedAggregateAndProof - struct 49.412 us/op 64.750 us/op 0.76
hashTreeRoot SignedAggregateAndProof - tree 36.647 us/op 43.345 us/op 0.85
hashTreeRoot SyncCommitteeMessage - struct 11.903 us/op 13.891 us/op 0.86
hashTreeRoot SyncCommitteeMessage - tree 8.1620 us/op 9.6280 us/op 0.85
hashTreeRoot SignedContributionAndProof - struct 33.308 us/op 38.742 us/op 0.86
hashTreeRoot SignedContributionAndProof - tree 25.995 us/op 30.029 us/op 0.87
hashTreeRoot SignedBeaconBlock - struct 2.9665 ms/op 3.3663 ms/op 0.88
hashTreeRoot SignedBeaconBlock - tree 2.2033 ms/op 2.5695 ms/op 0.86
hashTreeRoot Validator - struct 16.035 us/op 18.738 us/op 0.86
hashTreeRoot Validator - tree 14.115 us/op 16.491 us/op 0.86
BeaconState vc 300000 - hashTreeRoot tree 4.7700 s/op 5.3504 s/op 0.89
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.8620 us/op 2.1820 us/op 0.85
BeaconState.validators vc 300000 - hashTreeRoot tree 4.5177 s/op 5.1163 s/op 0.88
BeaconState.balances vc 300000 - hashTreeRoot tree 109.67 ms/op 133.42 ms/op 0.82
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 11.913 ms/op 13.873 ms/op 0.86
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 11.913 ms/op 13.880 ms/op 0.86
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 117.95 ms/op 134.71 ms/op 0.88
hash64 x18 24.503 us/op 28.100 us/op 0.87
hashTwoObjects x18 23.975 us/op 27.876 us/op 0.86
hash64 x1740 2.3178 ms/op 2.6384 ms/op 0.88
hashTwoObjects x1740 2.2827 ms/op 2.6138 ms/op 0.87
hash64 x2700000 3.5955 s/op 4.0781 s/op 0.88
hashTwoObjects x2700000 3.5331 s/op 4.0488 s/op 0.87
get_exitEpoch - ContainerType 506.00 ns/op 532.00 ns/op 0.95
get_exitEpoch - ContainerNodeStructType 436.00 ns/op 467.00 ns/op 0.93
set_exitEpoch - ContainerType 469.00 ns/op 503.00 ns/op 0.93
set_exitEpoch - ContainerNodeStructType 442.00 ns/op 456.00 ns/op 0.97
get_pubkey - ContainerType 1.9090 us/op 1.9350 us/op 0.99
get_pubkey - ContainerNodeStructType 323.00 ns/op 355.00 ns/op 0.91
hashTreeRoot - ContainerType 480.00 ns/op 571.00 ns/op 0.84
hashTreeRoot - ContainerNodeStructType 537.00 ns/op 622.00 ns/op 0.86
createProof - ContainerType 6.7290 us/op 6.8330 us/op 0.98
createProof - ContainerNodeStructType 35.666 us/op 34.246 us/op 1.04
serialize - ContainerType 2.9250 us/op 2.9460 us/op 0.99
serialize - ContainerNodeStructType 2.2560 us/op 2.4040 us/op 0.94
set_exitEpoch_and_hashTreeRoot - ContainerType 5.5430 us/op 6.3290 us/op 0.88
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 15.633 us/op 17.413 us/op 0.90
Array - for of 15.326 us/op 7.4010 us/op 2.07
Array - for(;;) 13.275 us/op 7.2680 us/op 1.83
basicListValue.readonlyValuesArray() 5.1393 ms/op 4.2496 ms/op 1.21
basicListValue.readonlyValuesArray() + loop all 5.2618 ms/op 4.3875 ms/op 1.20
compositeListValue.readonlyValuesArray() 37.747 ms/op 32.530 ms/op 1.16
compositeListValue.readonlyValuesArray() + loop all 35.195 ms/op 28.064 ms/op 1.25
Number64UintType - get balances list 6.2874 ms/op 5.7362 ms/op 1.10
Number64UintType - set balances list 14.875 ms/op 14.121 ms/op 1.05
Number64UintType - get and increase 10 then set 57.291 ms/op 54.563 ms/op 1.05
Number64UintType - increase 10 using applyDelta 24.285 ms/op 21.277 ms/op 1.14
Number64UintType - increase 10 using applyDeltaInBatch 24.145 ms/op 20.975 ms/op 1.15
tree_newTreeFromUint64Deltas 26.484 ms/op 22.088 ms/op 1.20
unsafeUint8ArrayToTree 45.478 ms/op 39.555 ms/op 1.15
bitLength(50) 348.00 ns/op 326.00 ns/op 1.07
bitLengthStr(50) 391.00 ns/op 362.00 ns/op 1.08
bitLength(8000) 332.00 ns/op 324.00 ns/op 1.02
bitLengthStr(8000) 513.00 ns/op 410.00 ns/op 1.25
bitLength(250000) 337.00 ns/op 329.00 ns/op 1.02
bitLengthStr(250000) 618.00 ns/op 466.00 ns/op 1.33
floor - Math.floor (53) 0.66973 ns/op 0.60256 ns/op 1.11
floor - << 0 (53) 0.66959 ns/op 0.60252 ns/op 1.11
floor - Math.floor (512) 0.66950 ns/op 0.60247 ns/op 1.11
floor - << 0 (512) 0.66973 ns/op 0.60262 ns/op 1.11
fnIf(0) 2.6770 ns/op 2.0076 ns/op 1.33
fnSwitch(0) 5.0186 ns/op 3.3334 ns/op 1.51
fnObj(0) 0.66965 ns/op 0.60262 ns/op 1.11
fnArr(0) 0.66952 ns/op 0.60282 ns/op 1.11
fnIf(4) 4.3512 ns/op 3.2007 ns/op 1.36
fnSwitch(4) 5.0195 ns/op 3.3526 ns/op 1.50
fnObj(4) 0.66978 ns/op 0.60251 ns/op 1.11
fnArr(4) 0.66965 ns/op 0.60267 ns/op 1.11
fnIf(9) 6.6924 ns/op 5.2199 ns/op 1.28
fnSwitch(9) 5.0190 ns/op 3.3609 ns/op 1.49
fnObj(9) 0.66978 ns/op 0.60273 ns/op 1.11
fnArr(9) 0.66953 ns/op 0.60268 ns/op 1.11
Container {a,b,vec} - as struct x100000 67.308 us/op 60.514 us/op 1.11
Container {a,b,vec} - as tree x100000 836.90 us/op 492.23 us/op 1.70
Container {a,vec,b} - as struct x100000 100.75 us/op 120.73 us/op 0.83
Container {a,vec,b} - as tree x100000 903.92 us/op 553.42 us/op 1.63
get 2 props x1000000 - rawObject 335.00 us/op 401.92 us/op 0.83
get 2 props x1000000 - proxy 135.09 ms/op 93.816 ms/op 1.44
get 2 props x1000000 - customObj 335.25 us/op 402.05 us/op 0.83
Simple object binary -> struct 976.00 ns/op 1.2360 us/op 0.79
Simple object binary -> tree_backed 2.6750 us/op 3.1360 us/op 0.85
Simple object struct -> tree_backed 3.5170 us/op 4.1230 us/op 0.85
Simple object tree_backed -> struct 2.8800 us/op 3.5720 us/op 0.81
Simple object struct -> binary 1.4770 us/op 1.8130 us/op 0.81
Simple object tree_backed -> binary 2.4450 us/op 3.1110 us/op 0.79
aggregationBits binary -> struct 857.00 ns/op 1.1250 us/op 0.76
aggregationBits binary -> tree_backed 3.5530 us/op 4.5180 us/op 0.79
aggregationBits struct -> tree_backed 4.3640 us/op 4.6000 us/op 0.95
aggregationBits tree_backed -> struct 1.7800 us/op 1.9580 us/op 0.91
aggregationBits struct -> binary 1.2710 us/op 1.3540 us/op 0.94
aggregationBits tree_backed -> binary 1.5790 us/op 1.7600 us/op 0.90
List(uint8) 100000 binary -> struct 1.8188 ms/op 1.6089 ms/op 1.13
List(uint8) 100000 binary -> tree_backed 152.59 us/op 122.93 us/op 1.24
List(uint8) 100000 struct -> tree_backed 2.0160 ms/op 1.6325 ms/op 1.23
List(uint8) 100000 tree_backed -> struct 1.4447 ms/op 1.1464 ms/op 1.26
List(uint8) 100000 struct -> binary 1.8638 ms/op 1.5008 ms/op 1.24
List(uint8) 100000 tree_backed -> binary 142.40 us/op 92.533 us/op 1.54
List(uint64Number) 100000 binary -> struct 1.6539 ms/op 1.4768 ms/op 1.12
List(uint64Number) 100000 binary -> tree_backed 5.3219 ms/op 4.3987 ms/op 1.21
List(uint64Number) 100000 struct -> tree_backed 7.4545 ms/op 5.5063 ms/op 1.35
List(uint64Number) 100000 tree_backed -> struct 2.9925 ms/op 2.6526 ms/op 1.13
List(uint64Number) 100000 struct -> binary 2.1493 ms/op 1.8761 ms/op 1.15
List(uint64Number) 100000 tree_backed -> binary 1.4368 ms/op 1.2184 ms/op 1.18
List(Uint64Bigint) 100000 binary -> struct 5.2670 ms/op 4.3340 ms/op 1.22
List(Uint64Bigint) 100000 binary -> tree_backed 5.6882 ms/op 4.7016 ms/op 1.21
List(Uint64Bigint) 100000 struct -> tree_backed 8.5075 ms/op 7.4943 ms/op 1.14
List(Uint64Bigint) 100000 tree_backed -> struct 6.7106 ms/op 5.3376 ms/op 1.26
List(Uint64Bigint) 100000 struct -> binary 2.9660 ms/op 2.5940 ms/op 1.14
List(Uint64Bigint) 100000 tree_backed -> binary 1.5306 ms/op 1.1329 ms/op 1.35
Vector(Root) 100000 binary -> struct 50.558 ms/op 44.645 ms/op 1.13
Vector(Root) 100000 binary -> tree_backed 54.477 ms/op 45.423 ms/op 1.20
Vector(Root) 100000 struct -> tree_backed 61.384 ms/op 51.106 ms/op 1.20
Vector(Root) 100000 tree_backed -> struct 68.096 ms/op 53.647 ms/op 1.27
Vector(Root) 100000 struct -> binary 3.1615 ms/op 2.4735 ms/op 1.28
Vector(Root) 100000 tree_backed -> binary 13.088 ms/op 10.745 ms/op 1.22
List(Validator) 100000 binary -> struct 184.06 ms/op 154.56 ms/op 1.19
List(Validator) 100000 binary -> tree_backed 468.28 ms/op 409.63 ms/op 1.14
List(Validator) 100000 struct -> tree_backed 509.37 ms/op 461.29 ms/op 1.10
List(Validator) 100000 tree_backed -> struct 292.10 ms/op 247.95 ms/op 1.18
List(Validator) 100000 struct -> binary 46.326 ms/op 39.824 ms/op 1.16
List(Validator) 100000 tree_backed -> binary 131.69 ms/op 106.43 ms/op 1.24
List(Validator-NS) 100000 binary -> struct 195.46 ms/op 164.86 ms/op 1.19
List(Validator-NS) 100000 binary -> tree_backed 269.23 ms/op 223.65 ms/op 1.20
List(Validator-NS) 100000 struct -> tree_backed 329.31 ms/op 275.01 ms/op 1.20
List(Validator-NS) 100000 tree_backed -> struct 271.92 ms/op 233.69 ms/op 1.16
List(Validator-NS) 100000 struct -> binary 47.551 ms/op 40.367 ms/op 1.18
List(Validator-NS) 100000 tree_backed -> binary 55.983 ms/op 48.911 ms/op 1.14
get epochStatuses - MutableVector 121.36 us/op 99.638 us/op 1.22
get epochStatuses - ViewDU 282.46 us/op 289.47 us/op 0.98
set epochStatuses - ListTreeView 2.1273 ms/op 1.8748 ms/op 1.13
set epochStatuses - ListTreeView - set() 615.29 us/op 611.77 us/op 1.01
set epochStatuses - ListTreeView - commit() 627.90 us/op 541.46 us/op 1.16
bitstring 745.63 ns/op 932.72 ns/op 0.80
bit mask 12.764 ns/op 14.486 ns/op 0.88
struct - increase slot to 1000000 2.1852 ms/op 1.8738 ms/op 1.17
UintNumberType - increase slot to 1000000 47.875 ms/op 36.615 ms/op 1.31
UintBigintType - increase slot to 1000000 615.91 ms/op 544.85 ms/op 1.13
UintBigint8 x 100000 tree_deserialize 6.1089 ms/op 5.3622 ms/op 1.14
UintBigint8 x 100000 tree_serialize 2.0413 ms/op 1.4416 ms/op 1.42
UintBigint16 x 100000 tree_deserialize 5.7361 ms/op 4.9724 ms/op 1.15
UintBigint16 x 100000 tree_serialize 2.1312 ms/op 1.5030 ms/op 1.42
UintBigint32 x 100000 tree_deserialize 7.2625 ms/op 6.5877 ms/op 1.10
UintBigint32 x 100000 tree_serialize 1.8948 ms/op 1.5238 ms/op 1.24
UintBigint64 x 100000 tree_deserialize 7.9311 ms/op 6.7330 ms/op 1.18
UintBigint64 x 100000 tree_serialize 2.5517 ms/op 1.9935 ms/op 1.28
UintBigint8 x 100000 value_deserialize 870.26 us/op 540.46 us/op 1.61
UintBigint8 x 100000 value_serialize 1.1535 ms/op 842.12 us/op 1.37
UintBigint16 x 100000 value_deserialize 934.06 us/op 587.50 us/op 1.59
UintBigint16 x 100000 value_serialize 1.2582 ms/op 912.23 us/op 1.38
UintBigint32 x 100000 value_deserialize 847.16 us/op 531.80 us/op 1.59
UintBigint32 x 100000 value_serialize 1.2756 ms/op 903.05 us/op 1.41
UintBigint64 x 100000 value_deserialize 936.42 us/op 605.05 us/op 1.55
UintBigint64 x 100000 value_serialize 1.4650 ms/op 1.1658 ms/op 1.26
UintBigint8 x 100000 deserialize 6.9045 ms/op 6.1174 ms/op 1.13
UintBigint8 x 100000 serialize 2.5781 ms/op 1.9172 ms/op 1.34
UintBigint16 x 100000 deserialize 6.6701 ms/op 5.7036 ms/op 1.17
UintBigint16 x 100000 serialize 2.7053 ms/op 1.9825 ms/op 1.36
UintBigint32 x 100000 deserialize 8.0766 ms/op 6.9458 ms/op 1.16
UintBigint32 x 100000 serialize 4.4213 ms/op 3.6634 ms/op 1.21
UintBigint64 x 100000 deserialize 5.7345 ms/op 4.3859 ms/op 1.31
UintBigint64 x 100000 serialize 2.4303 ms/op 1.9684 ms/op 1.23
UintBigint128 x 100000 deserialize 8.0381 ms/op 6.9590 ms/op 1.16
UintBigint128 x 100000 serialize 26.439 ms/op 21.391 ms/op 1.24
UintBigint256 x 100000 deserialize 14.924 ms/op 13.770 ms/op 1.08
UintBigint256 x 100000 serialize 81.109 ms/op 64.061 ms/op 1.27
Slice from Uint8Array x25000 1.5082 ms/op 1.2803 ms/op 1.18
Slice from ArrayBuffer x25000 28.014 ms/op 25.820 ms/op 1.08
Slice from ArrayBuffer x25000 + new Uint8Array 30.318 ms/op 26.301 ms/op 1.15
Copy Uint8Array 100000 iterate 1.4673 ms/op 1.0344 ms/op 1.42
Copy Uint8Array 100000 slice 118.33 us/op 83.872 us/op 1.41
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 117.09 us/op 84.040 us/op 1.39
Copy Buffer 100000 Uint8Array.prototype.slice.call 123.24 us/op 84.602 us/op 1.46
Copy Uint8Array 100000 slice + set 294.27 us/op 178.27 us/op 1.65
Copy Uint8Array 100000 subarray + set 125.21 us/op 82.033 us/op 1.53
Copy Uint8Array 100000 slice arrayBuffer 114.15 us/op 84.293 us/op 1.35
Uint64 deserialize 100000 - iterate Uint8Array 2.2086 ms/op 2.0067 ms/op 1.10
Uint64 deserialize 100000 - by Uint32A 2.0306 ms/op 1.9235 ms/op 1.06
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.0208 ms/op 1.9043 ms/op 1.06
Uint64 deserialize 100000 - by DataView.getBigUint64 6.8583 ms/op 5.7405 ms/op 1.19
Uint64 deserialize 100000 - by byte 68.994 ms/op 72.263 ms/op 0.95

by benchmarkbot/action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant