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: manual deploy to cloudflare pages #303

Merged
merged 2 commits into from Jan 24, 2023
Merged

Conversation

Faithtosin
Copy link
Collaborator

Motivation
Quick option to manually deploy to cloudflare pages

Description

Closes #issue_number

Steps to test or reproduce

@Faithtosin Faithtosin requested a review from a team as a code owner January 24, 2023 05:52
@github-actions github-actions bot added the CI label Jan 24, 2023
@Faithtosin Faithtosin changed the title Manual deploy to cloudflare pages chore: manual deploy to cloudflare pages Jan 24, 2023
@github-actions
Copy link

github-actions bot commented Jan 24, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 6e733f6 Previous: 7f79180 Ratio
digestTwoHashObjects 50023 times 58.475 ms/op 68.126 ms/op 0.86
digest64 50023 times 60.943 ms/op 65.358 ms/op 0.93
digest 50023 times 61.802 ms/op 70.424 ms/op 0.88
input length 32 1.4760 us/op 1.7370 us/op 0.85
input length 64 1.6440 us/op 2.0500 us/op 0.80
input length 128 2.7730 us/op 3.4100 us/op 0.81
input length 256 4.1410 us/op 4.8890 us/op 0.85
input length 512 6.7590 us/op 8.0300 us/op 0.84
input length 1024 13.427 us/op 15.521 us/op 0.87
digest 1000000 times 1.0427 s/op 1.1432 s/op 0.91
hashObjectToByteArray 50023 times 2.4221 ms/op 2.3451 ms/op 1.03
byteArrayToHashObject 50023 times 2.7620 ms/op 2.5900 ms/op 1.07
getGindicesAtDepth 6.0740 us/op 5.9070 us/op 1.03
iterateAtDepth 12.482 us/op 12.448 us/op 1.00
getGindexBits 590.00 ns/op 608.00 ns/op 0.97
gindexIterator 1.3050 us/op 1.2480 us/op 1.05
hash 2 Uint8Array 2250026 times 2.8324 s/op 3.2517 s/op 0.87
hashTwoObjects 2250026 times 2.6443 s/op 2.9602 s/op 0.89
getNodeH() x7812.5 avg hindex 20.783 us/op 27.122 us/op 0.77
getNodeH() x7812.5 index 0 8.4130 us/op 7.2510 us/op 1.16
getNodeH() x7812.5 index 7 8.1380 us/op 7.1600 us/op 1.14
getNodeH() x7812.5 index 7 with key array 8.1160 us/op 6.8380 us/op 1.19
new LeafNode() x7812.5 130.86 us/op 386.38 us/op 0.34
multiproof - depth 15, 1 requested leaves 11.147 us/op 15.167 us/op 0.73
tree offset multiproof - depth 15, 1 requested leaves 26.341 us/op 32.509 us/op 0.81
compact multiproof - depth 15, 1 requested leaves 3.9480 us/op 9.2730 us/op 0.43
multiproof - depth 15, 2 requested leaves 17.683 us/op 21.259 us/op 0.83
tree offset multiproof - depth 15, 2 requested leaves 32.570 us/op 38.023 us/op 0.86
compact multiproof - depth 15, 2 requested leaves 3.7970 us/op 4.1750 us/op 0.91
multiproof - depth 15, 3 requested leaves 24.942 us/op 29.916 us/op 0.83
tree offset multiproof - depth 15, 3 requested leaves 52.744 us/op 48.062 us/op 1.10
compact multiproof - depth 15, 3 requested leaves 7.3120 us/op 7.3430 us/op 1.00
multiproof - depth 15, 4 requested leaves 35.019 us/op 37.224 us/op 0.94
tree offset multiproof - depth 15, 4 requested leaves 55.580 us/op 57.804 us/op 0.96
compact multiproof - depth 15, 4 requested leaves 8.2080 us/op 8.5940 us/op 0.96
packedRootsBytesToLeafNodes bytes 4000 offset 0 3.8360 us/op 3.4640 us/op 1.11
packedRootsBytesToLeafNodes bytes 4000 offset 1 3.6820 us/op 3.7310 us/op 0.99
packedRootsBytesToLeafNodes bytes 4000 offset 2 3.7010 us/op 3.7720 us/op 0.98
packedRootsBytesToLeafNodes bytes 4000 offset 3 3.6930 us/op 3.4350 us/op 1.08
subtreeFillToContents depth 40 count 250000 86.034 ms/op 97.912 ms/op 0.88
setRoot - gindexBitstring 13.563 ms/op 16.001 ms/op 0.85
setRoot - gindex 14.123 ms/op 16.665 ms/op 0.85
getRoot - gindexBitstring 3.0734 ms/op 3.4499 ms/op 0.89
getRoot - gindex 3.9443 ms/op 4.3628 ms/op 0.90
getHashObject then setHashObject 16.485 ms/op 18.468 ms/op 0.89
setNodeWithFn 14.475 ms/op 15.600 ms/op 0.93
getNodeAtDepth depth 0 x100000 2.2748 ms/op 1.5710 ms/op 1.45
setNodeAtDepth depth 0 x100000 4.3881 ms/op 4.1821 ms/op 1.05
getNodesAtDepth depth 0 x100000 1.9042 ms/op 1.4667 ms/op 1.30
setNodesAtDepth depth 0 x100000 2.4552 ms/op 1.9507 ms/op 1.26
getNodeAtDepth depth 1 x100000 2.4464 ms/op 1.6144 ms/op 1.52
setNodeAtDepth depth 1 x100000 10.007 ms/op 8.8355 ms/op 1.13
getNodesAtDepth depth 1 x100000 2.0012 ms/op 1.7164 ms/op 1.17
setNodesAtDepth depth 1 x100000 7.5621 ms/op 6.8588 ms/op 1.10
getNodeAtDepth depth 2 x100000 2.7784 ms/op 2.2099 ms/op 1.26
setNodeAtDepth depth 2 x100000 16.175 ms/op 16.505 ms/op 0.98
getNodesAtDepth depth 2 x100000 27.740 ms/op 30.257 ms/op 0.92
setNodesAtDepth depth 2 x100000 20.857 ms/op 20.522 ms/op 1.02
tree.getNodesAtDepth - gindexes 9.6562 ms/op 6.9331 ms/op 1.39
tree.getNodesAtDepth - push all nodes 2.8031 ms/op 2.5894 ms/op 1.08
tree.getNodesAtDepth - navigation 169.16 us/op 163.56 us/op 1.03
tree.setNodesAtDepth - indexes 652.68 us/op 548.45 us/op 1.19
set at depth 8 869.00 ns/op 929.00 ns/op 0.94
set at depth 16 884.00 ns/op 1.2710 us/op 0.70
set at depth 32 1.5350 us/op 2.0950 us/op 0.73
iterateNodesAtDepth 8 256 22.859 us/op 24.586 us/op 0.93
getNodesAtDepth 8 256 5.8440 us/op 6.0090 us/op 0.97
iterateNodesAtDepth 16 65536 6.7769 ms/op 6.8786 ms/op 0.99
getNodesAtDepth 16 65536 2.5968 ms/op 2.6079 ms/op 1.00
iterateNodesAtDepth 32 250000 25.023 ms/op 28.793 ms/op 0.87
getNodesAtDepth 32 250000 7.3557 ms/op 6.9669 ms/op 1.06
iterateNodesAtDepth 40 250000 25.008 ms/op 27.504 ms/op 0.91
getNodesAtDepth 40 250000 7.3696 ms/op 7.3680 ms/op 1.00
250k validators 3.0464 s/op 3.4124 s/op 0.89
bitlist bytes to struct (120,90) 1.3150 us/op 1.4190 us/op 0.93
bitlist bytes to tree (120,90) 5.3410 us/op 5.6770 us/op 0.94
bitlist bytes to struct (2048,2048) 2.3030 us/op 2.3890 us/op 0.96
bitlist bytes to tree (2048,2048) 8.7560 us/op 8.9740 us/op 0.98
ByteListType - deserialize 19.958 ms/op 18.733 ms/op 1.07
BasicListType - deserialize 30.309 ms/op 27.657 ms/op 1.10
ByteListType - serialize 20.495 ms/op 19.724 ms/op 1.04
BasicListType - serialize 21.167 ms/op 23.139 ms/op 0.91
BasicListType - tree_convertToStruct 50.078 ms/op 46.210 ms/op 1.08
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 6.2178 ms/op 6.4253 ms/op 0.97
List[uint8, 68719476736] len 300000 ViewDU.get(i) 6.3354 ms/op 5.9280 ms/op 1.07
Array.push len 300000 empty Array - number 8.6713 ms/op 9.4182 ms/op 0.92
Array.set len 300000 from new Array - number 2.8367 ms/op 2.1815 ms/op 1.30
Array.set len 300000 - number 8.5752 ms/op 7.8747 ms/op 1.09
Uint8Array.set len 300000 271.17 us/op 251.41 us/op 1.08
Uint32Array.set len 300000 464.83 us/op 345.81 us/op 1.34
Container({a: uint8, b: uint8}) getViewDU x300000 38.913 ms/op 40.122 ms/op 0.97
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 13.717 ms/op 13.594 ms/op 1.01
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 390.53 ms/op 455.25 ms/op 0.86
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 494.81 ms/op 580.03 ms/op 0.85
List(Container) len 300000 ViewDU.get(i) 11.902 ms/op 12.868 ms/op 0.92
List(Container) len 300000 ViewDU.getReadonly(i) 11.166 ms/op 12.420 ms/op 0.90
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 59.151 ms/op 56.580 ms/op 1.05
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 9.2716 ms/op 9.5176 ms/op 0.97
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 11.305 ms/op 10.319 ms/op 1.10
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 10.842 ms/op 8.4865 ms/op 1.28
Array.push len 300000 empty Array - object 8.6182 ms/op 8.4145 ms/op 1.02
Array.set len 300000 from new Array - object 3.0493 ms/op 2.6294 ms/op 1.16
Array.set len 300000 - object 8.6662 ms/op 7.5815 ms/op 1.14
cachePermanentRootStruct no cache 12.827 us/op 13.696 us/op 0.94
cachePermanentRootStruct with cache 321.00 ns/op 325.00 ns/op 0.99
epochParticipation len 250000 rws 7813 3.2470 ms/op 4.0921 ms/op 0.79
deserialize Attestation - tree 4.4080 us/op 5.0450 us/op 0.87
deserialize Attestation - struct 3.1020 us/op 3.5210 us/op 0.88
deserialize SignedAggregateAndProof - tree 5.7200 us/op 7.0720 us/op 0.81
deserialize SignedAggregateAndProof - struct 5.0110 us/op 6.2520 us/op 0.80
deserialize SyncCommitteeMessage - tree 1.4980 us/op 1.8620 us/op 0.80
deserialize SyncCommitteeMessage - struct 1.9200 us/op 2.3240 us/op 0.83
deserialize SignedContributionAndProof - tree 2.6900 us/op 2.9060 us/op 0.93
deserialize SignedContributionAndProof - struct 4.3840 us/op 4.7250 us/op 0.93
deserialize SignedBeaconBlock - tree 338.09 us/op 386.17 us/op 0.88
deserialize SignedBeaconBlock - struct 216.98 us/op 219.97 us/op 0.99
BeaconState vc 300000 - deserialize tree 1.0076 s/op 1.1678 s/op 0.86
BeaconState vc 300000 - serialize tree 304.83 ms/op 298.52 ms/op 1.02
BeaconState.historicalRoots vc 300000 - deserialize tree 1.0830 us/op 1.3250 us/op 0.82
BeaconState.historicalRoots vc 300000 - serialize tree 1.2310 us/op 1.6840 us/op 0.73
BeaconState.validators vc 300000 - deserialize tree 962.71 ms/op 1.1109 s/op 0.87
BeaconState.validators vc 300000 - serialize tree 244.44 ms/op 251.55 ms/op 0.97
BeaconState.balances vc 300000 - deserialize tree 37.300 ms/op 47.277 ms/op 0.79
BeaconState.balances vc 300000 - serialize tree 5.8720 ms/op 5.0388 ms/op 1.17
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 759.73 us/op 880.73 us/op 0.86
BeaconState.previousEpochParticipation vc 300000 - serialize tree 468.34 us/op 433.86 us/op 1.08
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 726.12 us/op 945.34 us/op 0.77
BeaconState.currentEpochParticipation vc 300000 - serialize tree 463.29 us/op 437.35 us/op 1.06
BeaconState.inactivityScores vc 300000 - deserialize tree 38.914 ms/op 43.948 ms/op 0.89
BeaconState.inactivityScores vc 300000 - serialize tree 5.2779 ms/op 4.7489 ms/op 1.11
hashTreeRoot Attestation - struct 36.312 us/op 44.462 us/op 0.82
hashTreeRoot Attestation - tree 24.058 us/op 26.949 us/op 0.89
hashTreeRoot SignedAggregateAndProof - struct 52.186 us/op 60.584 us/op 0.86
hashTreeRoot SignedAggregateAndProof - tree 37.202 us/op 38.683 us/op 0.96
hashTreeRoot SyncCommitteeMessage - struct 12.428 us/op 15.522 us/op 0.80
hashTreeRoot SyncCommitteeMessage - tree 8.1880 us/op 8.4390 us/op 0.97
hashTreeRoot SignedContributionAndProof - struct 34.502 us/op 42.315 us/op 0.82
hashTreeRoot SignedContributionAndProof - tree 26.624 us/op 28.341 us/op 0.94
hashTreeRoot SignedBeaconBlock - struct 3.1893 ms/op 3.4480 ms/op 0.92
hashTreeRoot SignedBeaconBlock - tree 2.2209 ms/op 2.2925 ms/op 0.97
hashTreeRoot Validator - struct 17.386 us/op 18.800 us/op 0.92
hashTreeRoot Validator - tree 14.688 us/op 17.508 us/op 0.84
BeaconState vc 300000 - hashTreeRoot tree 4.9061 s/op 6.0203 s/op 0.81
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.8640 us/op 2.0510 us/op 0.91
BeaconState.validators vc 300000 - hashTreeRoot tree 4.6152 s/op 5.4269 s/op 0.85
BeaconState.balances vc 300000 - hashTreeRoot tree 109.16 ms/op 132.58 ms/op 0.82
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 11.983 ms/op 15.008 ms/op 0.80
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 11.964 ms/op 14.114 ms/op 0.85
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 119.40 ms/op 144.80 ms/op 0.82
hash64 x18 24.453 us/op 31.572 us/op 0.77
hashTwoObjects x18 23.628 us/op 33.666 us/op 0.70
hash64 x1740 2.3206 ms/op 2.7045 ms/op 0.86
hashTwoObjects x1740 2.2627 ms/op 2.5412 ms/op 0.89
hash64 x2700000 3.5994 s/op 3.8937 s/op 0.92
hashTwoObjects x2700000 3.5227 s/op 3.9115 s/op 0.90
get_exitEpoch - ContainerType 522.00 ns/op 563.00 ns/op 0.93
get_exitEpoch - ContainerNodeStructType 431.00 ns/op 448.00 ns/op 0.96
set_exitEpoch - ContainerType 472.00 ns/op 507.00 ns/op 0.93
set_exitEpoch - ContainerNodeStructType 455.00 ns/op 454.00 ns/op 1.00
get_pubkey - ContainerType 1.6460 us/op 1.8810 us/op 0.88
get_pubkey - ContainerNodeStructType 338.00 ns/op 362.00 ns/op 0.93
hashTreeRoot - ContainerType 520.00 ns/op 521.00 ns/op 1.00
hashTreeRoot - ContainerNodeStructType 577.00 ns/op 546.00 ns/op 1.06
createProof - ContainerType 6.4610 us/op 7.0700 us/op 0.91
createProof - ContainerNodeStructType 34.799 us/op 39.151 us/op 0.89
serialize - ContainerType 3.0590 us/op 3.1140 us/op 0.98
serialize - ContainerNodeStructType 2.3810 us/op 2.6610 us/op 0.89
set_exitEpoch_and_hashTreeRoot - ContainerType 5.8130 us/op 6.1570 us/op 0.94
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 16.161 us/op 18.759 us/op 0.86
Array - for of 10.807 us/op 7.4900 us/op 1.44
Array - for(;;) 7.5030 us/op 6.9940 us/op 1.07
basicListValue.readonlyValuesArray() 5.4582 ms/op 5.3687 ms/op 1.02
basicListValue.readonlyValuesArray() + loop all 5.3661 ms/op 5.6286 ms/op 0.95
compositeListValue.readonlyValuesArray() 39.222 ms/op 54.754 ms/op 0.72
compositeListValue.readonlyValuesArray() + loop all 30.522 ms/op 36.792 ms/op 0.83
Number64UintType - get balances list 6.4233 ms/op 7.3462 ms/op 0.87
Number64UintType - set balances list 15.882 ms/op 19.640 ms/op 0.81
Number64UintType - get and increase 10 then set 58.462 ms/op 74.027 ms/op 0.79
Number64UintType - increase 10 using applyDelta 25.511 ms/op 28.473 ms/op 0.90
Number64UintType - increase 10 using applyDeltaInBatch 25.205 ms/op 29.362 ms/op 0.86
tree_newTreeFromUint64Deltas 26.227 ms/op 31.202 ms/op 0.84
unsafeUint8ArrayToTree 48.321 ms/op 51.381 ms/op 0.94
bitLength(50) 300.00 ns/op 302.00 ns/op 0.99
bitLengthStr(50) 375.00 ns/op 400.00 ns/op 0.94
bitLength(8000) 299.00 ns/op 301.00 ns/op 0.99
bitLengthStr(8000) 499.00 ns/op 572.00 ns/op 0.87
bitLength(250000) 301.00 ns/op 310.00 ns/op 0.97
bitLengthStr(250000) 607.00 ns/op 592.00 ns/op 1.03
floor - Math.floor (53) 0.66991 ns/op 0.60421 ns/op 1.11
floor - << 0 (53) 0.67017 ns/op 0.63472 ns/op 1.06
floor - Math.floor (512) 0.66970 ns/op 0.61623 ns/op 1.09
floor - << 0 (512) 0.66976 ns/op 0.65016 ns/op 1.03
fnIf(0) 2.6777 ns/op 1.8415 ns/op 1.45
fnSwitch(0) 5.0201 ns/op 2.9624 ns/op 1.69
fnObj(0) 0.67231 ns/op 0.60397 ns/op 1.11
fnArr(0) 0.66966 ns/op 0.56400 ns/op 1.19
fnIf(4) 4.3508 ns/op 2.6662 ns/op 1.63
fnSwitch(4) 5.0195 ns/op 3.0183 ns/op 1.66
fnObj(4) 0.66961 ns/op 0.54458 ns/op 1.23
fnArr(4) 0.66985 ns/op 0.57193 ns/op 1.17
fnIf(9) 6.6950 ns/op 3.5874 ns/op 1.87
fnSwitch(9) 5.0212 ns/op 2.8276 ns/op 1.78
fnObj(9) 0.66981 ns/op 0.56891 ns/op 1.18
fnArr(9) 0.66993 ns/op 0.58108 ns/op 1.15
Container {a,b,vec} - as struct x100000 67.302 us/op 59.032 us/op 1.14
Container {a,b,vec} - as tree x100000 837.03 us/op 555.54 us/op 1.51
Container {a,vec,b} - as struct x100000 100.78 us/op 86.710 us/op 1.16
Container {a,vec,b} - as tree x100000 903.88 us/op 662.85 us/op 1.36
get 2 props x1000000 - rawObject 335.13 us/op 337.12 us/op 0.99
get 2 props x1000000 - proxy 134.75 ms/op 104.45 ms/op 1.29
get 2 props x1000000 - customObj 335.04 us/op 333.41 us/op 1.00
Simple object binary -> struct 947.00 ns/op 1.2220 us/op 0.77
Simple object binary -> tree_backed 2.8330 us/op 3.5370 us/op 0.80
Simple object struct -> tree_backed 3.7280 us/op 4.4950 us/op 0.83
Simple object tree_backed -> struct 3.0650 us/op 3.6660 us/op 0.84
Simple object struct -> binary 1.5110 us/op 1.8920 us/op 0.80
Simple object tree_backed -> binary 2.5880 us/op 2.9030 us/op 0.89
aggregationBits binary -> struct 925.00 ns/op 915.00 ns/op 1.01
aggregationBits binary -> tree_backed 3.7450 us/op 3.8910 us/op 0.96
aggregationBits struct -> tree_backed 4.6280 us/op 4.5110 us/op 1.03
aggregationBits tree_backed -> struct 1.8940 us/op 2.0510 us/op 0.92
aggregationBits struct -> binary 1.3610 us/op 1.3360 us/op 1.02
aggregationBits tree_backed -> binary 1.6540 us/op 1.6000 us/op 1.03
List(uint8) 100000 binary -> struct 2.1352 ms/op 1.9048 ms/op 1.12
List(uint8) 100000 binary -> tree_backed 161.47 us/op 196.30 us/op 0.82
List(uint8) 100000 struct -> tree_backed 2.1186 ms/op 2.0745 ms/op 1.02
List(uint8) 100000 tree_backed -> struct 1.5217 ms/op 1.4105 ms/op 1.08
List(uint8) 100000 struct -> binary 1.8890 ms/op 1.9485 ms/op 0.97
List(uint8) 100000 tree_backed -> binary 141.62 us/op 149.28 us/op 0.95
List(uint64Number) 100000 binary -> struct 1.6502 ms/op 1.9049 ms/op 0.87
List(uint64Number) 100000 binary -> tree_backed 5.0793 ms/op 6.7878 ms/op 0.75
List(uint64Number) 100000 struct -> tree_backed 7.0923 ms/op 7.5891 ms/op 0.93
List(uint64Number) 100000 tree_backed -> struct 3.1137 ms/op 3.0781 ms/op 1.01
List(uint64Number) 100000 struct -> binary 2.2604 ms/op 2.4093 ms/op 0.94
List(uint64Number) 100000 tree_backed -> binary 1.5308 ms/op 1.2897 ms/op 1.19
List(Uint64Bigint) 100000 binary -> struct 5.2827 ms/op 5.4244 ms/op 0.97
List(Uint64Bigint) 100000 binary -> tree_backed 6.1585 ms/op 6.3668 ms/op 0.97
List(Uint64Bigint) 100000 struct -> tree_backed 8.3815 ms/op 10.490 ms/op 0.80
List(Uint64Bigint) 100000 tree_backed -> struct 6.6916 ms/op 6.3010 ms/op 1.06
List(Uint64Bigint) 100000 struct -> binary 2.9544 ms/op 3.1037 ms/op 0.95
List(Uint64Bigint) 100000 tree_backed -> binary 1.6590 ms/op 1.3704 ms/op 1.21
Vector(Root) 100000 binary -> struct 52.154 ms/op 61.103 ms/op 0.85
Vector(Root) 100000 binary -> tree_backed 48.775 ms/op 51.488 ms/op 0.95
Vector(Root) 100000 struct -> tree_backed 64.425 ms/op 72.549 ms/op 0.89
Vector(Root) 100000 tree_backed -> struct 74.277 ms/op 83.639 ms/op 0.89
Vector(Root) 100000 struct -> binary 3.2213 ms/op 3.1308 ms/op 1.03
Vector(Root) 100000 tree_backed -> binary 13.185 ms/op 13.678 ms/op 0.96
List(Validator) 100000 binary -> struct 201.66 ms/op 203.69 ms/op 0.99
List(Validator) 100000 binary -> tree_backed 497.23 ms/op 576.59 ms/op 0.86
List(Validator) 100000 struct -> tree_backed 540.07 ms/op 635.72 ms/op 0.85
List(Validator) 100000 tree_backed -> struct 312.13 ms/op 373.86 ms/op 0.83
List(Validator) 100000 struct -> binary 46.266 ms/op 52.888 ms/op 0.87
List(Validator) 100000 tree_backed -> binary 129.63 ms/op 159.26 ms/op 0.81
List(Validator-NS) 100000 binary -> struct 204.14 ms/op 221.58 ms/op 0.92
List(Validator-NS) 100000 binary -> tree_backed 265.73 ms/op 306.27 ms/op 0.87
List(Validator-NS) 100000 struct -> tree_backed 332.34 ms/op 381.50 ms/op 0.87
List(Validator-NS) 100000 tree_backed -> struct 274.66 ms/op 323.40 ms/op 0.85
List(Validator-NS) 100000 struct -> binary 46.410 ms/op 49.809 ms/op 0.93
List(Validator-NS) 100000 tree_backed -> binary 53.719 ms/op 67.125 ms/op 0.80
get epochStatuses - MutableVector 121.12 us/op 136.81 us/op 0.89
get epochStatuses - ViewDU 299.37 us/op 276.13 us/op 1.08
set epochStatuses - ListTreeView 2.1363 ms/op 2.2147 ms/op 0.96
set epochStatuses - ListTreeView - set() 619.52 us/op 582.27 us/op 1.06
set epochStatuses - ListTreeView - commit() 646.73 us/op 648.05 us/op 1.00
bitstring 747.73 ns/op 804.99 ns/op 0.93
bit mask 12.898 ns/op 14.799 ns/op 0.87
struct - increase slot to 1000000 2.1851 ms/op 2.7357 ms/op 0.80
UintNumberType - increase slot to 1000000 47.808 ms/op 44.887 ms/op 1.07
UintBigintType - increase slot to 1000000 588.31 ms/op 642.95 ms/op 0.92
UintBigint8 x 100000 tree_deserialize 6.2845 ms/op 6.9238 ms/op 0.91
UintBigint8 x 100000 tree_serialize 2.0352 ms/op 1.9716 ms/op 1.03
UintBigint16 x 100000 tree_deserialize 5.8282 ms/op 6.6585 ms/op 0.88
UintBigint16 x 100000 tree_serialize 2.1407 ms/op 1.9165 ms/op 1.12
UintBigint32 x 100000 tree_deserialize 7.5089 ms/op 8.3994 ms/op 0.89
UintBigint32 x 100000 tree_serialize 1.9011 ms/op 1.8912 ms/op 1.01
UintBigint64 x 100000 tree_deserialize 8.2264 ms/op 9.9263 ms/op 0.83
UintBigint64 x 100000 tree_serialize 2.6013 ms/op 2.5255 ms/op 1.03
UintBigint8 x 100000 value_deserialize 870.56 us/op 635.23 us/op 1.37
UintBigint8 x 100000 value_serialize 1.1857 ms/op 1.3729 ms/op 0.86
UintBigint16 x 100000 value_deserialize 933.42 us/op 644.88 us/op 1.45
UintBigint16 x 100000 value_serialize 1.2844 ms/op 1.5354 ms/op 0.84
UintBigint32 x 100000 value_deserialize 846.42 us/op 647.25 us/op 1.31
UintBigint32 x 100000 value_serialize 1.2908 ms/op 1.6108 ms/op 0.80
UintBigint64 x 100000 value_deserialize 904.90 us/op 703.14 us/op 1.29
UintBigint64 x 100000 value_serialize 1.4944 ms/op 1.8283 ms/op 0.82
UintBigint8 x 100000 deserialize 6.6162 ms/op 7.1695 ms/op 0.92
UintBigint8 x 100000 serialize 2.5346 ms/op 2.1396 ms/op 1.18
UintBigint16 x 100000 deserialize 6.9474 ms/op 7.1108 ms/op 0.98
UintBigint16 x 100000 serialize 2.6818 ms/op 2.2729 ms/op 1.18
UintBigint32 x 100000 deserialize 8.1013 ms/op 9.0553 ms/op 0.89
UintBigint32 x 100000 serialize 4.5187 ms/op 4.8067 ms/op 0.94
UintBigint64 x 100000 deserialize 5.6049 ms/op 5.7498 ms/op 0.97
UintBigint64 x 100000 serialize 2.4507 ms/op 2.2937 ms/op 1.07
UintBigint128 x 100000 deserialize 8.1674 ms/op 9.3664 ms/op 0.87
UintBigint128 x 100000 serialize 26.805 ms/op 31.009 ms/op 0.86
UintBigint256 x 100000 deserialize 15.259 ms/op 17.936 ms/op 0.85
UintBigint256 x 100000 serialize 81.228 ms/op 93.041 ms/op 0.87
Slice from Uint8Array x25000 1.5903 ms/op 2.0416 ms/op 0.78
Slice from ArrayBuffer x25000 29.414 ms/op 35.432 ms/op 0.83
Slice from ArrayBuffer x25000 + new Uint8Array 31.273 ms/op 41.390 ms/op 0.76
Copy Uint8Array 100000 iterate 1.4831 ms/op 1.0583 ms/op 1.40
Copy Uint8Array 100000 slice 134.31 us/op 193.91 us/op 0.69
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 146.55 us/op 185.17 us/op 0.79
Copy Buffer 100000 Uint8Array.prototype.slice.call 148.26 us/op 200.38 us/op 0.74
Copy Uint8Array 100000 slice + set 342.52 us/op 362.70 us/op 0.94
Copy Uint8Array 100000 subarray + set 153.35 us/op 198.74 us/op 0.77
Copy Uint8Array 100000 slice arrayBuffer 154.22 us/op 172.75 us/op 0.89
Uint64 deserialize 100000 - iterate Uint8Array 2.2896 ms/op 2.5656 ms/op 0.89
Uint64 deserialize 100000 - by Uint32A 2.1229 ms/op 2.4146 ms/op 0.88
Uint64 deserialize 100000 - by DataView.getUint32 x2 2.2327 ms/op 2.4389 ms/op 0.92
Uint64 deserialize 100000 - by DataView.getBigUint64 6.8969 ms/op 7.5598 ms/op 0.91
Uint64 deserialize 100000 - by byte 69.156 ms/op 65.556 ms/op 1.05

by benchmarkbot/action

@Faithtosin Faithtosin merged commit 7ae13ca into master Jan 24, 2023
@Faithtosin Faithtosin deleted the faith/deploy-cloudflare branch January 24, 2023 06:34
with:
cache: yarn
node-version: '16'
- run: yarn install --frozen-lockfile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should run corepack enable before and use --immutable i stead of --frozen-lockfile here

@mpetrunic
Copy link
Member

@Faithtosin checkout my comment

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

2 participants