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

feat: add error log to notifier if execution client auth failed #7239

Merged
merged 3 commits into from
Dec 2, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Nov 25, 2024

Motivation

Follow up on #6919, while it's less likely that this happens unnoticed, ie. in case the initial error is missed, a user might still miss it when updating EL client and for some reason changing the secret.

Description

Add error log to notifier if execution client auth failed. The error will be logged at the start of every epoch if EL authentication is not working (eg. due to mismatching JWT secret)

@nflaig nflaig requested a review from a team as a code owner November 25, 2024 16:27
Copy link
Contributor

github-actions bot commented Nov 25, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: aef91a0 Previous: aaac34a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7798 ms/op 2.3495 ms/op 0.76
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 44.032 us/op 54.690 us/op 0.81
BLS verify - blst 893.31 us/op 877.88 us/op 1.02
BLS verifyMultipleSignatures 3 - blst 1.2891 ms/op 1.3142 ms/op 0.98
BLS verifyMultipleSignatures 8 - blst 1.9373 ms/op 1.7301 ms/op 1.12
BLS verifyMultipleSignatures 32 - blst 4.4510 ms/op 5.1367 ms/op 0.87
BLS verifyMultipleSignatures 64 - blst 8.1426 ms/op 9.7155 ms/op 0.84
BLS verifyMultipleSignatures 128 - blst 15.020 ms/op 18.178 ms/op 0.83
BLS deserializing 10000 signatures 608.32 ms/op 707.24 ms/op 0.86
BLS deserializing 100000 signatures 6.1376 s/op 7.0027 s/op 0.88
BLS verifyMultipleSignatures - same message - 3 - blst 946.57 us/op 909.28 us/op 1.04
BLS verifyMultipleSignatures - same message - 8 - blst 1.1006 ms/op 1.0677 ms/op 1.03
BLS verifyMultipleSignatures - same message - 32 - blst 1.6928 ms/op 1.7150 ms/op 0.99
BLS verifyMultipleSignatures - same message - 64 - blst 2.5495 ms/op 2.5694 ms/op 0.99
BLS verifyMultipleSignatures - same message - 128 - blst 4.1368 ms/op 4.3791 ms/op 0.94
BLS aggregatePubkeys 32 - blst 18.023 us/op 19.448 us/op 0.93
BLS aggregatePubkeys 128 - blst 62.529 us/op 69.584 us/op 0.90
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 49.634 ms/op 55.837 ms/op 0.89
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 39.798 ms/op 55.150 ms/op 0.72
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 36.961 ms/op 50.674 ms/op 0.73
getSlashingsAndExits - default max 71.643 us/op 115.11 us/op 0.62
getSlashingsAndExits - 2k 335.17 us/op 271.42 us/op 1.23
proposeBlockBody type=full, size=empty 6.8273 ms/op 5.9290 ms/op 1.15
isKnown best case - 1 super set check 737.00 ns/op 285.00 ns/op 2.59
isKnown normal case - 2 super set checks 610.00 ns/op 281.00 ns/op 2.17
isKnown worse case - 16 super set checks 763.00 ns/op 292.00 ns/op 2.61
InMemoryCheckpointStateCache - add get delete 3.5090 us/op 2.9220 us/op 1.20
validate api signedAggregateAndProof - struct 1.6126 ms/op 1.3995 ms/op 1.15
validate gossip signedAggregateAndProof - struct 1.5871 ms/op 1.4625 ms/op 1.09
batch validate gossip attestation - vc 640000 - chunk 32 140.74 us/op 128.83 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 64 131.61 us/op 112.79 us/op 1.17
batch validate gossip attestation - vc 640000 - chunk 128 115.80 us/op 104.12 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 256 107.23 us/op 107.72 us/op 1.00
pickEth1Vote - no votes 1.0510 ms/op 1.1445 ms/op 0.92
pickEth1Vote - max votes 8.3033 ms/op 6.2161 ms/op 1.34
pickEth1Vote - Eth1Data hashTreeRoot value x2048 21.344 ms/op 15.655 ms/op 1.36
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 24.214 ms/op 21.357 ms/op 1.13
pickEth1Vote - Eth1Data fastSerialize value x2048 540.94 us/op 573.76 us/op 0.94
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.0952 ms/op 2.7316 ms/op 1.13
bytes32 toHexString 832.00 ns/op 497.00 ns/op 1.67
bytes32 Buffer.toString(hex) 478.00 ns/op 260.00 ns/op 1.84
bytes32 Buffer.toString(hex) from Uint8Array 688.00 ns/op 436.00 ns/op 1.58
bytes32 Buffer.toString(hex) + 0x 555.00 ns/op 269.00 ns/op 2.06
Object access 1 prop 0.37600 ns/op 0.14500 ns/op 2.59
Map access 1 prop 0.34000 ns/op 0.13700 ns/op 2.48
Object get x1000 5.3210 ns/op 6.1240 ns/op 0.87
Map get x1000 6.3390 ns/op 6.4310 ns/op 0.99
Object set x1000 28.720 ns/op 35.694 ns/op 0.80
Map set x1000 21.154 ns/op 24.693 ns/op 0.86
Return object 10000 times 0.30900 ns/op 0.30440 ns/op 1.02
Throw Error 10000 times 2.8402 us/op 3.5492 us/op 0.80
toHex 119.20 ns/op 166.71 ns/op 0.72
Buffer.from 109.76 ns/op 156.91 ns/op 0.70
shared Buffer 76.570 ns/op 96.598 ns/op 0.79
fastMsgIdFn sha256 / 200 bytes 2.2080 us/op 2.3880 us/op 0.92
fastMsgIdFn h32 xxhash / 200 bytes 514.00 ns/op 286.00 ns/op 1.80
fastMsgIdFn h64 xxhash / 200 bytes 528.00 ns/op 274.00 ns/op 1.93
fastMsgIdFn sha256 / 1000 bytes 6.1850 us/op 7.7420 us/op 0.80
fastMsgIdFn h32 xxhash / 1000 bytes 645.00 ns/op 408.00 ns/op 1.58
fastMsgIdFn h64 xxhash / 1000 bytes 628.00 ns/op 362.00 ns/op 1.73
fastMsgIdFn sha256 / 10000 bytes 50.348 us/op 66.292 us/op 0.76
fastMsgIdFn h32 xxhash / 10000 bytes 2.0550 us/op 1.9680 us/op 1.04
fastMsgIdFn h64 xxhash / 10000 bytes 1.4340 us/op 1.2870 us/op 1.11
send data - 1000 256B messages 14.757 ms/op 14.632 ms/op 1.01
send data - 1000 512B messages 19.022 ms/op 19.536 ms/op 0.97
send data - 1000 1024B messages 31.239 ms/op 28.528 ms/op 1.10
send data - 1000 1200B messages 27.457 ms/op 27.238 ms/op 1.01
send data - 1000 2048B messages 40.459 ms/op 34.959 ms/op 1.16
send data - 1000 4096B messages 37.032 ms/op 33.270 ms/op 1.11
send data - 1000 16384B messages 106.28 ms/op 74.311 ms/op 1.43
send data - 1000 65536B messages 457.80 ms/op 224.41 ms/op 2.04
enrSubnets - fastDeserialize 64 bits 1.9000 us/op 1.2460 us/op 1.52
enrSubnets - ssz BitVector 64 bits 701.00 ns/op 368.00 ns/op 1.90
enrSubnets - fastDeserialize 4 bits 477.00 ns/op 196.00 ns/op 2.43
enrSubnets - ssz BitVector 4 bits 703.00 ns/op 463.00 ns/op 1.52
prioritizePeers score -10:0 att 32-0.1 sync 2-0 272.51 us/op 215.48 us/op 1.26
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 262.14 us/op 151.84 us/op 1.73
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 445.16 us/op 360.59 us/op 1.23
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 563.93 us/op 457.59 us/op 1.23
prioritizePeers score 0:0 att 64-1 sync 4-1 1.1746 ms/op 828.33 us/op 1.42
array of 16000 items push then shift 1.3968 us/op 1.7721 us/op 0.79
LinkedList of 16000 items push then shift 8.3020 ns/op 8.0550 ns/op 1.03
array of 16000 items push then pop 151.52 ns/op 136.73 ns/op 1.11
LinkedList of 16000 items push then pop 6.8650 ns/op 7.6050 ns/op 0.90
array of 24000 items push then shift 2.0295 us/op 2.5424 us/op 0.80
LinkedList of 24000 items push then shift 7.7400 ns/op 7.9910 ns/op 0.97
array of 24000 items push then pop 198.25 ns/op 184.89 ns/op 1.07
LinkedList of 24000 items push then pop 7.5420 ns/op 8.0050 ns/op 0.94
intersect bitArray bitLen 8 5.6800 ns/op 6.9250 ns/op 0.82
intersect array and set length 8 43.324 ns/op 70.080 ns/op 0.62
intersect bitArray bitLen 128 27.415 ns/op 32.234 ns/op 0.85
intersect array and set length 128 679.69 ns/op 931.98 ns/op 0.73
bitArray.getTrueBitIndexes() bitLen 128 3.6080 us/op 2.2830 us/op 1.58
bitArray.getTrueBitIndexes() bitLen 248 4.2850 us/op 3.8590 us/op 1.11
bitArray.getTrueBitIndexes() bitLen 512 8.7720 us/op 9.0010 us/op 0.97
Buffer.concat 32 items 1.3120 us/op 1.0520 us/op 1.25
Uint8Array.set 32 items 2.3550 us/op 1.7340 us/op 1.36
Buffer.copy 2.2320 us/op 1.8530 us/op 1.20
Uint8Array.set - with subarray 3.0780 us/op 2.8990 us/op 1.06
Uint8Array.set - without subarray 1.8280 us/op 1.7320 us/op 1.06
getUint32 - dataview 526.00 ns/op 292.00 ns/op 1.80
getUint32 - manual 518.00 ns/op 223.00 ns/op 2.32
Set add up to 64 items then delete first 2.0045 us/op 2.8720 us/op 0.70
OrderedSet add up to 64 items then delete first 2.9893 us/op 4.8879 us/op 0.61
Set add up to 64 items then delete last 2.1453 us/op 3.3975 us/op 0.63
OrderedSet add up to 64 items then delete last 3.3247 us/op 4.1919 us/op 0.79
Set add up to 64 items then delete middle 2.2244 us/op 3.3042 us/op 0.67
OrderedSet add up to 64 items then delete middle 4.9731 us/op 6.3160 us/op 0.79
Set add up to 128 items then delete first 4.2323 us/op 6.1725 us/op 0.69
OrderedSet add up to 128 items then delete first 6.5985 us/op 10.365 us/op 0.64
Set add up to 128 items then delete last 4.9714 us/op 6.5444 us/op 0.76
OrderedSet add up to 128 items then delete last 7.9226 us/op 8.5805 us/op 0.92
Set add up to 128 items then delete middle 4.4860 us/op 5.4645 us/op 0.82
OrderedSet add up to 128 items then delete middle 15.021 us/op 16.751 us/op 0.90
Set add up to 256 items then delete first 8.3557 us/op 13.392 us/op 0.62
OrderedSet add up to 256 items then delete first 19.080 us/op 20.530 us/op 0.93
Set add up to 256 items then delete last 9.2370 us/op 12.176 us/op 0.76
OrderedSet add up to 256 items then delete last 14.228 us/op 20.031 us/op 0.71
Set add up to 256 items then delete middle 9.0399 us/op 13.529 us/op 0.67
OrderedSet add up to 256 items then delete middle 42.726 us/op 48.363 us/op 0.88
transfer serialized Status (84 B) 1.6880 us/op 1.5870 us/op 1.06
copy serialized Status (84 B) 1.6030 us/op 1.3900 us/op 1.15
transfer serialized SignedVoluntaryExit (112 B) 2.1480 us/op 1.6890 us/op 1.27
copy serialized SignedVoluntaryExit (112 B) 1.8110 us/op 1.6840 us/op 1.08
transfer serialized ProposerSlashing (416 B) 3.2570 us/op 2.1280 us/op 1.53
copy serialized ProposerSlashing (416 B) 3.2210 us/op 2.2040 us/op 1.46
transfer serialized Attestation (485 B) 3.3270 us/op 2.2270 us/op 1.49
copy serialized Attestation (485 B) 3.8060 us/op 2.1420 us/op 1.78
transfer serialized AttesterSlashing (33232 B) 3.9690 us/op 2.0300 us/op 1.96
copy serialized AttesterSlashing (33232 B) 9.6430 us/op 9.0790 us/op 1.06
transfer serialized Small SignedBeaconBlock (128000 B) 3.9560 us/op 3.7720 us/op 1.05
copy serialized Small SignedBeaconBlock (128000 B) 15.572 us/op 33.016 us/op 0.47
transfer serialized Avg SignedBeaconBlock (200000 B) 2.8540 us/op 5.1920 us/op 0.55
copy serialized Avg SignedBeaconBlock (200000 B) 25.835 us/op 48.725 us/op 0.53
transfer serialized BlobsSidecar (524380 B) 4.3450 us/op 6.3670 us/op 0.68
copy serialized BlobsSidecar (524380 B) 137.45 us/op 143.09 us/op 0.96
transfer serialized Big SignedBeaconBlock (1000000 B) 6.0340 us/op 6.0330 us/op 1.00
copy serialized Big SignedBeaconBlock (1000000 B) 333.11 us/op 242.49 us/op 1.37
pass gossip attestations to forkchoice per slot 3.6477 ms/op 3.0669 ms/op 1.19
forkChoice updateHead vc 100000 bc 64 eq 0 550.02 us/op 472.06 us/op 1.17
forkChoice updateHead vc 600000 bc 64 eq 0 2.3886 ms/op 5.7135 ms/op 0.42
forkChoice updateHead vc 1000000 bc 64 eq 0 6.1120 ms/op 6.0334 ms/op 1.01
forkChoice updateHead vc 600000 bc 320 eq 0 2.8816 ms/op 3.1215 ms/op 0.92
forkChoice updateHead vc 600000 bc 1200 eq 0 2.5472 ms/op 3.3725 ms/op 0.76
forkChoice updateHead vc 600000 bc 7200 eq 0 3.1254 ms/op 5.0891 ms/op 0.61
forkChoice updateHead vc 600000 bc 64 eq 1000 9.3241 ms/op 11.009 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 10000 9.3087 ms/op 10.948 ms/op 0.85
forkChoice updateHead vc 600000 bc 64 eq 300000 11.475 ms/op 24.333 ms/op 0.47
computeDeltas 500000 validators 300 proto nodes 3.4291 ms/op 4.6616 ms/op 0.74
computeDeltas 500000 validators 1200 proto nodes 3.3577 ms/op 4.2515 ms/op 0.79
computeDeltas 500000 validators 7200 proto nodes 3.4076 ms/op 4.1258 ms/op 0.83
computeDeltas 750000 validators 300 proto nodes 5.1808 ms/op 6.2082 ms/op 0.83
computeDeltas 750000 validators 1200 proto nodes 5.1659 ms/op 6.2369 ms/op 0.83
computeDeltas 750000 validators 7200 proto nodes 5.2667 ms/op 6.2663 ms/op 0.84
computeDeltas 1400000 validators 300 proto nodes 9.0716 ms/op 11.933 ms/op 0.76
computeDeltas 1400000 validators 1200 proto nodes 9.2577 ms/op 11.969 ms/op 0.77
computeDeltas 1400000 validators 7200 proto nodes 8.8321 ms/op 11.774 ms/op 0.75
computeDeltas 2100000 validators 300 proto nodes 14.558 ms/op 18.218 ms/op 0.80
computeDeltas 2100000 validators 1200 proto nodes 14.304 ms/op 17.847 ms/op 0.80
computeDeltas 2100000 validators 7200 proto nodes 13.723 ms/op 17.862 ms/op 0.77
altair processAttestation - 250000 vs - 7PWei normalcase 2.3742 ms/op 1.8878 ms/op 1.26
altair processAttestation - 250000 vs - 7PWei worstcase 3.3198 ms/op 2.9955 ms/op 1.11
altair processAttestation - setStatus - 1/6 committees join 91.233 us/op 92.510 us/op 0.99
altair processAttestation - setStatus - 1/3 committees join 140.71 us/op 189.41 us/op 0.74
altair processAttestation - setStatus - 1/2 committees join 194.96 us/op 257.77 us/op 0.76
altair processAttestation - setStatus - 2/3 committees join 249.79 us/op 330.10 us/op 0.76
altair processAttestation - setStatus - 4/5 committees join 377.58 us/op 488.69 us/op 0.77
altair processAttestation - setStatus - 100% committees join 456.75 us/op 576.59 us/op 0.79
altair processBlock - 250000 vs - 7PWei normalcase 4.4722 ms/op 4.1955 ms/op 1.07
altair processBlock - 250000 vs - 7PWei normalcase hashState 23.193 ms/op 22.731 ms/op 1.02
altair processBlock - 250000 vs - 7PWei worstcase 39.221 ms/op 33.569 ms/op 1.17
altair processBlock - 250000 vs - 7PWei worstcase hashState 71.240 ms/op 64.150 ms/op 1.11
phase0 processBlock - 250000 vs - 7PWei normalcase 2.0460 ms/op 1.7063 ms/op 1.20
phase0 processBlock - 250000 vs - 7PWei worstcase 22.203 ms/op 21.187 ms/op 1.05
altair processEth1Data - 250000 vs - 7PWei normalcase 262.66 us/op 335.47 us/op 0.78
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.4420 us/op 5.7870 us/op 0.77
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 27.817 us/op 37.808 us/op 0.74
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 6.9560 us/op 11.502 us/op 0.60
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.8300 us/op 7.0130 us/op 0.83
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 132.03 us/op 154.67 us/op 0.85
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 809.75 us/op 1.1599 ms/op 0.70
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.1575 ms/op 1.4943 ms/op 0.77
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.1016 ms/op 1.4877 ms/op 0.74
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.8313 ms/op 3.7827 ms/op 0.75
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.1864 ms/op 1.5536 ms/op 0.76
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 2.8175 ms/op 3.8247 ms/op 0.74
Tree 40 250000 create 194.84 ms/op 219.94 ms/op 0.89
Tree 40 250000 get(125000) 110.17 ns/op 141.96 ns/op 0.78
Tree 40 250000 set(125000) 578.44 ns/op 676.55 ns/op 0.85
Tree 40 250000 toArray() 18.199 ms/op 19.927 ms/op 0.91
Tree 40 250000 iterate all - toArray() + loop 19.313 ms/op 17.129 ms/op 1.13
Tree 40 250000 iterate all - get(i) 47.003 ms/op 57.532 ms/op 0.82
Array 250000 create 2.6510 ms/op 2.9187 ms/op 0.91
Array 250000 clone - spread 1.3357 ms/op 1.5539 ms/op 0.86
Array 250000 get(125000) 0.57100 ns/op 0.42500 ns/op 1.34
Array 250000 set(125000) 0.57900 ns/op 0.44300 ns/op 1.31
Array 250000 iterate all - loop 74.730 us/op 104.17 us/op 0.72
phase0 afterProcessEpoch - 250000 vs - 7PWei 44.390 ms/op 49.890 ms/op 0.89
Array.fill - length 1000000 2.6121 ms/op 3.9387 ms/op 0.66
Array push - length 1000000 12.603 ms/op 17.075 ms/op 0.74
Array.get 0.26019 ns/op 0.31370 ns/op 0.83
Uint8Array.get 0.33540 ns/op 0.45950 ns/op 0.73
phase0 beforeProcessEpoch - 250000 vs - 7PWei 20.864 ms/op 20.712 ms/op 1.01
altair processEpoch - mainnet_e81889 249.85 ms/op 298.34 ms/op 0.84
mainnet_e81889 - altair beforeProcessEpoch 18.571 ms/op 22.512 ms/op 0.82
mainnet_e81889 - altair processJustificationAndFinalization 12.386 us/op 13.359 us/op 0.93
mainnet_e81889 - altair processInactivityUpdates 3.9407 ms/op 7.0656 ms/op 0.56
mainnet_e81889 - altair processRewardsAndPenalties 45.680 ms/op 51.371 ms/op 0.89
mainnet_e81889 - altair processRegistryUpdates 2.2030 us/op 4.2170 us/op 0.52
mainnet_e81889 - altair processSlashings 797.00 ns/op 558.00 ns/op 1.43
mainnet_e81889 - altair processEth1DataReset 686.00 ns/op 377.00 ns/op 1.82
mainnet_e81889 - altair processEffectiveBalanceUpdates 985.74 us/op 1.9351 ms/op 0.51
mainnet_e81889 - altair processSlashingsReset 2.6080 us/op 4.0160 us/op 0.65
mainnet_e81889 - altair processRandaoMixesReset 4.4590 us/op 4.1570 us/op 1.07
mainnet_e81889 - altair processHistoricalRootsUpdate 756.00 ns/op 1.3630 us/op 0.55
mainnet_e81889 - altair processParticipationFlagUpdates 3.0370 us/op 2.7360 us/op 1.11
mainnet_e81889 - altair processSyncCommitteeUpdates 760.00 ns/op 376.00 ns/op 2.02
mainnet_e81889 - altair afterProcessEpoch 42.603 ms/op 52.686 ms/op 0.81
capella processEpoch - mainnet_e217614 943.72 ms/op 1.1427 s/op 0.83
mainnet_e217614 - capella beforeProcessEpoch 76.172 ms/op 78.756 ms/op 0.97
mainnet_e217614 - capella processJustificationAndFinalization 17.189 us/op 17.065 us/op 1.01
mainnet_e217614 - capella processInactivityUpdates 14.741 ms/op 19.267 ms/op 0.77
mainnet_e217614 - capella processRewardsAndPenalties 254.15 ms/op 228.86 ms/op 1.11
mainnet_e217614 - capella processRegistryUpdates 13.096 us/op 14.328 us/op 0.91
mainnet_e217614 - capella processSlashings 774.00 ns/op 372.00 ns/op 2.08
mainnet_e217614 - capella processEth1DataReset 938.00 ns/op 335.00 ns/op 2.80
mainnet_e217614 - capella processEffectiveBalanceUpdates 6.4489 ms/op 16.306 ms/op 0.40
mainnet_e217614 - capella processSlashingsReset 3.9700 us/op 3.6900 us/op 1.08
mainnet_e217614 - capella processRandaoMixesReset 4.2380 us/op 8.4390 us/op 0.50
mainnet_e217614 - capella processHistoricalRootsUpdate 1.7480 us/op 396.00 ns/op 4.41
mainnet_e217614 - capella processParticipationFlagUpdates 2.5850 us/op 2.0470 us/op 1.26
mainnet_e217614 - capella afterProcessEpoch 106.43 ms/op 127.16 ms/op 0.84
phase0 processEpoch - mainnet_e58758 288.62 ms/op 331.61 ms/op 0.87
mainnet_e58758 - phase0 beforeProcessEpoch 72.850 ms/op 70.608 ms/op 1.03
mainnet_e58758 - phase0 processJustificationAndFinalization 15.362 us/op 14.031 us/op 1.09
mainnet_e58758 - phase0 processRewardsAndPenalties 30.126 ms/op 27.221 ms/op 1.11
mainnet_e58758 - phase0 processRegistryUpdates 7.1680 us/op 7.2100 us/op 0.99
mainnet_e58758 - phase0 processSlashings 828.00 ns/op 315.00 ns/op 2.63
mainnet_e58758 - phase0 processEth1DataReset 786.00 ns/op 296.00 ns/op 2.66
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2661 ms/op 1.1999 ms/op 1.06
mainnet_e58758 - phase0 processSlashingsReset 2.9830 us/op 3.2400 us/op 0.92
mainnet_e58758 - phase0 processRandaoMixesReset 4.9020 us/op 3.6910 us/op 1.33
mainnet_e58758 - phase0 processHistoricalRootsUpdate 705.00 ns/op 345.00 ns/op 2.04
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.8490 us/op 3.5360 us/op 1.09
mainnet_e58758 - phase0 afterProcessEpoch 37.359 ms/op 44.258 ms/op 0.84
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.0733 ms/op 1.9422 ms/op 0.55
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.8613 ms/op 2.0129 ms/op 0.92
altair processInactivityUpdates - 250000 normalcase 16.267 ms/op 14.560 ms/op 1.12
altair processInactivityUpdates - 250000 worstcase 17.210 ms/op 15.818 ms/op 1.09
phase0 processRegistryUpdates - 250000 normalcase 8.0050 us/op 6.9630 us/op 1.15
phase0 processRegistryUpdates - 250000 badcase_full_deposits 294.90 us/op 285.97 us/op 1.03
phase0 processRegistryUpdates - 250000 worstcase 0.5 110.71 ms/op 116.01 ms/op 0.95
altair processRewardsAndPenalties - 250000 normalcase 43.932 ms/op 37.024 ms/op 1.19
altair processRewardsAndPenalties - 250000 worstcase 39.868 ms/op 36.976 ms/op 1.08
phase0 getAttestationDeltas - 250000 normalcase 6.0158 ms/op 9.8656 ms/op 0.61
phase0 getAttestationDeltas - 250000 worstcase 5.7984 ms/op 8.1073 ms/op 0.72
phase0 processSlashings - 250000 worstcase 94.563 us/op 109.17 us/op 0.87
altair processSyncCommitteeUpdates - 250000 96.841 ms/op 129.32 ms/op 0.75
BeaconState.hashTreeRoot - No change 410.00 ns/op 225.00 ns/op 1.82
BeaconState.hashTreeRoot - 1 full validator 96.810 us/op 97.307 us/op 0.99
BeaconState.hashTreeRoot - 32 full validator 930.89 us/op 1.0156 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 8.1642 ms/op 10.436 ms/op 0.78
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 151.97 us/op 171.77 us/op 0.88
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9441 ms/op 1.8493 ms/op 1.05
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 23.288 ms/op 22.061 ms/op 1.06
BeaconState.hashTreeRoot - 1 balances 112.47 us/op 95.315 us/op 1.18
BeaconState.hashTreeRoot - 32 balances 941.67 us/op 820.88 us/op 1.15
BeaconState.hashTreeRoot - 512 balances 6.6673 ms/op 7.7462 ms/op 0.86
BeaconState.hashTreeRoot - 250000 balances 171.00 ms/op 170.49 ms/op 1.00
aggregationBits - 2048 els - zipIndexesInBitList 19.829 us/op 32.810 us/op 0.60
byteArrayEquals 32 47.428 ns/op 54.073 ns/op 0.88
Buffer.compare 32 16.096 ns/op 19.118 ns/op 0.84
byteArrayEquals 1024 1.2398 us/op 1.5997 us/op 0.78
Buffer.compare 1024 32.738 ns/op 26.058 ns/op 1.26
byteArrayEquals 16384 19.728 us/op 25.470 us/op 0.77
Buffer.compare 16384 194.27 ns/op 204.72 ns/op 0.95
byteArrayEquals 123687377 149.91 ms/op 195.82 ms/op 0.77
Buffer.compare 123687377 4.0973 ms/op 8.2975 ms/op 0.49
byteArrayEquals 32 - diff last byte 46.404 ns/op 53.325 ns/op 0.87
Buffer.compare 32 - diff last byte 16.233 ns/op 17.679 ns/op 0.92
byteArrayEquals 1024 - diff last byte 1.2511 us/op 1.6173 us/op 0.77
Buffer.compare 1024 - diff last byte 24.670 ns/op 27.148 ns/op 0.91
byteArrayEquals 16384 - diff last byte 19.904 us/op 25.883 us/op 0.77
Buffer.compare 16384 - diff last byte 184.72 ns/op 215.19 ns/op 0.86
byteArrayEquals 123687377 - diff last byte 151.00 ms/op 200.01 ms/op 0.75
Buffer.compare 123687377 - diff last byte 6.0357 ms/op 8.2499 ms/op 0.73
byteArrayEquals 32 - random bytes 5.5440 ns/op 5.3690 ns/op 1.03
Buffer.compare 32 - random bytes 16.528 ns/op 17.833 ns/op 0.93
byteArrayEquals 1024 - random bytes 4.8680 ns/op 5.6060 ns/op 0.87
Buffer.compare 1024 - random bytes 16.623 ns/op 17.720 ns/op 0.94
byteArrayEquals 16384 - random bytes 4.8660 ns/op 5.3260 ns/op 0.91
Buffer.compare 16384 - random bytes 16.798 ns/op 17.985 ns/op 0.93
byteArrayEquals 123687377 - random bytes 7.8000 ns/op 6.6700 ns/op 1.17
Buffer.compare 123687377 - random bytes 20.050 ns/op 19.060 ns/op 1.05
regular array get 100000 times 30.759 us/op 33.976 us/op 0.91
wrappedArray get 100000 times 30.804 us/op 33.498 us/op 0.92
arrayWithProxy get 100000 times 9.7993 ms/op 13.766 ms/op 0.71
ssz.Root.equals 44.059 ns/op 47.979 ns/op 0.92
byteArrayEquals 42.854 ns/op 47.287 ns/op 0.91
Buffer.compare 10.072 ns/op 10.907 ns/op 0.92
processSlot - 1 slots 11.254 us/op 15.360 us/op 0.73
processSlot - 32 slots 2.4237 ms/op 2.7917 ms/op 0.87
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 38.370 ms/op 38.543 ms/op 1.00
getCommitteeAssignments - req 1 vs - 250000 vc 1.8345 ms/op 2.1525 ms/op 0.85
getCommitteeAssignments - req 100 vs - 250000 vc 3.5674 ms/op 4.2573 ms/op 0.84
getCommitteeAssignments - req 1000 vs - 250000 vc 3.8797 ms/op 4.5261 ms/op 0.86
findModifiedValidators - 10000 modified validators 302.25 ms/op 311.88 ms/op 0.97
findModifiedValidators - 1000 modified validators 216.56 ms/op 207.68 ms/op 1.04
findModifiedValidators - 100 modified validators 150.52 ms/op 199.88 ms/op 0.75
findModifiedValidators - 10 modified validators 193.84 ms/op 227.75 ms/op 0.85
findModifiedValidators - 1 modified validators 196.28 ms/op 201.75 ms/op 0.97
findModifiedValidators - no difference 208.60 ms/op 224.59 ms/op 0.93
compare ViewDUs 3.5052 s/op 3.4082 s/op 1.03
compare each validator Uint8Array 1.5114 s/op 1.5290 s/op 0.99
compare ViewDU to Uint8Array 727.55 ms/op 1.2732 s/op 0.57
migrate state 1000000 validators, 24 modified, 0 new 717.54 ms/op 753.94 ms/op 0.95
migrate state 1000000 validators, 1700 modified, 1000 new 906.86 ms/op 933.86 ms/op 0.97
migrate state 1000000 validators, 3400 modified, 2000 new 1.1535 s/op 1.2833 s/op 0.90
migrate state 1500000 validators, 24 modified, 0 new 667.30 ms/op 826.97 ms/op 0.81
migrate state 1500000 validators, 1700 modified, 1000 new 914.03 ms/op 1.1504 s/op 0.79
migrate state 1500000 validators, 3400 modified, 2000 new 1.2110 s/op 1.1563 s/op 1.05
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.1900 ns/op 4.7000 ns/op 1.32
state getBlockRootAtSlot - 250000 vs - 7PWei 871.69 ns/op 486.30 ns/op 1.79
computeProposers - vc 250000 6.7272 ms/op 7.0320 ms/op 0.96
computeEpochShuffling - vc 250000 35.201 ms/op 43.798 ms/op 0.80
getNextSyncCommittee - vc 250000 114.02 ms/op 125.92 ms/op 0.91
computeSigningRoot for AttestationData 19.586 us/op 21.334 us/op 0.92
hash AttestationData serialized data then Buffer.toString(base64) 1.1942 us/op 1.6437 us/op 0.73
toHexString serialized data 738.99 ns/op 973.21 ns/op 0.76
Buffer.toString(base64) 123.81 ns/op 188.57 ns/op 0.66
nodejs block root to RootHex using toHex 116.71 ns/op 155.30 ns/op 0.75
nodejs block root to RootHex using toRootHex 75.985 ns/op 97.786 ns/op 0.78
browser block root to RootHex using the deprecated toHexString 206.42 ns/op 231.54 ns/op 0.89
browser block root to RootHex using toHex 165.11 ns/op 182.97 ns/op 0.90
browser block root to RootHex using toRootHex 142.44 ns/op 167.49 ns/op 0.85

by benchmarkbot/action

Copy link

codecov bot commented Nov 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 48.51%. Comparing base (aaac34a) to head (fbf2469).
Report is 11 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7239   +/-   ##
=========================================
  Coverage     48.51%   48.51%           
=========================================
  Files           600      600           
  Lines         40138    40138           
  Branches       2058     2058           
=========================================
  Hits          19471    19471           
  Misses        20629    20629           
  Partials         38       38           

ensi321
ensi321 previously approved these changes Nov 29, 2024
@ensi321 ensi321 enabled auto-merge (squash) November 29, 2024 15:42
@nflaig nflaig requested a review from ensi321 December 2, 2024 10:46
@ensi321 ensi321 merged commit 64eb015 into unstable Dec 2, 2024
20 checks passed
@ensi321 ensi321 deleted the nflaig/auth-error-log branch December 2, 2024 16:11
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.

2 participants