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

refactor: fix LVH typo in code #5850

Merged
merged 1 commit into from
Aug 5, 2023
Merged

refactor: fix LVH typo in code #5850

merged 1 commit into from
Aug 5, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Aug 5, 2023

fix the typo in invalidSegmentLVH where LVH corresponds to latest valid hash

Closes #5844

@g11tech g11tech requested a review from a team as a code owner August 5, 2023 07:07
@g11tech g11tech mentioned this pull request Aug 5, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Aug 5, 2023

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 18e9cad Previous: bbadfed Ratio
regular array get 100000 times 32.300 us/op 98.433 us/op 0.33
wrappedArray get 100000 times 31.293 us/op 106.96 us/op 0.29
Full benchmark results
Benchmark suite Current: 18e9cad Previous: bbadfed Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 758.15 us/op 828.35 us/op 0.92
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 74.504 us/op 99.507 us/op 0.75
BLS verify - blst-native 1.2009 ms/op 1.4475 ms/op 0.83
BLS verifyMultipleSignatures 3 - blst-native 2.4635 ms/op 3.1317 ms/op 0.79
BLS verifyMultipleSignatures 8 - blst-native 5.2818 ms/op 6.6913 ms/op 0.79
BLS verifyMultipleSignatures 32 - blst-native 18.969 ms/op 25.118 ms/op 0.76
BLS aggregatePubkeys 32 - blst-native 25.115 us/op 32.298 us/op 0.78
BLS aggregatePubkeys 128 - blst-native 98.534 us/op 119.34 us/op 0.83
getAttestationsForBlock 50.107 ms/op 63.882 ms/op 0.78
isKnown best case - 1 super set check 263.00 ns/op 417.00 ns/op 0.63
isKnown normal case - 2 super set checks 256.00 ns/op 357.00 ns/op 0.72
isKnown worse case - 16 super set checks 258.00 ns/op 347.00 ns/op 0.74
CheckpointStateCache - add get delete 4.7730 us/op 6.2970 us/op 0.76
validate api signedAggregateAndProof - struct 2.7514 ms/op 3.5542 ms/op 0.77
validate gossip signedAggregateAndProof - struct 2.7305 ms/op 3.9400 ms/op 0.69
validate api attestation - struct 1.3047 ms/op 1.8224 ms/op 0.72
validate gossip attestation - struct 1.3121 ms/op 1.6675 ms/op 0.79
pickEth1Vote - no votes 1.1571 ms/op 1.4923 ms/op 0.78
pickEth1Vote - max votes 7.4996 ms/op 10.668 ms/op 0.70
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.3508 ms/op 10.413 ms/op 0.80
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 13.497 ms/op 14.354 ms/op 0.94
pickEth1Vote - Eth1Data fastSerialize value x2048 591.15 us/op 710.02 us/op 0.83
pickEth1Vote - Eth1Data fastSerialize tree x2048 6.6128 ms/op 7.6273 ms/op 0.87
bytes32 toHexString 477.00 ns/op 558.00 ns/op 0.85
bytes32 Buffer.toString(hex) 293.00 ns/op 358.00 ns/op 0.82
bytes32 Buffer.toString(hex) from Uint8Array 413.00 ns/op 516.00 ns/op 0.80
bytes32 Buffer.toString(hex) + 0x 291.00 ns/op 357.00 ns/op 0.82
Object access 1 prop 0.15000 ns/op 0.18600 ns/op 0.81
Map access 1 prop 0.15000 ns/op 0.16600 ns/op 0.90
Object get x1000 7.1050 ns/op 8.9840 ns/op 0.79
Map get x1000 0.63200 ns/op 0.65300 ns/op 0.97
Object set x1000 49.160 ns/op 55.946 ns/op 0.88
Map set x1000 38.513 ns/op 44.151 ns/op 0.87
Return object 10000 times 0.23600 ns/op 0.26270 ns/op 0.90
Throw Error 10000 times 3.7510 us/op 4.4794 us/op 0.84
fastMsgIdFn sha256 / 200 bytes 3.2450 us/op 3.7870 us/op 0.86
fastMsgIdFn h32 xxhash / 200 bytes 289.00 ns/op 332.00 ns/op 0.87
fastMsgIdFn h64 xxhash / 200 bytes 332.00 ns/op 357.00 ns/op 0.93
fastMsgIdFn sha256 / 1000 bytes 11.138 us/op 12.161 us/op 0.92
fastMsgIdFn h32 xxhash / 1000 bytes 412.00 ns/op 439.00 ns/op 0.94
fastMsgIdFn h64 xxhash / 1000 bytes 419.00 ns/op 481.00 ns/op 0.87
fastMsgIdFn sha256 / 10000 bytes 101.08 us/op 116.57 us/op 0.87
fastMsgIdFn h32 xxhash / 10000 bytes 1.9040 us/op 2.0530 us/op 0.93
fastMsgIdFn h64 xxhash / 10000 bytes 1.3090 us/op 1.4490 us/op 0.90
enrSubnets - fastDeserialize 64 bits 1.2050 us/op 1.3770 us/op 0.88
enrSubnets - ssz BitVector 64 bits 401.00 ns/op 466.00 ns/op 0.86
enrSubnets - fastDeserialize 4 bits 172.00 ns/op 205.00 ns/op 0.84
enrSubnets - ssz BitVector 4 bits 402.00 ns/op 546.00 ns/op 0.74
prioritizePeers score -10:0 att 32-0.1 sync 2-0 94.643 us/op 108.55 us/op 0.87
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 125.59 us/op 133.17 us/op 0.94
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 159.33 us/op 171.65 us/op 0.93
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 285.87 us/op 297.71 us/op 0.96
prioritizePeers score 0:0 att 64-1 sync 4-1 336.09 us/op 356.31 us/op 0.94
array of 16000 items push then shift 1.5421 us/op 1.6581 us/op 0.93
LinkedList of 16000 items push then shift 8.7500 ns/op 9.6200 ns/op 0.91
array of 16000 items push then pop 51.936 ns/op 58.561 ns/op 0.89
LinkedList of 16000 items push then pop 8.4640 ns/op 9.1150 ns/op 0.93
array of 24000 items push then shift 2.3855 us/op 2.5401 us/op 0.94
LinkedList of 24000 items push then shift 8.7830 ns/op 9.5220 ns/op 0.92
array of 24000 items push then pop 107.78 ns/op 107.38 ns/op 1.00
LinkedList of 24000 items push then pop 8.5880 ns/op 9.1290 ns/op 0.94
intersect bitArray bitLen 8 6.7550 ns/op 7.4660 ns/op 0.90
intersect array and set length 8 58.472 ns/op 60.659 ns/op 0.96
intersect bitArray bitLen 128 31.615 ns/op 35.727 ns/op 0.88
intersect array and set length 128 776.68 ns/op 838.32 ns/op 0.93
bitArray.getTrueBitIndexes() bitLen 128 1.4440 us/op 1.5640 us/op 0.92
bitArray.getTrueBitIndexes() bitLen 248 2.6250 us/op 2.6140 us/op 1.00
bitArray.getTrueBitIndexes() bitLen 512 4.9830 us/op 5.2100 us/op 0.96
Buffer.concat 32 items 1.0810 us/op 1.0740 us/op 1.01
Uint8Array.set 32 items 1.8640 us/op 2.0280 us/op 0.92
transfer serialized Status (84 B) 1.8770 us/op 1.9670 us/op 0.95
copy serialized Status (84 B) 1.6300 us/op 1.5810 us/op 1.03
transfer serialized SignedVoluntaryExit (112 B) 2.1990 us/op 2.2190 us/op 0.99
copy serialized SignedVoluntaryExit (112 B) 1.7570 us/op 1.8690 us/op 0.94
transfer serialized ProposerSlashing (416 B) 2.3820 us/op 2.5390 us/op 0.94
copy serialized ProposerSlashing (416 B) 2.1620 us/op 2.9380 us/op 0.74
transfer serialized Attestation (485 B) 2.4240 us/op 2.7830 us/op 0.87
copy serialized Attestation (485 B) 2.2250 us/op 2.9120 us/op 0.76
transfer serialized AttesterSlashing (33232 B) 2.6550 us/op 3.0380 us/op 0.87
copy serialized AttesterSlashing (33232 B) 5.6270 us/op 6.9550 us/op 0.81
transfer serialized Small SignedBeaconBlock (128000 B) 2.9060 us/op 3.1320 us/op 0.93
copy serialized Small SignedBeaconBlock (128000 B) 12.792 us/op 17.967 us/op 0.71
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4460 us/op 3.3860 us/op 1.02
copy serialized Avg SignedBeaconBlock (200000 B) 17.179 us/op 27.241 us/op 0.63
transfer serialized BlobsSidecar (524380 B) 3.1640 us/op 3.3070 us/op 0.96
copy serialized BlobsSidecar (524380 B) 186.62 us/op 121.15 us/op 1.54
transfer serialized Big SignedBeaconBlock (1000000 B) 3.2690 us/op 3.5020 us/op 0.93
copy serialized Big SignedBeaconBlock (1000000 B) 137.61 us/op 169.99 us/op 0.81
pass gossip attestations to forkchoice per slot 2.0876 ms/op 2.5255 ms/op 0.83
forkChoice updateHead vc 100000 bc 64 eq 0 2.1452 ms/op 2.4659 ms/op 0.87
forkChoice updateHead vc 600000 bc 64 eq 0 11.938 ms/op 13.299 ms/op 0.90
forkChoice updateHead vc 1000000 bc 64 eq 0 18.383 ms/op 22.754 ms/op 0.81
forkChoice updateHead vc 600000 bc 320 eq 0 17.266 ms/op 19.473 ms/op 0.89
forkChoice updateHead vc 600000 bc 1200 eq 0 78.579 ms/op 103.01 ms/op 0.76
forkChoice updateHead vc 600000 bc 64 eq 1000 18.552 ms/op 26.917 ms/op 0.69
forkChoice updateHead vc 600000 bc 64 eq 10000 20.798 ms/op 28.258 ms/op 0.74
forkChoice updateHead vc 600000 bc 64 eq 300000 26.619 ms/op 35.506 ms/op 0.75
computeDeltas 3.2204 ms/op 3.1925 ms/op 1.01
computeProposerBoostScoreFromBalances 380.81 us/op 418.38 us/op 0.91
altair processAttestation - 250000 vs - 7PWei normalcase 2.1058 ms/op 2.1529 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei worstcase 3.2894 ms/op 3.4657 ms/op 0.95
altair processAttestation - setStatus - 1/6 committees join 145.56 us/op 206.81 us/op 0.70
altair processAttestation - setStatus - 1/3 committees join 277.69 us/op 377.28 us/op 0.74
altair processAttestation - setStatus - 1/2 committees join 373.93 us/op 501.58 us/op 0.75
altair processAttestation - setStatus - 2/3 committees join 481.94 us/op 613.12 us/op 0.79
altair processAttestation - setStatus - 4/5 committees join 692.07 us/op 860.85 us/op 0.80
altair processAttestation - setStatus - 100% committees join 779.22 us/op 989.89 us/op 0.79
altair processBlock - 250000 vs - 7PWei normalcase 9.9264 ms/op 9.7631 ms/op 1.02
altair processBlock - 250000 vs - 7PWei normalcase hashState 17.192 ms/op 17.119 ms/op 1.00
altair processBlock - 250000 vs - 7PWei worstcase 37.141 ms/op 43.780 ms/op 0.85
altair processBlock - 250000 vs - 7PWei worstcase hashState 58.588 ms/op 65.277 ms/op 0.90
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3851 ms/op 2.5315 ms/op 0.94
phase0 processBlock - 250000 vs - 7PWei worstcase 29.526 ms/op 33.944 ms/op 0.87
altair processEth1Data - 250000 vs - 7PWei normalcase 479.93 us/op 503.50 us/op 0.95
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.076 us/op 9.1850 us/op 1.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 41.107 us/op 37.932 us/op 1.08
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 16.691 us/op 16.202 us/op 1.03
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.045 us/op 9.9270 us/op 1.01
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 136.90 us/op 126.17 us/op 1.09
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2094 ms/op 1.4923 ms/op 0.81
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4293 ms/op 1.6621 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4472 ms/op 1.5014 ms/op 0.96
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.3610 ms/op 3.1146 ms/op 1.08
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2907 ms/op 2.5274 ms/op 0.91
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.7615 ms/op 5.2711 ms/op 0.90
Tree 40 250000 create 297.49 ms/op 339.34 ms/op 0.88
Tree 40 250000 get(125000) 191.45 ns/op 213.28 ns/op 0.90
Tree 40 250000 set(125000) 853.33 ns/op 1.0532 us/op 0.81
Tree 40 250000 toArray() 17.909 ms/op 18.448 ms/op 0.97
Tree 40 250000 iterate all - toArray() + loop 17.909 ms/op 18.425 ms/op 0.97
Tree 40 250000 iterate all - get(i) 67.687 ms/op 70.839 ms/op 0.96
MutableVector 250000 create 12.163 ms/op 12.237 ms/op 0.99
MutableVector 250000 get(125000) 6.3930 ns/op 6.9010 ns/op 0.93
MutableVector 250000 set(125000) 262.20 ns/op 262.04 ns/op 1.00
MutableVector 250000 toArray() 3.1717 ms/op 2.9786 ms/op 1.06
MutableVector 250000 iterate all - toArray() + loop 3.2164 ms/op 3.1771 ms/op 1.01
MutableVector 250000 iterate all - get(i) 1.5157 ms/op 1.6932 ms/op 0.90
Array 250000 create 2.4454 ms/op 2.7840 ms/op 0.88
Array 250000 clone - spread 1.2448 ms/op 1.1148 ms/op 1.12
Array 250000 get(125000) 0.64600 ns/op 0.60800 ns/op 1.06
Array 250000 set(125000) 0.72100 ns/op 0.64700 ns/op 1.11
Array 250000 iterate all - loop 81.998 us/op 112.39 us/op 0.73
effectiveBalanceIncrements clone Uint8Array 300000 30.064 us/op 24.789 us/op 1.21
effectiveBalanceIncrements clone MutableVector 300000 377.00 ns/op 338.00 ns/op 1.12
effectiveBalanceIncrements rw all Uint8Array 300000 183.82 us/op 192.53 us/op 0.95
effectiveBalanceIncrements rw all MutableVector 300000 85.680 ms/op 83.495 ms/op 1.03
phase0 afterProcessEpoch - 250000 vs - 7PWei 110.05 ms/op 124.64 ms/op 0.88
phase0 beforeProcessEpoch - 250000 vs - 7PWei 30.169 ms/op 39.155 ms/op 0.77
altair processEpoch - mainnet_e81889 315.43 ms/op 376.90 ms/op 0.84
mainnet_e81889 - altair beforeProcessEpoch 46.293 ms/op 63.377 ms/op 0.73
mainnet_e81889 - altair processJustificationAndFinalization 14.849 us/op 14.375 us/op 1.03
mainnet_e81889 - altair processInactivityUpdates 5.7464 ms/op 5.5703 ms/op 1.03
mainnet_e81889 - altair processRewardsAndPenalties 67.089 ms/op 71.974 ms/op 0.93
mainnet_e81889 - altair processRegistryUpdates 2.2940 us/op 2.3740 us/op 0.97
mainnet_e81889 - altair processSlashings 425.00 ns/op 508.00 ns/op 0.84
mainnet_e81889 - altair processEth1DataReset 445.00 ns/op 597.00 ns/op 0.75
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2481 ms/op 1.3548 ms/op 0.92
mainnet_e81889 - altair processSlashingsReset 2.4280 us/op 3.0400 us/op 0.80
mainnet_e81889 - altair processRandaoMixesReset 3.7670 us/op 4.4970 us/op 0.84
mainnet_e81889 - altair processHistoricalRootsUpdate 708.00 ns/op 971.00 ns/op 0.73
mainnet_e81889 - altair processParticipationFlagUpdates 1.7840 us/op 2.5240 us/op 0.71
mainnet_e81889 - altair processSyncCommitteeUpdates 1.3250 us/op 860.00 ns/op 1.54
mainnet_e81889 - altair afterProcessEpoch 123.80 ms/op 142.83 ms/op 0.87
capella processEpoch - mainnet_e217614 996.90 ms/op 1.1985 s/op 0.83
mainnet_e217614 - capella beforeProcessEpoch 234.69 ms/op 256.07 ms/op 0.92
mainnet_e217614 - capella processJustificationAndFinalization 12.750 us/op 13.583 us/op 0.94
mainnet_e217614 - capella processInactivityUpdates 15.351 ms/op 18.096 ms/op 0.85
mainnet_e217614 - capella processRewardsAndPenalties 276.78 ms/op 293.54 ms/op 0.94
mainnet_e217614 - capella processRegistryUpdates 21.768 us/op 19.452 us/op 1.12
mainnet_e217614 - capella processSlashings 443.00 ns/op 627.00 ns/op 0.71
mainnet_e217614 - capella processEth1DataReset 399.00 ns/op 533.00 ns/op 0.75
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9410 ms/op 6.2057 ms/op 0.64
mainnet_e217614 - capella processSlashingsReset 2.8020 us/op 2.3580 us/op 1.19
mainnet_e217614 - capella processRandaoMixesReset 3.8640 us/op 3.8550 us/op 1.00
mainnet_e217614 - capella processHistoricalRootsUpdate 472.00 ns/op 646.00 ns/op 0.73
mainnet_e217614 - capella processParticipationFlagUpdates 2.7120 us/op 2.7110 us/op 1.00
mainnet_e217614 - capella afterProcessEpoch 292.43 ms/op 369.03 ms/op 0.79
phase0 processEpoch - mainnet_e58758 320.28 ms/op 421.08 ms/op 0.76
mainnet_e58758 - phase0 beforeProcessEpoch 116.78 ms/op 162.84 ms/op 0.72
mainnet_e58758 - phase0 processJustificationAndFinalization 15.898 us/op 19.239 us/op 0.83
mainnet_e58758 - phase0 processRewardsAndPenalties 56.576 ms/op 61.498 ms/op 0.92
mainnet_e58758 - phase0 processRegistryUpdates 11.083 us/op 11.182 us/op 0.99
mainnet_e58758 - phase0 processSlashings 435.00 ns/op 593.00 ns/op 0.73
mainnet_e58758 - phase0 processEth1DataReset 417.00 ns/op 818.00 ns/op 0.51
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1808 ms/op 1.8951 ms/op 0.62
mainnet_e58758 - phase0 processSlashingsReset 2.1140 us/op 4.0810 us/op 0.52
mainnet_e58758 - phase0 processRandaoMixesReset 3.8470 us/op 5.6380 us/op 0.68
mainnet_e58758 - phase0 processHistoricalRootsUpdate 391.00 ns/op 943.00 ns/op 0.41
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.3730 us/op 8.8250 us/op 0.38
mainnet_e58758 - phase0 afterProcessEpoch 96.245 ms/op 154.63 ms/op 0.62
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2122 ms/op 2.2829 ms/op 0.53
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5247 ms/op 1.9587 ms/op 0.78
altair processInactivityUpdates - 250000 normalcase 19.002 ms/op 37.732 ms/op 0.50
altair processInactivityUpdates - 250000 worstcase 18.568 ms/op 32.090 ms/op 0.58
phase0 processRegistryUpdates - 250000 normalcase 9.3490 us/op 15.928 us/op 0.59
phase0 processRegistryUpdates - 250000 badcase_full_deposits 324.54 us/op 716.86 us/op 0.45
phase0 processRegistryUpdates - 250000 worstcase 0.5 116.67 ms/op 243.58 ms/op 0.48
altair processRewardsAndPenalties - 250000 normalcase 46.075 ms/op 101.96 ms/op 0.45
altair processRewardsAndPenalties - 250000 worstcase 50.410 ms/op 113.68 ms/op 0.44
phase0 getAttestationDeltas - 250000 normalcase 7.7399 ms/op 11.482 ms/op 0.67
phase0 getAttestationDeltas - 250000 worstcase 8.4493 ms/op 13.007 ms/op 0.65
phase0 processSlashings - 250000 worstcase 2.0986 ms/op 3.1204 ms/op 0.67
altair processSyncCommitteeUpdates - 250000 149.47 ms/op 293.25 ms/op 0.51
BeaconState.hashTreeRoot - No change 267.00 ns/op 634.00 ns/op 0.42
BeaconState.hashTreeRoot - 1 full validator 50.988 us/op 123.55 us/op 0.41
BeaconState.hashTreeRoot - 32 full validator 507.79 us/op 1.2902 ms/op 0.39
BeaconState.hashTreeRoot - 512 full validator 5.1667 ms/op 11.020 ms/op 0.47
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 61.836 us/op 111.63 us/op 0.55
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 857.30 us/op 1.6765 ms/op 0.51
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 11.271 ms/op 22.155 ms/op 0.51
BeaconState.hashTreeRoot - 1 balances 47.602 us/op 93.972 us/op 0.51
BeaconState.hashTreeRoot - 32 balances 441.06 us/op 972.92 us/op 0.45
BeaconState.hashTreeRoot - 512 balances 4.4482 ms/op 7.2765 ms/op 0.61
BeaconState.hashTreeRoot - 250000 balances 68.568 ms/op 150.66 ms/op 0.46
aggregationBits - 2048 els - zipIndexesInBitList 14.764 us/op 28.217 us/op 0.52
regular array get 100000 times 32.300 us/op 98.433 us/op 0.33
wrappedArray get 100000 times 31.293 us/op 106.96 us/op 0.29
arrayWithProxy get 100000 times 13.705 ms/op 31.225 ms/op 0.44
ssz.Root.equals 201.00 ns/op 437.00 ns/op 0.46
byteArrayEquals 199.00 ns/op 342.00 ns/op 0.58
shuffle list - 16384 els 6.8250 ms/op 19.777 ms/op 0.35
shuffle list - 250000 els 100.12 ms/op 239.69 ms/op 0.42
processSlot - 1 slots 8.3030 us/op 16.649 us/op 0.50
processSlot - 32 slots 1.2927 ms/op 3.6805 ms/op 0.35
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 50.978 ms/op 86.535 ms/op 0.59
getCommitteeAssignments - req 1 vs - 250000 vc 2.4162 ms/op 4.7341 ms/op 0.51
getCommitteeAssignments - req 100 vs - 250000 vc 3.5673 ms/op 8.7650 ms/op 0.41
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9634 ms/op 6.3596 ms/op 0.62
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5600 ns/op 7.0100 ns/op 0.65
state getBlockRootAtSlot - 250000 vs - 7PWei 805.76 ns/op 1.4623 us/op 0.55
computeProposers - vc 250000 8.4609 ms/op 12.929 ms/op 0.65
computeEpochShuffling - vc 250000 103.13 ms/op 141.18 ms/op 0.73
getNextSyncCommittee - vc 250000 146.01 ms/op 317.54 ms/op 0.46
computeSigningRoot for AttestationData 13.065 us/op 23.700 us/op 0.55
hash AttestationData serialized data then Buffer.toString(base64) 2.2713 us/op 3.4882 us/op 0.65
toHexString serialized data 1.1017 us/op 1.3834 us/op 0.80
Buffer.toString(base64) 198.71 ns/op 283.34 ns/op 0.70

by benchmarkbot/action

@g11tech g11tech enabled auto-merge (squash) August 5, 2023 08:33
@g11tech g11tech merged commit a7466f5 into unstable Aug 5, 2023
11 checks passed
@g11tech g11tech deleted the fix-lvh-typo branch August 5, 2023 08:49
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.

Typo 'LHV' -> 'LVH'?
2 participants