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

fix: fix ci #341

Merged
merged 1 commit into from
Feb 10, 2024
Merged

fix: fix ci #341

merged 1 commit into from
Feb 10, 2024

Conversation

wemeetagain
Copy link
Member

Motivation

0.14.1 failed to publish https://github.com/ChainSafe/ssz/actions/runs/7852803588/job/21431695079#step:4:23

Description

Move corepack enable step before setup-node step

@wemeetagain wemeetagain requested a review from a team as a code owner February 10, 2024 17:57
@github-actions github-actions bot added the CI label Feb 10, 2024
@wemeetagain wemeetagain changed the title chore: fix ci fix: fix ci Feb 10, 2024
@wemeetagain wemeetagain merged commit f96814a into master Feb 10, 2024
9 checks passed
@wemeetagain wemeetagain deleted the cayman/fix-publish branch February 10, 2024 18:06
Copy link

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 260c9bd Previous: 2fd4936 Ratio
digestTwoHashObjects 50023 times 47.962 ms/op 47.769 ms/op 1.00
digest64 50023 times 49.554 ms/op 50.108 ms/op 0.99
digest 50023 times 49.347 ms/op 49.917 ms/op 0.99
input length 32 1.1720 us/op 1.1870 us/op 0.99
input length 64 1.2940 us/op 1.3260 us/op 0.98
input length 128 2.2400 us/op 2.2620 us/op 0.99
input length 256 3.3680 us/op 3.3800 us/op 1.00
input length 512 5.4660 us/op 5.5040 us/op 0.99
input length 1024 10.714 us/op 10.931 us/op 0.98
digest 1000000 times 788.98 ms/op 780.88 ms/op 1.01
hashObjectToByteArray 50023 times 1.4306 ms/op 1.4251 ms/op 1.00
byteArrayToHashObject 50023 times 1.6806 ms/op 1.6571 ms/op 1.01
getGindicesAtDepth 4.1390 us/op 3.9430 us/op 1.05
iterateAtDepth 8.4350 us/op 8.2800 us/op 1.02
getGindexBits 410.00 ns/op 400.00 ns/op 1.02
gindexIterator 970.00 ns/op 941.00 ns/op 1.03
hash 2 Uint8Array 2250026 times - as-sha256 2.2587 s/op 2.2239 s/op 1.02
hashTwoObjects 2250026 times - as-sha256 2.1539 s/op 2.1564 s/op 1.00
hash 2 Uint8Array 2250026 times - noble 4.6984 s/op 4.9157 s/op 0.96
hashTwoObjects 2250026 times - noble 6.8268 s/op 6.9369 s/op 0.98
getNodeH() x7812.5 avg hindex 14.401 us/op 14.549 us/op 0.99
getNodeH() x7812.5 index 0 5.1600 us/op 5.0680 us/op 1.02
getNodeH() x7812.5 index 7 5.1010 us/op 5.1320 us/op 0.99
getNodeH() x7812.5 index 7 with key array 5.1200 us/op 5.0740 us/op 1.01
new LeafNode() x7812.5 118.86 us/op 112.23 us/op 1.06
multiproof - depth 15, 1 requested leaves 9.4810 us/op 9.4250 us/op 1.01
tree offset multiproof - depth 15, 1 requested leaves 21.237 us/op 20.815 us/op 1.02
compact multiproof - depth 15, 1 requested leaves 5.9080 us/op 5.4920 us/op 1.08
multiproof - depth 15, 2 requested leaves 14.132 us/op 13.799 us/op 1.02
tree offset multiproof - depth 15, 2 requested leaves 24.574 us/op 25.224 us/op 0.97
compact multiproof - depth 15, 2 requested leaves 3.5460 us/op 3.2930 us/op 1.08
multiproof - depth 15, 3 requested leaves 18.437 us/op 18.585 us/op 0.99
tree offset multiproof - depth 15, 3 requested leaves 31.773 us/op 31.085 us/op 1.02
compact multiproof - depth 15, 3 requested leaves 4.8510 us/op 4.6770 us/op 1.04
multiproof - depth 15, 4 requested leaves 24.374 us/op 24.065 us/op 1.01
tree offset multiproof - depth 15, 4 requested leaves 38.269 us/op 37.796 us/op 1.01
compact multiproof - depth 15, 4 requested leaves 5.6540 us/op 5.2780 us/op 1.07
packedRootsBytesToLeafNodes bytes 4000 offset 0 2.0720 us/op 1.9640 us/op 1.05
packedRootsBytesToLeafNodes bytes 4000 offset 1 1.9750 us/op 1.9600 us/op 1.01
packedRootsBytesToLeafNodes bytes 4000 offset 2 1.9990 us/op 1.9570 us/op 1.02
packedRootsBytesToLeafNodes bytes 4000 offset 3 2.0110 us/op 1.9530 us/op 1.03
subtreeFillToContents depth 40 count 250000 49.082 ms/op 44.339 ms/op 1.11
setRoot - gindexBitstring 8.1394 ms/op 8.9264 ms/op 0.91
setRoot - gindex 8.5426 ms/op 9.3563 ms/op 0.91
getRoot - gindexBitstring 2.5143 ms/op 2.3166 ms/op 1.09
getRoot - gindex 3.0780 ms/op 3.1599 ms/op 0.97
getHashObject then setHashObject 9.4447 ms/op 10.486 ms/op 0.90
setNodeWithFn 8.1435 ms/op 9.3391 ms/op 0.87
getNodeAtDepth depth 0 x100000 1.1885 ms/op 1.2026 ms/op 0.99
setNodeAtDepth depth 0 x100000 2.3977 ms/op 2.7859 ms/op 0.86
getNodesAtDepth depth 0 x100000 1.0858 ms/op 1.1120 ms/op 0.98
setNodesAtDepth depth 0 x100000 1.5096 ms/op 1.4853 ms/op 1.02
getNodeAtDepth depth 1 x100000 1.2066 ms/op 1.2082 ms/op 1.00
setNodeAtDepth depth 1 x100000 5.2784 ms/op 5.8426 ms/op 0.90
getNodesAtDepth depth 1 x100000 1.2254 ms/op 1.2100 ms/op 1.01
setNodesAtDepth depth 1 x100000 4.3525 ms/op 4.6787 ms/op 0.93
getNodeAtDepth depth 2 x100000 1.5595 ms/op 1.4865 ms/op 1.05
setNodeAtDepth depth 2 x100000 9.0226 ms/op 9.8891 ms/op 0.91
getNodesAtDepth depth 2 x100000 19.923 ms/op 20.484 ms/op 0.97
setNodesAtDepth depth 2 x100000 14.830 ms/op 13.977 ms/op 1.06
tree.getNodesAtDepth - gindexes 6.2433 ms/op 6.0808 ms/op 1.03
tree.getNodesAtDepth - push all nodes 1.8048 ms/op 2.2496 ms/op 0.80
tree.getNodesAtDepth - navigation 158.12 us/op 156.94 us/op 1.01
tree.setNodesAtDepth - indexes 365.24 us/op 421.18 us/op 0.87
set at depth 8 473.00 ns/op 556.00 ns/op 0.85
set at depth 16 636.00 ns/op 670.00 ns/op 0.95
set at depth 32 962.00 ns/op 1.0540 us/op 0.91
iterateNodesAtDepth 8 256 13.134 us/op 13.446 us/op 0.98
getNodesAtDepth 8 256 3.3300 us/op 3.3960 us/op 0.98
iterateNodesAtDepth 16 65536 4.3002 ms/op 4.2082 ms/op 1.02
getNodesAtDepth 16 65536 1.6179 ms/op 1.9952 ms/op 0.81
iterateNodesAtDepth 32 250000 15.656 ms/op 15.617 ms/op 1.00
getNodesAtDepth 32 250000 4.2718 ms/op 4.5654 ms/op 0.94
iterateNodesAtDepth 40 250000 16.037 ms/op 16.456 ms/op 0.97
getNodesAtDepth 40 250000 4.3538 ms/op 4.5995 ms/op 0.95
250k validators 7.2846 s/op 7.7165 s/op 0.94
bitlist bytes to struct (120,90) 576.00 ns/op 884.00 ns/op 0.65
bitlist bytes to tree (120,90) 2.2530 us/op 2.5510 us/op 0.88
bitlist bytes to struct (2048,2048) 1.0370 us/op 1.1020 us/op 0.94
bitlist bytes to tree (2048,2048) 3.6490 us/op 3.8930 us/op 0.94
ByteListType - deserialize 9.2803 ms/op 8.0578 ms/op 1.15
BasicListType - deserialize 25.713 ms/op 9.2282 ms/op 2.79
ByteListType - serialize 8.5099 ms/op 7.5682 ms/op 1.12
BasicListType - serialize 10.114 ms/op 10.339 ms/op 0.98
BasicListType - tree_convertToStruct 31.173 ms/op 23.504 ms/op 1.33
List[uint8, 68719476736] len 300000 ViewDU.getAll() + iterate 4.2371 ms/op 4.1978 ms/op 1.01
List[uint8, 68719476736] len 300000 ViewDU.get(i) 4.1367 ms/op 4.2812 ms/op 0.97
Array.push len 300000 empty Array - number 6.3556 ms/op 6.4596 ms/op 0.98
Array.set len 300000 from new Array - number 1.6274 ms/op 1.6100 ms/op 1.01
Array.set len 300000 - number 5.2765 ms/op 5.3488 ms/op 0.99
Uint8Array.set len 300000 217.56 us/op 224.43 us/op 0.97
Uint32Array.set len 300000 294.39 us/op 310.15 us/op 0.95
Container({a: uint8, b: uint8}) getViewDU x300000 21.133 ms/op 19.816 ms/op 1.07
ContainerNodeStruct({a: uint8, b: uint8}) getViewDU x300000 9.5936 ms/op 9.4067 ms/op 1.02
List(Container) len 300000 ViewDU.getAllReadonly() + iterate 261.01 ms/op 272.97 ms/op 0.96
List(Container) len 300000 ViewDU.getAllReadonlyValues() + iterate 285.52 ms/op 295.53 ms/op 0.97
List(Container) len 300000 ViewDU.get(i) 6.4815 ms/op 6.7943 ms/op 0.95
List(Container) len 300000 ViewDU.getReadonly(i) 6.2346 ms/op 6.2343 ms/op 1.00
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonly() + iterate 37.789 ms/op 38.301 ms/op 0.99
List(ContainerNodeStruct) len 300000 ViewDU.getAllReadonlyValues() + iterate 5.3855 ms/op 5.7074 ms/op 0.94
List(ContainerNodeStruct) len 300000 ViewDU.get(i) 6.1015 ms/op 6.1521 ms/op 0.99
List(ContainerNodeStruct) len 300000 ViewDU.getReadonly(i) 5.9443 ms/op 6.0587 ms/op 0.98
Array.push len 300000 empty Array - object 5.9143 ms/op 6.2616 ms/op 0.94
Array.set len 300000 from new Array - object 1.9315 ms/op 2.0196 ms/op 0.96
Array.set len 300000 - object 5.6830 ms/op 5.7009 ms/op 1.00
cachePermanentRootStruct no cache 8.8550 us/op 9.7470 us/op 0.91
cachePermanentRootStruct with cache 217.00 ns/op 249.00 ns/op 0.87
epochParticipation len 250000 rws 7813 2.3157 ms/op 2.3414 ms/op 0.99
deserialize Attestation - tree 2.9340 us/op 3.3440 us/op 0.88
deserialize Attestation - struct 2.0800 us/op 2.3350 us/op 0.89
deserialize SignedAggregateAndProof - tree 3.7590 us/op 4.0300 us/op 0.93
deserialize SignedAggregateAndProof - struct 3.0460 us/op 3.2210 us/op 0.95
deserialize SyncCommitteeMessage - tree 1.1290 us/op 1.2550 us/op 0.90
deserialize SyncCommitteeMessage - struct 1.1970 us/op 1.3480 us/op 0.89
deserialize SignedContributionAndProof - tree 1.9750 us/op 1.9420 us/op 1.02
deserialize SignedContributionAndProof - struct 2.3620 us/op 2.5840 us/op 0.91
deserialize SignedBeaconBlock - tree 214.48 us/op 213.06 us/op 1.01
deserialize SignedBeaconBlock - struct 133.80 us/op 129.86 us/op 1.03
BeaconState vc 300000 - deserialize tree 627.89 ms/op 659.51 ms/op 0.95
BeaconState vc 300000 - serialize tree 136.81 ms/op 146.45 ms/op 0.93
BeaconState.historicalRoots vc 300000 - deserialize tree 825.00 ns/op 850.00 ns/op 0.97
BeaconState.historicalRoots vc 300000 - serialize tree 822.00 ns/op 843.00 ns/op 0.98
BeaconState.validators vc 300000 - deserialize tree 646.78 ms/op 656.04 ms/op 0.99
BeaconState.validators vc 300000 - serialize tree 131.65 ms/op 145.88 ms/op 0.90
BeaconState.balances vc 300000 - deserialize tree 23.802 ms/op 24.598 ms/op 0.97
BeaconState.balances vc 300000 - serialize tree 3.6253 ms/op 4.5364 ms/op 0.80
BeaconState.previousEpochParticipation vc 300000 - deserialize tree 436.48 us/op 619.75 us/op 0.70
BeaconState.previousEpochParticipation vc 300000 - serialize tree 277.61 us/op 286.06 us/op 0.97
BeaconState.currentEpochParticipation vc 300000 - deserialize tree 432.42 us/op 415.33 us/op 1.04
BeaconState.currentEpochParticipation vc 300000 - serialize tree 278.26 us/op 279.00 us/op 1.00
BeaconState.inactivityScores vc 300000 - deserialize tree 25.163 ms/op 25.603 ms/op 0.98
BeaconState.inactivityScores vc 300000 - serialize tree 3.4883 ms/op 3.1103 ms/op 1.12
hashTreeRoot Attestation - struct 30.738 us/op 30.799 us/op 1.00
hashTreeRoot Attestation - tree 18.252 us/op 20.852 us/op 0.88
hashTreeRoot SignedAggregateAndProof - struct 41.513 us/op 42.877 us/op 0.97
hashTreeRoot SignedAggregateAndProof - tree 28.472 us/op 28.414 us/op 1.00
hashTreeRoot SyncCommitteeMessage - struct 10.214 us/op 9.9360 us/op 1.03
hashTreeRoot SyncCommitteeMessage - tree 6.2010 us/op 6.2400 us/op 0.99
hashTreeRoot SignedContributionAndProof - struct 28.499 us/op 28.225 us/op 1.01
hashTreeRoot SignedContributionAndProof - tree 20.214 us/op 20.486 us/op 0.99
hashTreeRoot SignedBeaconBlock - struct 2.3661 ms/op 2.3785 ms/op 0.99
hashTreeRoot SignedBeaconBlock - tree 1.6651 ms/op 1.6764 ms/op 0.99
hashTreeRoot Validator - struct 13.020 us/op 13.315 us/op 0.98
hashTreeRoot Validator - tree 11.419 us/op 11.171 us/op 1.02
BeaconState vc 300000 - hashTreeRoot tree 3.6899 s/op 3.6517 s/op 1.01
BeaconState.historicalRoots vc 300000 - hashTreeRoot tree 1.5420 us/op 1.5270 us/op 1.01
BeaconState.validators vc 300000 - hashTreeRoot tree 3.5264 s/op 3.5174 s/op 1.00
BeaconState.balances vc 300000 - hashTreeRoot tree 90.450 ms/op 88.815 ms/op 1.02
BeaconState.previousEpochParticipation vc 300000 - hashTreeRoot tree 8.9776 ms/op 8.9857 ms/op 1.00
BeaconState.currentEpochParticipation vc 300000 - hashTreeRoot tree 8.9920 ms/op 8.9820 ms/op 1.00
BeaconState.inactivityScores vc 300000 - hashTreeRoot tree 83.061 ms/op 82.291 ms/op 1.01
hash64 x18 20.032 us/op 19.310 us/op 1.04
hashTwoObjects x18 18.049 us/op 17.946 us/op 1.01
hash64 x1740 1.8766 ms/op 1.8415 ms/op 1.02
hashTwoObjects x1740 1.7206 ms/op 1.7020 ms/op 1.01
hash64 x2700000 2.9284 s/op 2.8864 s/op 1.01
hashTwoObjects x2700000 2.6828 s/op 2.6298 s/op 1.02
get_exitEpoch - ContainerType 231.00 ns/op 222.00 ns/op 1.04
get_exitEpoch - ContainerNodeStructType 220.00 ns/op 222.00 ns/op 0.99
set_exitEpoch - ContainerType 262.00 ns/op 252.00 ns/op 1.04
set_exitEpoch - ContainerNodeStructType 221.00 ns/op 224.00 ns/op 0.99
get_pubkey - ContainerType 1.0700 us/op 1.0110 us/op 1.06
get_pubkey - ContainerNodeStructType 219.00 ns/op 223.00 ns/op 0.98
hashTreeRoot - ContainerType 399.00 ns/op 397.00 ns/op 1.01
hashTreeRoot - ContainerNodeStructType 436.00 ns/op 431.00 ns/op 1.01
createProof - ContainerType 4.0920 us/op 3.9990 us/op 1.02
createProof - ContainerNodeStructType 21.842 us/op 21.827 us/op 1.00
serialize - ContainerType 2.1220 us/op 2.1570 us/op 0.98
serialize - ContainerNodeStructType 1.5420 us/op 1.6140 us/op 0.96
set_exitEpoch_and_hashTreeRoot - ContainerType 4.1060 us/op 4.3370 us/op 0.95
set_exitEpoch_and_hashTreeRoot - ContainerNodeStructType 11.568 us/op 11.913 us/op 0.97
Array - for of 7.9650 us/op 5.0520 us/op 1.58
Array - for(;;) 7.0180 us/op 4.3450 us/op 1.62
basicListValue.readonlyValuesArray() 3.9368 ms/op 3.9392 ms/op 1.00
basicListValue.readonlyValuesArray() + loop all 4.1439 ms/op 4.0702 ms/op 1.02
compositeListValue.readonlyValuesArray() 29.224 ms/op 34.472 ms/op 0.85
compositeListValue.readonlyValuesArray() + loop all 24.126 ms/op 30.942 ms/op 0.78
Number64UintType - get balances list 3.4738 ms/op 3.5733 ms/op 0.97
Number64UintType - set balances list 8.9647 ms/op 10.089 ms/op 0.89
Number64UintType - get and increase 10 then set 37.420 ms/op 38.696 ms/op 0.97
Number64UintType - increase 10 using applyDelta 14.792 ms/op 16.657 ms/op 0.89
Number64UintType - increase 10 using applyDeltaInBatch 14.752 ms/op 16.429 ms/op 0.90
tree_newTreeFromUint64Deltas 17.005 ms/op 18.395 ms/op 0.92
unsafeUint8ArrayToTree 31.422 ms/op 35.987 ms/op 0.87
bitLength(50) 225.00 ns/op 232.00 ns/op 0.97
bitLengthStr(50) 234.00 ns/op 220.00 ns/op 1.06
bitLength(8000) 228.00 ns/op 218.00 ns/op 1.05
bitLengthStr(8000) 289.00 ns/op 269.00 ns/op 1.07
bitLength(250000) 225.00 ns/op 217.00 ns/op 1.04
bitLengthStr(250000) 326.00 ns/op 304.00 ns/op 1.07
floor - Math.floor (53) 0.47104 ns/op 0.46579 ns/op 1.01
floor - << 0 (53) 0.46494 ns/op 0.46398 ns/op 1.00
floor - Math.floor (512) 0.47050 ns/op 0.46498 ns/op 1.01
floor - << 0 (512) 0.47082 ns/op 0.46433 ns/op 1.01
fnIf(0) 1.5458 ns/op 1.5463 ns/op 1.00
fnSwitch(0) 2.4766 ns/op 2.4848 ns/op 1.00
fnObj(0) 0.46562 ns/op 0.46616 ns/op 1.00
fnArr(0) 0.46463 ns/op 0.46519 ns/op 1.00
fnIf(4) 2.1688 ns/op 2.1629 ns/op 1.00
fnSwitch(4) 2.4763 ns/op 2.4735 ns/op 1.00
fnObj(4) 0.46529 ns/op 0.46384 ns/op 1.00
fnArr(4) 0.46440 ns/op 0.46606 ns/op 1.00
fnIf(9) 3.0927 ns/op 3.0943 ns/op 1.00
fnSwitch(9) 2.4800 ns/op 2.4716 ns/op 1.00
fnObj(9) 0.46467 ns/op 0.46694 ns/op 1.00
fnArr(9) 0.46537 ns/op 0.46809 ns/op 0.99
Container {a,b,vec} - as struct x100000 46.665 us/op 46.682 us/op 1.00
Container {a,b,vec} - as tree x100000 378.17 us/op 371.17 us/op 1.02
Container {a,vec,b} - as struct x100000 78.619 us/op 77.426 us/op 1.02
Container {a,vec,b} - as tree x100000 402.72 us/op 405.92 us/op 0.99
get 2 props x1000000 - rawObject 315.11 us/op 314.88 us/op 1.00
get 2 props x1000000 - proxy 71.964 ms/op 71.649 ms/op 1.00
get 2 props x1000000 - customObj 309.36 us/op 309.58 us/op 1.00
Simple object binary -> struct 618.00 ns/op 577.00 ns/op 1.07
Simple object binary -> tree_backed 1.6960 us/op 1.6220 us/op 1.05
Simple object struct -> tree_backed 2.2100 us/op 2.1440 us/op 1.03
Simple object tree_backed -> struct 1.8500 us/op 1.8180 us/op 1.02
Simple object struct -> binary 922.00 ns/op 892.00 ns/op 1.03
Simple object tree_backed -> binary 1.6380 us/op 1.6020 us/op 1.02
aggregationBits binary -> struct 562.00 ns/op 502.00 ns/op 1.12
aggregationBits binary -> tree_backed 2.1580 us/op 2.0000 us/op 1.08
aggregationBits struct -> tree_backed 2.5470 us/op 2.4110 us/op 1.06
aggregationBits tree_backed -> struct 1.0920 us/op 1.0290 us/op 1.06
aggregationBits struct -> binary 772.00 ns/op 722.00 ns/op 1.07
aggregationBits tree_backed -> binary 975.00 ns/op 926.00 ns/op 1.05
List(uint8) 100000 binary -> struct 1.3027 ms/op 1.1536 ms/op 1.13
List(uint8) 100000 binary -> tree_backed 86.336 us/op 77.300 us/op 1.12
List(uint8) 100000 struct -> tree_backed 1.3181 ms/op 1.2812 ms/op 1.03
List(uint8) 100000 tree_backed -> struct 935.21 us/op 918.34 us/op 1.02
List(uint8) 100000 struct -> binary 1.2195 ms/op 1.1976 ms/op 1.02
List(uint8) 100000 tree_backed -> binary 84.523 us/op 84.887 us/op 1.00
List(uint64Number) 100000 binary -> struct 1.1821 ms/op 1.1605 ms/op 1.02
List(uint64Number) 100000 binary -> tree_backed 3.8213 ms/op 4.2367 ms/op 0.90
List(uint64Number) 100000 struct -> tree_backed 5.2045 ms/op 5.2977 ms/op 0.98
List(uint64Number) 100000 tree_backed -> struct 2.0660 ms/op 2.0162 ms/op 1.02
List(uint64Number) 100000 struct -> binary 1.4267 ms/op 1.3726 ms/op 1.04
List(uint64Number) 100000 tree_backed -> binary 786.61 us/op 808.69 us/op 0.97
List(Uint64Bigint) 100000 binary -> struct 3.3686 ms/op 3.6981 ms/op 0.91
List(Uint64Bigint) 100000 binary -> tree_backed 3.8918 ms/op 4.2592 ms/op 0.91
List(Uint64Bigint) 100000 struct -> tree_backed 6.0800 ms/op 6.2166 ms/op 0.98
List(Uint64Bigint) 100000 tree_backed -> struct 4.3352 ms/op 4.6016 ms/op 0.94
List(Uint64Bigint) 100000 struct -> binary 2.1528 ms/op 2.0142 ms/op 1.07
List(Uint64Bigint) 100000 tree_backed -> binary 873.94 us/op 798.12 us/op 1.10
Vector(Root) 100000 binary -> struct 36.886 ms/op 41.663 ms/op 0.89
Vector(Root) 100000 binary -> tree_backed 30.572 ms/op 41.320 ms/op 0.74
Vector(Root) 100000 struct -> tree_backed 41.375 ms/op 43.509 ms/op 0.95
Vector(Root) 100000 tree_backed -> struct 48.608 ms/op 51.572 ms/op 0.94
Vector(Root) 100000 struct -> binary 1.9624 ms/op 1.8809 ms/op 1.04
Vector(Root) 100000 tree_backed -> binary 8.6559 ms/op 8.1727 ms/op 1.06
List(Validator) 100000 binary -> struct 128.83 ms/op 141.34 ms/op 0.91
List(Validator) 100000 binary -> tree_backed 348.93 ms/op 375.19 ms/op 0.93
List(Validator) 100000 struct -> tree_backed 354.71 ms/op 409.44 ms/op 0.87
List(Validator) 100000 tree_backed -> struct 222.65 ms/op 221.15 ms/op 1.01
List(Validator) 100000 struct -> binary 30.086 ms/op 31.275 ms/op 0.96
List(Validator) 100000 tree_backed -> binary 103.59 ms/op 98.081 ms/op 1.06
List(Validator-NS) 100000 binary -> struct 130.87 ms/op 159.65 ms/op 0.82
List(Validator-NS) 100000 binary -> tree_backed 185.47 ms/op 221.23 ms/op 0.84
List(Validator-NS) 100000 struct -> tree_backed 218.77 ms/op 257.90 ms/op 0.85
List(Validator-NS) 100000 tree_backed -> struct 175.67 ms/op 201.75 ms/op 0.87
List(Validator-NS) 100000 struct -> binary 30.162 ms/op 31.720 ms/op 0.95
List(Validator-NS) 100000 tree_backed -> binary 35.913 ms/op 36.149 ms/op 0.99
get epochStatuses - MutableVector 100.77 us/op 101.31 us/op 0.99
get epochStatuses - ViewDU 197.90 us/op 197.71 us/op 1.00
set epochStatuses - ListTreeView 1.5353 ms/op 1.6503 ms/op 0.93
set epochStatuses - ListTreeView - set() 431.29 us/op 445.60 us/op 0.97
set epochStatuses - ListTreeView - commit() 401.69 us/op 556.70 us/op 0.72
bitstring 653.57 ns/op 641.85 ns/op 1.02
bit mask 13.794 ns/op 13.955 ns/op 0.99
struct - increase slot to 1000000 928.17 us/op 932.72 us/op 1.00
UintNumberType - increase slot to 1000000 28.494 ms/op 28.177 ms/op 1.01
UintBigintType - increase slot to 1000000 433.72 ms/op 417.56 ms/op 1.04
UintBigint8 x 100000 tree_deserialize 4.8149 ms/op 4.5432 ms/op 1.06
UintBigint8 x 100000 tree_serialize 1.1882 ms/op 1.1846 ms/op 1.00
UintBigint16 x 100000 tree_deserialize 4.1587 ms/op 4.5282 ms/op 0.92
UintBigint16 x 100000 tree_serialize 1.1442 ms/op 1.1319 ms/op 1.01
UintBigint32 x 100000 tree_deserialize 4.7059 ms/op 4.6800 ms/op 1.01
UintBigint32 x 100000 tree_serialize 1.2240 ms/op 1.1986 ms/op 1.02
UintBigint64 x 100000 tree_deserialize 6.2060 ms/op 5.3673 ms/op 1.16
UintBigint64 x 100000 tree_serialize 1.6007 ms/op 1.5753 ms/op 1.02
UintBigint8 x 100000 value_deserialize 435.05 us/op 433.25 us/op 1.00
UintBigint8 x 100000 value_serialize 575.58 us/op 568.63 us/op 1.01
UintBigint16 x 100000 value_deserialize 468.17 us/op 463.68 us/op 1.01
UintBigint16 x 100000 value_serialize 607.68 us/op 615.82 us/op 0.99
UintBigint32 x 100000 value_deserialize 436.53 us/op 433.46 us/op 1.01
UintBigint32 x 100000 value_serialize 614.45 us/op 613.10 us/op 1.00
UintBigint64 x 100000 value_deserialize 465.79 us/op 465.47 us/op 1.00
UintBigint64 x 100000 value_serialize 794.15 us/op 790.44 us/op 1.00
UintBigint8 x 100000 deserialize 4.6847 ms/op 5.0250 ms/op 0.93
UintBigint8 x 100000 serialize 1.3929 ms/op 1.4093 ms/op 0.99
UintBigint16 x 100000 deserialize 4.5498 ms/op 5.2221 ms/op 0.87
UintBigint16 x 100000 serialize 1.4272 ms/op 1.4435 ms/op 0.99
UintBigint32 x 100000 deserialize 5.6759 ms/op 5.7935 ms/op 0.98
UintBigint32 x 100000 serialize 2.7853 ms/op 2.7574 ms/op 1.01
UintBigint64 x 100000 deserialize 3.7233 ms/op 4.1087 ms/op 0.91
UintBigint64 x 100000 serialize 1.4955 ms/op 1.4931 ms/op 1.00
UintBigint128 x 100000 deserialize 5.8129 ms/op 6.2034 ms/op 0.94
UintBigint128 x 100000 serialize 17.739 ms/op 17.016 ms/op 1.04
UintBigint256 x 100000 deserialize 10.925 ms/op 10.997 ms/op 0.99
UintBigint256 x 100000 serialize 50.829 ms/op 51.998 ms/op 0.98
Slice from Uint8Array x25000 975.82 us/op 962.80 us/op 1.01
Slice from ArrayBuffer x25000 16.900 ms/op 17.209 ms/op 0.98
Slice from ArrayBuffer x25000 + new Uint8Array 18.066 ms/op 19.190 ms/op 0.94
Copy Uint8Array 100000 iterate 805.35 us/op 807.61 us/op 1.00
Copy Uint8Array 100000 slice 90.031 us/op 87.700 us/op 1.03
Copy Uint8Array 100000 Uint8Array.prototype.slice.call 90.274 us/op 88.814 us/op 1.02
Copy Buffer 100000 Uint8Array.prototype.slice.call 90.656 us/op 88.387 us/op 1.03
Copy Uint8Array 100000 slice + set 154.35 us/op 164.94 us/op 0.94
Copy Uint8Array 100000 subarray + set 89.990 us/op 88.028 us/op 1.02
Copy Uint8Array 100000 slice arrayBuffer 90.829 us/op 87.912 us/op 1.03
Uint64 deserialize 100000 - iterate Uint8Array 1.7545 ms/op 1.7685 ms/op 0.99
Uint64 deserialize 100000 - by Uint32A 1.7584 ms/op 1.7696 ms/op 0.99
Uint64 deserialize 100000 - by DataView.getUint32 x2 1.7289 ms/op 1.7727 ms/op 0.98
Uint64 deserialize 100000 - by DataView.getBigUint64 4.8698 ms/op 4.8435 ms/op 1.01
Uint64 deserialize 100000 - by byte 43.096 ms/op 43.032 ms/op 1.00

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.

2 participants