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: producedBlindedBlockRoot metric typo #6153

Merged
merged 1 commit into from
Dec 6, 2023

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Dec 4, 2023

Motivation

Correct producedBlindedBlockRoot metric typo

cc @g11tech

@twoeths twoeths requested a review from a team as a code owner December 4, 2023 07:07
Copy link
Contributor

github-actions bot commented Dec 4, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: e931965 Previous: 5201ac4 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 511.65 us/op 739.80 us/op 0.69
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 86.517 us/op 80.114 us/op 1.08
BLS verify - blst-native 1.2993 ms/op 1.2655 ms/op 1.03
BLS verifyMultipleSignatures 3 - blst-native 2.7415 ms/op 2.6535 ms/op 1.03
BLS verifyMultipleSignatures 8 - blst-native 6.0152 ms/op 5.8306 ms/op 1.03
BLS verifyMultipleSignatures 32 - blst-native 21.962 ms/op 21.319 ms/op 1.03
BLS verifyMultipleSignatures 64 - blst-native 43.307 ms/op 42.009 ms/op 1.03
BLS verifyMultipleSignatures 128 - blst-native 86.099 ms/op 83.378 ms/op 1.03
BLS deserializing 10000 signatures 898.60 ms/op 876.05 ms/op 1.03
BLS deserializing 100000 signatures 9.1284 s/op 8.8350 s/op 1.03
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3347 ms/op 1.3712 ms/op 0.97
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6286 ms/op 1.4199 ms/op 1.15
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.6714 ms/op 2.1971 ms/op 1.22
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4201 ms/op 3.2284 ms/op 1.06
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5884 ms/op 6.6548 ms/op 0.84
BLS aggregatePubkeys 32 - blst-native 25.581 us/op 25.238 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 99.587 us/op 92.664 us/op 1.07
getAttestationsForBlock 37.470 ms/op 43.589 ms/op 0.86
isKnown best case - 1 super set check 380.00 ns/op 287.00 ns/op 1.32
isKnown normal case - 2 super set checks 441.00 ns/op 287.00 ns/op 1.54
isKnown worse case - 16 super set checks 344.00 ns/op 286.00 ns/op 1.20
CheckpointStateCache - add get delete 5.7690 us/op 5.4090 us/op 1.07
validate api signedAggregateAndProof - struct 2.7441 ms/op 2.6343 ms/op 1.04
validate gossip signedAggregateAndProof - struct 2.8136 ms/op 2.6328 ms/op 1.07
validate gossip attestation - vc 640000 1.3540 ms/op 1.3189 ms/op 1.03
batch validate gossip attestation - vc 640000 - chunk 32 161.68 us/op 156.35 us/op 1.03
batch validate gossip attestation - vc 640000 - chunk 64 145.68 us/op 137.84 us/op 1.06
batch validate gossip attestation - vc 640000 - chunk 128 136.61 us/op 126.79 us/op 1.08
batch validate gossip attestation - vc 640000 - chunk 256 133.77 us/op 123.46 us/op 1.08
pickEth1Vote - no votes 1.2705 ms/op 1.1025 ms/op 1.15
pickEth1Vote - max votes 8.5002 ms/op 8.9987 ms/op 0.94
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.539 ms/op 22.652 ms/op 0.69
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 20.352 ms/op 30.686 ms/op 0.66
pickEth1Vote - Eth1Data fastSerialize value x2048 584.36 us/op 548.74 us/op 1.06
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.6152 ms/op 6.2145 ms/op 0.90
bytes32 toHexString 498.00 ns/op 461.00 ns/op 1.08
bytes32 Buffer.toString(hex) 275.00 ns/op 271.00 ns/op 1.01
bytes32 Buffer.toString(hex) from Uint8Array 418.00 ns/op 419.00 ns/op 1.00
bytes32 Buffer.toString(hex) + 0x 277.00 ns/op 275.00 ns/op 1.01
Object access 1 prop 0.16300 ns/op 0.15900 ns/op 1.03
Map access 1 prop 0.14200 ns/op 0.14400 ns/op 0.99
Object get x1000 7.7610 ns/op 6.9940 ns/op 1.11
Map get x1000 0.82800 ns/op 0.73000 ns/op 1.13
Object set x1000 57.869 ns/op 48.248 ns/op 1.20
Map set x1000 45.344 ns/op 37.520 ns/op 1.21
Return object 10000 times 0.24600 ns/op 0.23110 ns/op 1.06
Throw Error 10000 times 3.8801 us/op 3.7598 us/op 1.03
fastMsgIdFn sha256 / 200 bytes 3.3400 us/op 3.1640 us/op 1.06
fastMsgIdFn h32 xxhash / 200 bytes 314.00 ns/op 262.00 ns/op 1.20
fastMsgIdFn h64 xxhash / 200 bytes 363.00 ns/op 325.00 ns/op 1.12
fastMsgIdFn sha256 / 1000 bytes 11.477 us/op 10.905 us/op 1.05
fastMsgIdFn h32 xxhash / 1000 bytes 413.00 ns/op 392.00 ns/op 1.05
fastMsgIdFn h64 xxhash / 1000 bytes 409.00 ns/op 390.00 ns/op 1.05
fastMsgIdFn sha256 / 10000 bytes 102.36 us/op 99.572 us/op 1.03
fastMsgIdFn h32 xxhash / 10000 bytes 1.9050 us/op 1.8790 us/op 1.01
fastMsgIdFn h64 xxhash / 10000 bytes 1.2810 us/op 1.2940 us/op 0.99
send data - 1000 256B messages 19.560 ms/op 17.695 ms/op 1.11
send data - 1000 512B messages 27.972 ms/op 24.884 ms/op 1.12
send data - 1000 1024B messages 42.808 ms/op 39.230 ms/op 1.09
send data - 1000 1200B messages 35.638 ms/op 35.221 ms/op 1.01
send data - 1000 2048B messages 41.235 ms/op 42.159 ms/op 0.98
send data - 1000 4096B messages 39.553 ms/op 40.787 ms/op 0.97
send data - 1000 16384B messages 107.13 ms/op 107.85 ms/op 0.99
send data - 1000 65536B messages 384.71 ms/op 392.78 ms/op 0.98
enrSubnets - fastDeserialize 64 bits 1.1850 us/op 1.2440 us/op 0.95
enrSubnets - ssz BitVector 64 bits 403.00 ns/op 402.00 ns/op 1.00
enrSubnets - fastDeserialize 4 bits 168.00 ns/op 154.00 ns/op 1.09
enrSubnets - ssz BitVector 4 bits 394.00 ns/op 402.00 ns/op 0.98
prioritizePeers score -10:0 att 32-0.1 sync 2-0 99.409 us/op 99.907 us/op 1.00
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 121.39 us/op 117.11 us/op 1.04
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 152.97 us/op 159.60 us/op 0.96
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 272.78 us/op 317.38 us/op 0.86
prioritizePeers score 0:0 att 64-1 sync 4-1 339.23 us/op 333.56 us/op 1.02
array of 16000 items push then shift 1.5386 us/op 1.5818 us/op 0.97
LinkedList of 16000 items push then shift 8.5070 ns/op 8.7610 ns/op 0.97
array of 16000 items push then pop 84.925 ns/op 82.861 ns/op 1.02
LinkedList of 16000 items push then pop 8.5170 ns/op 8.5250 ns/op 1.00
array of 24000 items push then shift 2.4493 us/op 2.3338 us/op 1.05
LinkedList of 24000 items push then shift 8.8090 ns/op 8.7430 ns/op 1.01
array of 24000 items push then pop 114.48 ns/op 102.43 ns/op 1.12
LinkedList of 24000 items push then pop 8.3020 ns/op 8.4490 ns/op 0.98
intersect bitArray bitLen 8 6.1540 ns/op 6.2420 ns/op 0.99
intersect array and set length 8 58.727 ns/op 59.985 ns/op 0.98
intersect bitArray bitLen 128 32.347 ns/op 33.098 ns/op 0.98
intersect array and set length 128 810.62 ns/op 829.06 ns/op 0.98
bitArray.getTrueBitIndexes() bitLen 128 1.4280 us/op 1.3580 us/op 1.05
bitArray.getTrueBitIndexes() bitLen 248 2.4240 us/op 2.3270 us/op 1.04
bitArray.getTrueBitIndexes() bitLen 512 4.6930 us/op 4.5050 us/op 1.04
Buffer.concat 32 items 1.0500 us/op 888.00 ns/op 1.18
Uint8Array.set 32 items 1.5570 us/op 1.5930 us/op 0.98
Set add up to 64 items then delete first 4.2735 us/op 4.2085 us/op 1.02
OrderedSet add up to 64 items then delete first 5.3481 us/op 5.2836 us/op 1.01
Set add up to 64 items then delete last 4.5829 us/op 4.5890 us/op 1.00
OrderedSet add up to 64 items then delete last 5.7488 us/op 5.6447 us/op 1.02
Set add up to 64 items then delete middle 4.5925 us/op 4.4479 us/op 1.03
OrderedSet add up to 64 items then delete middle 6.9306 us/op 6.8222 us/op 1.02
Set add up to 128 items then delete first 9.1213 us/op 9.1799 us/op 0.99
OrderedSet add up to 128 items then delete first 12.180 us/op 12.150 us/op 1.00
Set add up to 128 items then delete last 9.2101 us/op 9.1242 us/op 1.01
OrderedSet add up to 128 items then delete last 11.621 us/op 11.377 us/op 1.02
Set add up to 128 items then delete middle 9.1628 us/op 8.8459 us/op 1.04
OrderedSet add up to 128 items then delete middle 16.881 us/op 16.465 us/op 1.03
Set add up to 256 items then delete first 18.778 us/op 18.746 us/op 1.00
OrderedSet add up to 256 items then delete first 25.276 us/op 24.950 us/op 1.01
Set add up to 256 items then delete last 18.227 us/op 18.094 us/op 1.01
OrderedSet add up to 256 items then delete last 23.716 us/op 22.901 us/op 1.04
Set add up to 256 items then delete middle 18.383 us/op 17.600 us/op 1.04
OrderedSet add up to 256 items then delete middle 44.857 us/op 43.877 us/op 1.02
transfer serialized Status (84 B) 1.7030 us/op 1.6920 us/op 1.01
copy serialized Status (84 B) 1.4020 us/op 1.4580 us/op 0.96
transfer serialized SignedVoluntaryExit (112 B) 1.7780 us/op 2.0590 us/op 0.86
copy serialized SignedVoluntaryExit (112 B) 1.4570 us/op 1.7370 us/op 0.84
transfer serialized ProposerSlashing (416 B) 1.8730 us/op 2.8520 us/op 0.66
copy serialized ProposerSlashing (416 B) 1.7070 us/op 2.6770 us/op 0.64
transfer serialized Attestation (485 B) 1.9430 us/op 2.6390 us/op 0.74
copy serialized Attestation (485 B) 1.8360 us/op 2.9840 us/op 0.62
transfer serialized AttesterSlashing (33232 B) 2.0720 us/op 3.1810 us/op 0.65
copy serialized AttesterSlashing (33232 B) 12.394 us/op 6.2910 us/op 1.97
transfer serialized Small SignedBeaconBlock (128000 B) 2.5390 us/op 2.8860 us/op 0.88
copy serialized Small SignedBeaconBlock (128000 B) 12.597 us/op 16.054 us/op 0.78
transfer serialized Avg SignedBeaconBlock (200000 B) 3.0680 us/op 3.2270 us/op 0.95
copy serialized Avg SignedBeaconBlock (200000 B) 19.426 us/op 22.421 us/op 0.87
transfer serialized BlobsSidecar (524380 B) 2.9890 us/op 2.8530 us/op 1.05
copy serialized BlobsSidecar (524380 B) 91.962 us/op 88.633 us/op 1.04
transfer serialized Big SignedBeaconBlock (1000000 B) 3.8050 us/op 3.1240 us/op 1.22
copy serialized Big SignedBeaconBlock (1000000 B) 231.86 us/op 161.75 us/op 1.43
pass gossip attestations to forkchoice per slot 4.2548 ms/op 4.0058 ms/op 1.06
forkChoice updateHead vc 100000 bc 64 eq 0 741.65 us/op 719.43 us/op 1.03
forkChoice updateHead vc 600000 bc 64 eq 0 5.0140 ms/op 5.1202 ms/op 0.98
forkChoice updateHead vc 1000000 bc 64 eq 0 7.1477 ms/op 6.8886 ms/op 1.04
forkChoice updateHead vc 600000 bc 320 eq 0 4.2623 ms/op 3.9607 ms/op 1.08
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4744 ms/op 4.0298 ms/op 1.11
forkChoice updateHead vc 600000 bc 7200 eq 0 5.5024 ms/op 4.9291 ms/op 1.12
forkChoice updateHead vc 600000 bc 64 eq 1000 11.431 ms/op 10.471 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 10000 12.120 ms/op 11.242 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 300000 18.762 ms/op 14.930 ms/op 1.26
computeDeltas 500000 validators 300 proto nodes 6.5992 ms/op 6.4080 ms/op 1.03
computeDeltas 500000 validators 1200 proto nodes 6.5760 ms/op 6.5627 ms/op 1.00
computeDeltas 500000 validators 7200 proto nodes 6.4025 ms/op 6.2924 ms/op 1.02
computeDeltas 750000 validators 300 proto nodes 9.6050 ms/op 9.5432 ms/op 1.01
computeDeltas 750000 validators 1200 proto nodes 9.5929 ms/op 9.5263 ms/op 1.01
computeDeltas 750000 validators 7200 proto nodes 9.5022 ms/op 9.5998 ms/op 0.99
computeDeltas 1400000 validators 300 proto nodes 18.726 ms/op 17.934 ms/op 1.04
computeDeltas 1400000 validators 1200 proto nodes 18.594 ms/op 17.833 ms/op 1.04
computeDeltas 1400000 validators 7200 proto nodes 18.382 ms/op 17.630 ms/op 1.04
computeDeltas 2100000 validators 300 proto nodes 27.747 ms/op 27.325 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 27.144 ms/op 27.603 ms/op 0.98
computeDeltas 2100000 validators 7200 proto nodes 27.329 ms/op 28.509 ms/op 0.96
computeProposerBoostScoreFromBalances 500000 validators 3.7280 ms/op 3.5905 ms/op 1.04
computeProposerBoostScoreFromBalances 750000 validators 3.7627 ms/op 3.6214 ms/op 1.04
computeProposerBoostScoreFromBalances 1400000 validators 3.7586 ms/op 3.6578 ms/op 1.03
computeProposerBoostScoreFromBalances 2100000 validators 3.8113 ms/op 3.6559 ms/op 1.04
altair processAttestation - 250000 vs - 7PWei normalcase 3.5493 ms/op 2.2217 ms/op 1.60
altair processAttestation - 250000 vs - 7PWei worstcase 3.7666 ms/op 3.2264 ms/op 1.17
altair processAttestation - setStatus - 1/6 committees join 184.65 us/op 171.14 us/op 1.08
altair processAttestation - setStatus - 1/3 committees join 349.37 us/op 332.49 us/op 1.05
altair processAttestation - setStatus - 1/2 committees join 461.45 us/op 446.79 us/op 1.03
altair processAttestation - setStatus - 2/3 committees join 604.70 us/op 550.07 us/op 1.10
altair processAttestation - setStatus - 4/5 committees join 820.40 us/op 770.34 us/op 1.06
altair processAttestation - setStatus - 100% committees join 956.70 us/op 870.17 us/op 1.10
altair processBlock - 250000 vs - 7PWei normalcase 11.719 ms/op 10.071 ms/op 1.16
altair processBlock - 250000 vs - 7PWei normalcase hashState 37.174 ms/op 36.180 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase 37.889 ms/op 35.483 ms/op 1.07
altair processBlock - 250000 vs - 7PWei worstcase hashState 96.902 ms/op 92.005 ms/op 1.05
phase0 processBlock - 250000 vs - 7PWei normalcase 2.5505 ms/op 3.4608 ms/op 0.74
phase0 processBlock - 250000 vs - 7PWei worstcase 30.406 ms/op 31.258 ms/op 0.97
altair processEth1Data - 250000 vs - 7PWei normalcase 569.27 us/op 539.71 us/op 1.05
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.634 us/op 14.236 us/op 0.89
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 61.591 us/op 94.485 us/op 0.65
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 18.940 us/op 16.762 us/op 1.13
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 9.0400 us/op 17.887 us/op 0.51
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 184.31 us/op 212.96 us/op 0.87
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2741 ms/op 2.0891 ms/op 0.61
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.8668 ms/op 2.8574 ms/op 0.65
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.5358 ms/op 2.2329 ms/op 0.69
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.8782 ms/op 3.3195 ms/op 1.17
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.5994 ms/op 2.1714 ms/op 1.20
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.3968 ms/op 4.6929 ms/op 1.15
Tree 40 250000 create 348.93 ms/op 347.23 ms/op 1.00
Tree 40 250000 get(125000) 198.22 ns/op 189.35 ns/op 1.05
Tree 40 250000 set(125000) 1.0261 us/op 970.46 ns/op 1.06
Tree 40 250000 toArray() 22.596 ms/op 18.870 ms/op 1.20
Tree 40 250000 iterate all - toArray() + loop 21.282 ms/op 18.874 ms/op 1.13
Tree 40 250000 iterate all - get(i) 72.165 ms/op 66.009 ms/op 1.09
MutableVector 250000 create 12.907 ms/op 16.656 ms/op 0.77
MutableVector 250000 get(125000) 7.1120 ns/op 6.3550 ns/op 1.12
MutableVector 250000 set(125000) 253.30 ns/op 252.79 ns/op 1.00
MutableVector 250000 toArray() 3.1574 ms/op 3.2358 ms/op 0.98
MutableVector 250000 iterate all - toArray() + loop 3.3234 ms/op 3.2470 ms/op 1.02
MutableVector 250000 iterate all - get(i) 1.5488 ms/op 1.4793 ms/op 1.05
Array 250000 create 2.6131 ms/op 2.7956 ms/op 0.93
Array 250000 clone - spread 1.2375 ms/op 1.2731 ms/op 0.97
Array 250000 get(125000) 1.0090 ns/op 1.0200 ns/op 0.99
Array 250000 set(125000) 4.0670 ns/op 4.0770 ns/op 1.00
Array 250000 iterate all - loop 164.85 us/op 161.92 us/op 1.02
effectiveBalanceIncrements clone Uint8Array 300000 28.267 us/op 26.647 us/op 1.06
effectiveBalanceIncrements clone MutableVector 300000 334.00 ns/op 366.00 ns/op 0.91
effectiveBalanceIncrements rw all Uint8Array 300000 198.39 us/op 194.48 us/op 1.02
effectiveBalanceIncrements rw all MutableVector 300000 80.547 ms/op 82.126 ms/op 0.98
phase0 afterProcessEpoch - 250000 vs - 7PWei 112.54 ms/op 109.44 ms/op 1.03
phase0 beforeProcessEpoch - 250000 vs - 7PWei 49.328 ms/op 53.800 ms/op 0.92
altair processEpoch - mainnet_e81889 509.08 ms/op 519.62 ms/op 0.98
mainnet_e81889 - altair beforeProcessEpoch 89.134 ms/op 78.556 ms/op 1.13
mainnet_e81889 - altair processJustificationAndFinalization 15.212 us/op 22.938 us/op 0.66
mainnet_e81889 - altair processInactivityUpdates 7.2368 ms/op 5.4911 ms/op 1.32
mainnet_e81889 - altair processRewardsAndPenalties 66.169 ms/op 72.962 ms/op 0.91
mainnet_e81889 - altair processRegistryUpdates 4.2140 us/op 3.9670 us/op 1.06
mainnet_e81889 - altair processSlashings 549.00 ns/op 717.00 ns/op 0.77
mainnet_e81889 - altair processEth1DataReset 489.00 ns/op 766.00 ns/op 0.64
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3949 ms/op 2.5904 ms/op 0.54
mainnet_e81889 - altair processSlashingsReset 3.5850 us/op 6.2860 us/op 0.57
mainnet_e81889 - altair processRandaoMixesReset 4.2810 us/op 8.1360 us/op 0.53
mainnet_e81889 - altair processHistoricalRootsUpdate 737.00 ns/op 916.00 ns/op 0.80
mainnet_e81889 - altair processParticipationFlagUpdates 2.0300 us/op 3.8570 us/op 0.53
mainnet_e81889 - altair processSyncCommitteeUpdates 916.00 ns/op 1.0630 us/op 0.86
mainnet_e81889 - altair afterProcessEpoch 120.55 ms/op 116.83 ms/op 1.03
capella processEpoch - mainnet_e217614 2.0302 s/op 2.2645 s/op 0.90
mainnet_e217614 - capella beforeProcessEpoch 453.29 ms/op 452.75 ms/op 1.00
mainnet_e217614 - capella processJustificationAndFinalization 14.580 us/op 18.230 us/op 0.80
mainnet_e217614 - capella processInactivityUpdates 16.664 ms/op 19.164 ms/op 0.87
mainnet_e217614 - capella processRewardsAndPenalties 426.69 ms/op 412.86 ms/op 1.03
mainnet_e217614 - capella processRegistryUpdates 21.931 us/op 28.128 us/op 0.78
mainnet_e217614 - capella processSlashings 476.00 ns/op 824.00 ns/op 0.58
mainnet_e217614 - capella processEth1DataReset 407.00 ns/op 720.00 ns/op 0.57
mainnet_e217614 - capella processEffectiveBalanceUpdates 11.783 ms/op 4.9102 ms/op 2.40
mainnet_e217614 - capella processSlashingsReset 4.0950 us/op 3.9550 us/op 1.04
mainnet_e217614 - capella processRandaoMixesReset 5.6350 us/op 6.9890 us/op 0.81
mainnet_e217614 - capella processHistoricalRootsUpdate 486.00 ns/op 979.00 ns/op 0.50
mainnet_e217614 - capella processParticipationFlagUpdates 1.6970 us/op 3.3360 us/op 0.51
mainnet_e217614 - capella afterProcessEpoch 314.44 ms/op 286.22 ms/op 1.10
phase0 processEpoch - mainnet_e58758 485.11 ms/op 471.45 ms/op 1.03
mainnet_e58758 - phase0 beforeProcessEpoch 167.51 ms/op 151.88 ms/op 1.10
mainnet_e58758 - phase0 processJustificationAndFinalization 18.122 us/op 25.387 us/op 0.71
mainnet_e58758 - phase0 processRewardsAndPenalties 40.832 ms/op 60.222 ms/op 0.68
mainnet_e58758 - phase0 processRegistryUpdates 12.875 us/op 14.165 us/op 0.91
mainnet_e58758 - phase0 processSlashings 695.00 ns/op 861.00 ns/op 0.81
mainnet_e58758 - phase0 processEth1DataReset 514.00 ns/op 657.00 ns/op 0.78
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1911 ms/op 2.1616 ms/op 0.55
mainnet_e58758 - phase0 processSlashingsReset 3.2780 us/op 4.3730 us/op 0.75
mainnet_e58758 - phase0 processRandaoMixesReset 4.5550 us/op 6.3850 us/op 0.71
mainnet_e58758 - phase0 processHistoricalRootsUpdate 497.00 ns/op 653.00 ns/op 0.76
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.2020 us/op 4.9200 us/op 0.85
mainnet_e58758 - phase0 afterProcessEpoch 103.62 ms/op 94.514 ms/op 1.10
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4345 ms/op 2.4886 ms/op 0.58
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5302 ms/op 2.6895 ms/op 0.57
altair processInactivityUpdates - 250000 normalcase 22.770 ms/op 27.062 ms/op 0.84
altair processInactivityUpdates - 250000 worstcase 27.764 ms/op 31.394 ms/op 0.88
phase0 processRegistryUpdates - 250000 normalcase 9.5940 us/op 11.032 us/op 0.87
phase0 processRegistryUpdates - 250000 badcase_full_deposits 355.12 us/op 617.43 us/op 0.58
phase0 processRegistryUpdates - 250000 worstcase 0.5 153.20 ms/op 122.35 ms/op 1.25
altair processRewardsAndPenalties - 250000 normalcase 62.494 ms/op 65.473 ms/op 0.95
altair processRewardsAndPenalties - 250000 worstcase 55.412 ms/op 63.254 ms/op 0.88
phase0 getAttestationDeltas - 250000 normalcase 10.215 ms/op 8.4964 ms/op 1.20
phase0 getAttestationDeltas - 250000 worstcase 11.220 ms/op 8.5149 ms/op 1.32
phase0 processSlashings - 250000 worstcase 127.08 us/op 132.70 us/op 0.96
altair processSyncCommitteeUpdates - 250000 173.54 ms/op 156.13 ms/op 1.11
BeaconState.hashTreeRoot - No change 254.00 ns/op 232.00 ns/op 1.09
BeaconState.hashTreeRoot - 1 full validator 168.44 us/op 143.72 us/op 1.17
BeaconState.hashTreeRoot - 32 full validator 1.8721 ms/op 1.6988 ms/op 1.10
BeaconState.hashTreeRoot - 512 full validator 20.364 ms/op 18.722 ms/op 1.09
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 215.38 us/op 209.62 us/op 1.03
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 3.0093 ms/op 2.9605 ms/op 1.02
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 37.489 ms/op 40.666 ms/op 0.92
BeaconState.hashTreeRoot - 1 balances 177.01 us/op 172.29 us/op 1.03
BeaconState.hashTreeRoot - 32 balances 1.5787 ms/op 1.5157 ms/op 1.04
BeaconState.hashTreeRoot - 512 balances 15.327 ms/op 13.488 ms/op 1.14
BeaconState.hashTreeRoot - 250000 balances 242.38 ms/op 226.13 ms/op 1.07
aggregationBits - 2048 els - zipIndexesInBitList 21.019 us/op 16.840 us/op 1.25
byteArrayEquals 32 79.809 ns/op 71.868 ns/op 1.11
Buffer.compare 32 57.007 ns/op 53.054 ns/op 1.07
byteArrayEquals 1024 2.1115 us/op 1.9609 us/op 1.08
Buffer.compare 1024 71.937 ns/op 67.485 ns/op 1.07
byteArrayEquals 16384 34.751 us/op 31.237 us/op 1.11
Buffer.compare 16384 259.79 ns/op 261.56 ns/op 0.99
byteArrayEquals 123687377 263.48 ms/op 242.66 ms/op 1.09
Buffer.compare 123687377 11.754 ms/op 6.1094 ms/op 1.92
byteArrayEquals 32 - diff last byte 87.097 ns/op 71.367 ns/op 1.22
Buffer.compare 32 - diff last byte 59.684 ns/op 58.118 ns/op 1.03
byteArrayEquals 1024 - diff last byte 2.1891 us/op 1.9693 us/op 1.11
Buffer.compare 1024 - diff last byte 76.748 ns/op 68.669 ns/op 1.12
byteArrayEquals 16384 - diff last byte 36.079 us/op 31.432 us/op 1.15
Buffer.compare 16384 - diff last byte 285.53 ns/op 249.55 ns/op 1.14
byteArrayEquals 123687377 - diff last byte 279.33 ms/op 230.83 ms/op 1.21
Buffer.compare 123687377 - diff last byte 12.109 ms/op 6.0457 ms/op 2.00
byteArrayEquals 32 - random bytes 7.6400 ns/op 4.9260 ns/op 1.55
Buffer.compare 32 - random bytes 67.263 ns/op 56.810 ns/op 1.18
byteArrayEquals 1024 - random bytes 6.8710 ns/op 4.8440 ns/op 1.42
Buffer.compare 1024 - random bytes 66.502 ns/op 56.289 ns/op 1.18
byteArrayEquals 16384 - random bytes 6.7900 ns/op 4.8370 ns/op 1.40
Buffer.compare 16384 - random bytes 63.589 ns/op 56.641 ns/op 1.12
byteArrayEquals 123687377 - random bytes 16.940 ns/op 7.6600 ns/op 2.21
Buffer.compare 123687377 - random bytes 77.910 ns/op 59.080 ns/op 1.32
regular array get 100000 times 49.731 us/op 41.319 us/op 1.20
wrappedArray get 100000 times 50.065 us/op 41.412 us/op 1.21
arrayWithProxy get 100000 times 15.522 ms/op 14.652 ms/op 1.06
ssz.Root.equals 59.650 ns/op 53.055 ns/op 1.12
byteArrayEquals 60.907 ns/op 52.170 ns/op 1.17
Buffer.compare 13.709 ns/op 10.652 ns/op 1.29
shuffle list - 16384 els 8.0427 ms/op 6.7463 ms/op 1.19
shuffle list - 250000 els 118.35 ms/op 99.956 ms/op 1.18
processSlot - 1 slots 22.251 us/op 18.299 us/op 1.22
processSlot - 32 slots 4.9774 ms/op 3.3333 ms/op 1.49
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 66.599 ms/op 59.612 ms/op 1.12
getCommitteeAssignments - req 1 vs - 250000 vc 2.6492 ms/op 2.4814 ms/op 1.07
getCommitteeAssignments - req 100 vs - 250000 vc 4.0994 ms/op 3.6492 ms/op 1.12
getCommitteeAssignments - req 1000 vs - 250000 vc 4.3356 ms/op 3.9909 ms/op 1.09
findModifiedValidators - 10000 modified validators 681.49 ms/op 542.18 ms/op 1.26
findModifiedValidators - 1000 modified validators 545.79 ms/op 412.23 ms/op 1.32
findModifiedValidators - 100 modified validators 561.76 ms/op 352.91 ms/op 1.59
findModifiedValidators - 10 modified validators 558.50 ms/op 385.94 ms/op 1.45
findModifiedValidators - 1 modified validators 563.29 ms/op 397.51 ms/op 1.42
findModifiedValidators - no difference 559.63 ms/op 416.14 ms/op 1.34
compare ViewDUs 5.4325 s/op 5.0722 s/op 1.07
compare each validator Uint8Array 1.9893 s/op 1.5912 s/op 1.25
compare ViewDU to Uint8Array 1.5628 s/op 1.0794 s/op 1.45
migrate state 1000000 validators, 24 modified, 0 new 952.55 ms/op 897.63 ms/op 1.06
migrate state 1000000 validators, 1700 modified, 1000 new 1.0603 s/op 1.1896 s/op 0.89
migrate state 1000000 validators, 3400 modified, 2000 new 1.1808 s/op 1.4153 s/op 0.83
migrate state 1500000 validators, 24 modified, 0 new 782.84 ms/op 898.74 ms/op 0.87
migrate state 1500000 validators, 1700 modified, 1000 new 1.0500 s/op 1.1975 s/op 0.88
migrate state 1500000 validators, 3400 modified, 2000 new 1.3163 s/op 1.3649 s/op 0.96
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.2800 ns/op 4.0200 ns/op 1.06
state getBlockRootAtSlot - 250000 vs - 7PWei 855.56 ns/op 926.66 ns/op 0.92
computeProposers - vc 250000 8.9145 ms/op 8.5250 ms/op 1.05
computeEpochShuffling - vc 250000 102.80 ms/op 100.77 ms/op 1.02
getNextSyncCommittee - vc 250000 155.45 ms/op 147.26 ms/op 1.06
computeSigningRoot for AttestationData 28.663 us/op 27.681 us/op 1.04
hash AttestationData serialized data then Buffer.toString(base64) 2.2692 us/op 2.2381 us/op 1.01
toHexString serialized data 1.0618 us/op 1.0545 us/op 1.01
Buffer.toString(base64) 206.42 ns/op 212.35 ns/op 0.97

by benchmarkbot/action

@twoeths twoeths merged commit 836fabf into unstable Dec 6, 2023
14 of 15 checks passed
@twoeths twoeths deleted the tuyen/producedBlindedBlockRoot_metric_typo branch December 6, 2023 03:13
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.13.0 🎉

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.

3 participants