Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update block proposal errors dashboard panel #7179

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Oct 19, 2024

Update operationId in block proposal errors dashboard panel to use latest version of apis as previous (deprecated) apis are unused in Lodestar by default (and soon to be removed).

@nflaig nflaig requested a review from a team as a code owner October 19, 2024 10:10
@@ -499,7 +499,6 @@ export function getDefinitions(config: ChainForkConfig): RouteDefinitions<Endpoi
const fork = config.getForkName(signedBlindedBlock.message.slot);
return {
body: getExecutionForkTypes(fork).SignedBlindedBeaconBlock.toJson(signedBlindedBlock),

Copy link
Member Author

Choose a reason for hiding this comment

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

unrelated but might as well fix formatting here

Copy link

codecov bot commented Oct 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.18%. Comparing base (b1b5623) to head (966f35e).
Report is 1 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7179   +/-   ##
=========================================
  Coverage     49.18%   49.18%           
=========================================
  Files           598      598           
  Lines         39770    39770           
  Branches       2092     2092           
=========================================
  Hits          19560    19560           
  Misses        20170    20170           
  Partials         40       40           

Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: f6abd6c Previous: b1b5623 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.7929 ms/op 1.7892 ms/op 1.00
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 40.628 us/op 38.001 us/op 1.07
BLS verify - blst 867.63 us/op 897.95 us/op 0.97
BLS verifyMultipleSignatures 3 - blst 1.2965 ms/op 1.3066 ms/op 0.99
BLS verifyMultipleSignatures 8 - blst 2.0426 ms/op 2.1210 ms/op 0.96
BLS verifyMultipleSignatures 32 - blst 4.3918 ms/op 4.4409 ms/op 0.99
BLS verifyMultipleSignatures 64 - blst 8.1183 ms/op 8.4126 ms/op 0.97
BLS verifyMultipleSignatures 128 - blst 15.623 ms/op 16.018 ms/op 0.98
BLS deserializing 10000 signatures 613.64 ms/op 620.40 ms/op 0.99
BLS deserializing 100000 signatures 6.1399 s/op 6.1995 s/op 0.99
BLS verifyMultipleSignatures - same message - 3 - blst 936.96 us/op 954.87 us/op 0.98
BLS verifyMultipleSignatures - same message - 8 - blst 1.0998 ms/op 1.0434 ms/op 1.05
BLS verifyMultipleSignatures - same message - 32 - blst 1.6696 ms/op 1.6406 ms/op 1.02
BLS verifyMultipleSignatures - same message - 64 - blst 2.4203 ms/op 2.4460 ms/op 0.99
BLS verifyMultipleSignatures - same message - 128 - blst 3.9038 ms/op 3.9680 ms/op 0.98
BLS aggregatePubkeys 32 - blst 16.465 us/op 18.021 us/op 0.91
BLS aggregatePubkeys 128 - blst 57.832 us/op 63.128 us/op 0.92
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 60.400 ms/op 59.430 ms/op 1.02
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 41.847 ms/op 42.433 ms/op 0.99
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 34.937 ms/op 36.511 ms/op 0.96
getSlashingsAndExits - default max 69.191 us/op 71.069 us/op 0.97
getSlashingsAndExits - 2k 228.50 us/op 216.37 us/op 1.06
proposeBlockBody type=full, size=empty 4.4592 ms/op 4.8571 ms/op 0.92
isKnown best case - 1 super set check 430.00 ns/op 464.00 ns/op 0.93
isKnown normal case - 2 super set checks 414.00 ns/op 456.00 ns/op 0.91
isKnown worse case - 16 super set checks 416.00 ns/op 457.00 ns/op 0.91
InMemoryCheckpointStateCache - add get delete 2.4640 us/op 2.6540 us/op 0.93
updateUnfinalizedPubkeys - updating 10 pubkeys 684.84 us/op 671.34 us/op 1.02
updateUnfinalizedPubkeys - updating 100 pubkeys 2.7113 ms/op 2.8378 ms/op 0.96
updateUnfinalizedPubkeys - updating 1000 pubkeys 38.826 ms/op 41.781 ms/op 0.93
validate api signedAggregateAndProof - struct 1.4678 ms/op 1.9415 ms/op 0.76
validate gossip signedAggregateAndProof - struct 1.4783 ms/op 1.9275 ms/op 0.77
batch validate gossip attestation - vc 640000 - chunk 32 117.12 us/op 118.83 us/op 0.99
batch validate gossip attestation - vc 640000 - chunk 64 102.08 us/op 105.00 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 128 94.535 us/op 96.760 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 256 90.966 us/op 94.103 us/op 0.97
pickEth1Vote - no votes 898.78 us/op 897.98 us/op 1.00
pickEth1Vote - max votes 5.5776 ms/op 5.4872 ms/op 1.02
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.340 ms/op 13.959 ms/op 1.24
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.732 ms/op 19.537 ms/op 1.01
pickEth1Vote - Eth1Data fastSerialize value x2048 367.46 us/op 369.82 us/op 0.99
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.1888 ms/op 3.1327 ms/op 1.02
bytes32 toHexString 601.00 ns/op 596.00 ns/op 1.01
bytes32 Buffer.toString(hex) 442.00 ns/op 417.00 ns/op 1.06
bytes32 Buffer.toString(hex) from Uint8Array 505.00 ns/op 521.00 ns/op 0.97
bytes32 Buffer.toString(hex) + 0x 420.00 ns/op 415.00 ns/op 1.01
Object access 1 prop 0.28900 ns/op 0.31600 ns/op 0.91
Map access 1 prop 0.29300 ns/op 0.31000 ns/op 0.95
Object get x1000 4.6250 ns/op 5.1900 ns/op 0.89
Map get x1000 5.5210 ns/op 5.7190 ns/op 0.97
Object set x1000 20.973 ns/op 24.969 ns/op 0.84
Map set x1000 17.609 ns/op 18.655 ns/op 0.94
Return object 10000 times 0.26740 ns/op 0.29570 ns/op 0.90
Throw Error 10000 times 2.4723 us/op 2.7222 us/op 0.91
toHex 117.27 ns/op 112.36 ns/op 1.04
Buffer.from 115.83 ns/op 104.28 ns/op 1.11
shared Buffer 69.683 ns/op 70.093 ns/op 0.99
fastMsgIdFn sha256 / 200 bytes 1.8690 us/op 1.9870 us/op 0.94
fastMsgIdFn h32 xxhash / 200 bytes 434.00 ns/op 392.00 ns/op 1.11
fastMsgIdFn h64 xxhash / 200 bytes 411.00 ns/op 431.00 ns/op 0.95
fastMsgIdFn sha256 / 1000 bytes 5.4300 us/op 5.9840 us/op 0.91
fastMsgIdFn h32 xxhash / 1000 bytes 541.00 ns/op 510.00 ns/op 1.06
fastMsgIdFn h64 xxhash / 1000 bytes 472.00 ns/op 496.00 ns/op 0.95
fastMsgIdFn sha256 / 10000 bytes 44.745 us/op 49.702 us/op 0.90
fastMsgIdFn h32 xxhash / 10000 bytes 1.7890 us/op 1.8870 us/op 0.95
fastMsgIdFn h64 xxhash / 10000 bytes 1.2030 us/op 1.3210 us/op 0.91
send data - 1000 256B messages 9.4131 ms/op 9.9779 ms/op 0.94
send data - 1000 512B messages 12.338 ms/op 12.941 ms/op 0.95
send data - 1000 1024B messages 22.231 ms/op 22.195 ms/op 1.00
send data - 1000 1200B messages 23.782 ms/op 23.191 ms/op 1.03
send data - 1000 2048B messages 28.786 ms/op 29.239 ms/op 0.98
send data - 1000 4096B messages 26.676 ms/op 26.728 ms/op 1.00
send data - 1000 16384B messages 64.093 ms/op 63.943 ms/op 1.00
send data - 1000 65536B messages 237.51 ms/op 242.63 ms/op 0.98
enrSubnets - fastDeserialize 64 bits 1.1590 us/op 1.1160 us/op 1.04
enrSubnets - ssz BitVector 64 bits 510.00 ns/op 502.00 ns/op 1.02
enrSubnets - fastDeserialize 4 bits 349.00 ns/op 320.00 ns/op 1.09
enrSubnets - ssz BitVector 4 bits 553.00 ns/op 504.00 ns/op 1.10
prioritizePeers score -10:0 att 32-0.1 sync 2-0 215.70 us/op 128.36 us/op 1.68
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 272.25 us/op 163.57 us/op 1.66
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 302.94 us/op 235.03 us/op 1.29
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 526.63 us/op 419.09 us/op 1.26
prioritizePeers score 0:0 att 64-1 sync 4-1 647.17 us/op 632.54 us/op 1.02
array of 16000 items push then shift 1.2947 us/op 1.2914 us/op 1.00
LinkedList of 16000 items push then shift 6.3270 ns/op 6.3210 ns/op 1.00
array of 16000 items push then pop 77.923 ns/op 78.839 ns/op 0.99
LinkedList of 16000 items push then pop 6.2300 ns/op 6.2430 ns/op 1.00
array of 24000 items push then shift 1.8864 us/op 1.8947 us/op 1.00
LinkedList of 24000 items push then shift 6.2980 ns/op 6.4570 ns/op 0.98
array of 24000 items push then pop 109.75 ns/op 109.00 ns/op 1.01
LinkedList of 24000 items push then pop 6.1370 ns/op 6.4130 ns/op 0.96
intersect bitArray bitLen 8 5.3470 ns/op 5.5110 ns/op 0.97
intersect array and set length 8 39.072 ns/op 40.070 ns/op 0.98
intersect bitArray bitLen 128 26.364 ns/op 26.518 ns/op 0.99
intersect array and set length 128 582.60 ns/op 591.45 ns/op 0.99
bitArray.getTrueBitIndexes() bitLen 128 2.1870 us/op 2.2770 us/op 0.96
bitArray.getTrueBitIndexes() bitLen 248 2.8470 us/op 4.0680 us/op 0.70
bitArray.getTrueBitIndexes() bitLen 512 5.5570 us/op 6.6840 us/op 0.83
Buffer.concat 32 items 1.0290 us/op 998.00 ns/op 1.03
Uint8Array.set 32 items 1.5320 us/op 1.7230 us/op 0.89
Buffer.copy 1.7740 us/op 2.0950 us/op 0.85
Uint8Array.set - with subarray 2.1450 us/op 2.7110 us/op 0.79
Uint8Array.set - without subarray 1.7950 us/op 1.9500 us/op 0.92
getUint32 - dataview 395.00 ns/op 392.00 ns/op 1.01
getUint32 - manual 330.00 ns/op 336.00 ns/op 0.98
Set add up to 64 items then delete first 1.7833 us/op 1.8394 us/op 0.97
OrderedSet add up to 64 items then delete first 2.7645 us/op 2.8008 us/op 0.99
Set add up to 64 items then delete last 2.0374 us/op 2.0570 us/op 0.99
OrderedSet add up to 64 items then delete last 3.0338 us/op 3.0916 us/op 0.98
Set add up to 64 items then delete middle 2.0436 us/op 2.0469 us/op 1.00
OrderedSet add up to 64 items then delete middle 4.4630 us/op 4.4776 us/op 1.00
Set add up to 128 items then delete first 4.0554 us/op 4.0651 us/op 1.00
OrderedSet add up to 128 items then delete first 6.2626 us/op 6.3123 us/op 0.99
Set add up to 128 items then delete last 3.9052 us/op 3.9209 us/op 1.00
OrderedSet add up to 128 items then delete last 5.8821 us/op 5.9555 us/op 0.99
Set add up to 128 items then delete middle 3.9115 us/op 3.9158 us/op 1.00
OrderedSet add up to 128 items then delete middle 11.711 us/op 11.872 us/op 0.99
Set add up to 256 items then delete first 8.2050 us/op 7.9374 us/op 1.03
OrderedSet add up to 256 items then delete first 12.490 us/op 12.529 us/op 1.00
Set add up to 256 items then delete last 7.6871 us/op 7.7124 us/op 1.00
OrderedSet add up to 256 items then delete last 11.558 us/op 11.843 us/op 0.98
Set add up to 256 items then delete middle 7.6161 us/op 7.6752 us/op 0.99
OrderedSet add up to 256 items then delete middle 35.619 us/op 34.389 us/op 1.04
transfer serialized Status (84 B) 1.3700 us/op 1.4230 us/op 0.96
copy serialized Status (84 B) 1.2870 us/op 1.2080 us/op 1.07
transfer serialized SignedVoluntaryExit (112 B) 1.4850 us/op 1.6160 us/op 0.92
copy serialized SignedVoluntaryExit (112 B) 1.4020 us/op 1.3960 us/op 1.00
transfer serialized ProposerSlashing (416 B) 1.8020 us/op 2.5440 us/op 0.71
copy serialized ProposerSlashing (416 B) 1.7510 us/op 2.5270 us/op 0.69
transfer serialized Attestation (485 B) 1.9530 us/op 2.4570 us/op 0.79
copy serialized Attestation (485 B) 2.2660 us/op 1.9920 us/op 1.14
transfer serialized AttesterSlashing (33232 B) 2.4370 us/op 1.7470 us/op 1.39
copy serialized AttesterSlashing (33232 B) 6.3080 us/op 4.5030 us/op 1.40
transfer serialized Small SignedBeaconBlock (128000 B) 3.3150 us/op 2.4650 us/op 1.34
copy serialized Small SignedBeaconBlock (128000 B) 15.410 us/op 14.637 us/op 1.05
transfer serialized Avg SignedBeaconBlock (200000 B) 3.2620 us/op 2.2800 us/op 1.43
copy serialized Avg SignedBeaconBlock (200000 B) 13.097 us/op 12.804 us/op 1.02
transfer serialized BlobsSidecar (524380 B) 3.0170 us/op 2.2020 us/op 1.37
copy serialized BlobsSidecar (524380 B) 71.663 us/op 72.196 us/op 0.99
transfer serialized Big SignedBeaconBlock (1000000 B) 2.8190 us/op 2.9230 us/op 0.96
copy serialized Big SignedBeaconBlock (1000000 B) 191.89 us/op 141.16 us/op 1.36
pass gossip attestations to forkchoice per slot 2.3680 ms/op 2.4131 ms/op 0.98
forkChoice updateHead vc 100000 bc 64 eq 0 333.66 us/op 413.81 us/op 0.81
forkChoice updateHead vc 600000 bc 64 eq 0 2.5580 ms/op 2.4721 ms/op 1.03
forkChoice updateHead vc 1000000 bc 64 eq 0 3.6858 ms/op 3.9789 ms/op 0.93
forkChoice updateHead vc 600000 bc 320 eq 0 2.1920 ms/op 2.3967 ms/op 0.91
forkChoice updateHead vc 600000 bc 1200 eq 0 2.2612 ms/op 2.4955 ms/op 0.91
forkChoice updateHead vc 600000 bc 7200 eq 0 2.8657 ms/op 2.6407 ms/op 1.09
forkChoice updateHead vc 600000 bc 64 eq 1000 9.0178 ms/op 9.3567 ms/op 0.96
forkChoice updateHead vc 600000 bc 64 eq 10000 8.9688 ms/op 8.5536 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 300000 11.866 ms/op 11.244 ms/op 1.06
computeDeltas 500000 validators 300 proto nodes 3.2664 ms/op 3.1677 ms/op 1.03
computeDeltas 500000 validators 1200 proto nodes 3.2622 ms/op 3.1904 ms/op 1.02
computeDeltas 500000 validators 7200 proto nodes 3.2205 ms/op 3.2121 ms/op 1.00
computeDeltas 750000 validators 300 proto nodes 4.8914 ms/op 4.8394 ms/op 1.01
computeDeltas 750000 validators 1200 proto nodes 4.9323 ms/op 4.7684 ms/op 1.03
computeDeltas 750000 validators 7200 proto nodes 5.0257 ms/op 4.8081 ms/op 1.05
computeDeltas 1400000 validators 300 proto nodes 9.1011 ms/op 8.9304 ms/op 1.02
computeDeltas 1400000 validators 1200 proto nodes 8.9933 ms/op 8.8296 ms/op 1.02
computeDeltas 1400000 validators 7200 proto nodes 9.1524 ms/op 8.8853 ms/op 1.03
computeDeltas 2100000 validators 300 proto nodes 13.747 ms/op 13.376 ms/op 1.03
computeDeltas 2100000 validators 1200 proto nodes 13.422 ms/op 13.754 ms/op 0.98
computeDeltas 2100000 validators 7200 proto nodes 13.361 ms/op 13.486 ms/op 0.99
altair processAttestation - 250000 vs - 7PWei normalcase 1.4583 ms/op 1.4000 ms/op 1.04
altair processAttestation - 250000 vs - 7PWei worstcase 2.2585 ms/op 2.1208 ms/op 1.06
altair processAttestation - setStatus - 1/6 committees join 98.355 us/op 65.442 us/op 1.50
altair processAttestation - setStatus - 1/3 committees join 196.08 us/op 124.12 us/op 1.58
altair processAttestation - setStatus - 1/2 committees join 276.28 us/op 187.76 us/op 1.47
altair processAttestation - setStatus - 2/3 committees join 350.96 us/op 259.04 us/op 1.35
altair processAttestation - setStatus - 4/5 committees join 490.76 us/op 374.88 us/op 1.31
altair processAttestation - setStatus - 100% committees join 525.79 us/op 447.16 us/op 1.18
altair processBlock - 250000 vs - 7PWei normalcase 3.4616 ms/op 4.5155 ms/op 0.77
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.515 ms/op 24.202 ms/op 1.14
altair processBlock - 250000 vs - 7PWei worstcase 35.605 ms/op 35.969 ms/op 0.99
altair processBlock - 250000 vs - 7PWei worstcase hashState 71.815 ms/op 71.303 ms/op 1.01
phase0 processBlock - 250000 vs - 7PWei normalcase 1.9881 ms/op 1.7882 ms/op 1.11
phase0 processBlock - 250000 vs - 7PWei worstcase 21.861 ms/op 22.245 ms/op 0.98
altair processEth1Data - 250000 vs - 7PWei normalcase 246.57 us/op 255.19 us/op 0.97
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 4.9690 us/op 2.8770 us/op 1.73
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 15.746 us/op 34.094 us/op 0.46
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 8.6760 us/op 8.5090 us/op 1.02
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 5.3160 us/op 7.4350 us/op 0.71
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 115.88 us/op 121.00 us/op 0.96
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 886.48 us/op 782.92 us/op 1.13
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.0272 ms/op 1.1485 ms/op 0.89
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.2162 ms/op 1.1325 ms/op 1.07
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.8879 ms/op 2.9111 ms/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.3371 ms/op 1.0950 ms/op 1.22
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 2.9519 ms/op 2.7518 ms/op 1.07
Tree 40 250000 create 192.41 ms/op 193.12 ms/op 1.00
Tree 40 250000 get(125000) 119.70 ns/op 106.02 ns/op 1.13
Tree 40 250000 set(125000) 538.78 ns/op 512.41 ns/op 1.05
Tree 40 250000 toArray() 10.092 ms/op 12.326 ms/op 0.82
Tree 40 250000 iterate all - toArray() + loop 10.192 ms/op 12.212 ms/op 0.83
Tree 40 250000 iterate all - get(i) 41.049 ms/op 39.589 ms/op 1.04
Array 250000 create 2.3513 ms/op 2.3432 ms/op 1.00
Array 250000 clone - spread 1.2774 ms/op 1.1788 ms/op 1.08
Array 250000 get(125000) 0.59600 ns/op 0.57100 ns/op 1.04
Array 250000 set(125000) 0.60400 ns/op 0.56700 ns/op 1.07
Array 250000 iterate all - loop 77.015 us/op 73.694 us/op 1.05
phase0 afterProcessEpoch - 250000 vs - 7PWei 42.538 ms/op 41.668 ms/op 1.02
Array.fill - length 1000000 2.5461 ms/op 2.4310 ms/op 1.05
Array push - length 1000000 13.915 ms/op 13.833 ms/op 1.01
Array.get 0.26139 ns/op 0.26495 ns/op 0.99
Uint8Array.get 0.34315 ns/op 0.34188 ns/op 1.00
phase0 beforeProcessEpoch - 250000 vs - 7PWei 11.973 ms/op 12.722 ms/op 0.94
altair processEpoch - mainnet_e81889 264.68 ms/op 250.36 ms/op 1.06
mainnet_e81889 - altair beforeProcessEpoch 17.974 ms/op 18.590 ms/op 0.97
mainnet_e81889 - altair processJustificationAndFinalization 10.639 us/op 10.911 us/op 0.98
mainnet_e81889 - altair processInactivityUpdates 3.8944 ms/op 4.2832 ms/op 0.91
mainnet_e81889 - altair processRewardsAndPenalties 51.737 ms/op 49.946 ms/op 1.04
mainnet_e81889 - altair processRegistryUpdates 1.9190 us/op 2.0480 us/op 0.94
mainnet_e81889 - altair processSlashings 759.00 ns/op 777.00 ns/op 0.98
mainnet_e81889 - altair processEth1DataReset 724.00 ns/op 683.00 ns/op 1.06
mainnet_e81889 - altair processEffectiveBalanceUpdates 920.17 us/op 965.01 us/op 0.95
mainnet_e81889 - altair processSlashingsReset 2.1970 us/op 1.5170 us/op 1.45
mainnet_e81889 - altair processRandaoMixesReset 2.7510 us/op 3.2270 us/op 0.85
mainnet_e81889 - altair processHistoricalRootsUpdate 677.00 ns/op 707.00 ns/op 0.96
mainnet_e81889 - altair processParticipationFlagUpdates 2.0930 us/op 3.2010 us/op 0.65
mainnet_e81889 - altair processSyncCommitteeUpdates 702.00 ns/op 775.00 ns/op 0.91
mainnet_e81889 - altair afterProcessEpoch 38.188 ms/op 40.709 ms/op 0.94
capella processEpoch - mainnet_e217614 1.0054 s/op 1.0117 s/op 0.99
mainnet_e217614 - capella beforeProcessEpoch 65.548 ms/op 64.863 ms/op 1.01
mainnet_e217614 - capella processJustificationAndFinalization 6.0160 us/op 13.019 us/op 0.46
mainnet_e217614 - capella processInactivityUpdates 13.603 ms/op 14.913 ms/op 0.91
mainnet_e217614 - capella processRewardsAndPenalties 238.40 ms/op 258.02 ms/op 0.92
mainnet_e217614 - capella processRegistryUpdates 12.598 us/op 12.298 us/op 1.02
mainnet_e217614 - capella processSlashings 759.00 ns/op 752.00 ns/op 1.01
mainnet_e217614 - capella processEth1DataReset 702.00 ns/op 715.00 ns/op 0.98
mainnet_e217614 - capella processEffectiveBalanceUpdates 6.7137 ms/op 5.8999 ms/op 1.14
mainnet_e217614 - capella processSlashingsReset 1.8160 us/op 2.0570 us/op 0.88
mainnet_e217614 - capella processRandaoMixesReset 3.3510 us/op 3.3180 us/op 1.01
mainnet_e217614 - capella processHistoricalRootsUpdate 725.00 ns/op 702.00 ns/op 1.03
mainnet_e217614 - capella processParticipationFlagUpdates 3.7940 us/op 1.7520 us/op 2.17
mainnet_e217614 - capella afterProcessEpoch 103.84 ms/op 101.24 ms/op 1.03
phase0 processEpoch - mainnet_e58758 325.95 ms/op 295.35 ms/op 1.10
mainnet_e58758 - phase0 beforeProcessEpoch 72.605 ms/op 79.572 ms/op 0.91
mainnet_e58758 - phase0 processJustificationAndFinalization 11.528 us/op 11.225 us/op 1.03
mainnet_e58758 - phase0 processRewardsAndPenalties 31.770 ms/op 26.864 ms/op 1.18
mainnet_e58758 - phase0 processRegistryUpdates 4.3470 us/op 3.6130 us/op 1.20
mainnet_e58758 - phase0 processSlashings 753.00 ns/op 722.00 ns/op 1.04
mainnet_e58758 - phase0 processEth1DataReset 712.00 ns/op 727.00 ns/op 0.98
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 751.81 us/op 1.9703 ms/op 0.38
mainnet_e58758 - phase0 processSlashingsReset 2.3550 us/op 2.9830 us/op 0.79
mainnet_e58758 - phase0 processRandaoMixesReset 3.0520 us/op 2.9400 us/op 1.04
mainnet_e58758 - phase0 processHistoricalRootsUpdate 684.00 ns/op 701.00 ns/op 0.98
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.4960 us/op 2.6000 us/op 0.96
mainnet_e58758 - phase0 afterProcessEpoch 35.834 ms/op 35.903 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 918.64 us/op 1.0369 ms/op 0.89
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7908 ms/op 1.7230 ms/op 1.04
altair processInactivityUpdates - 250000 normalcase 15.663 ms/op 15.267 ms/op 1.03
altair processInactivityUpdates - 250000 worstcase 16.117 ms/op 17.056 ms/op 0.94
phase0 processRegistryUpdates - 250000 normalcase 5.3050 us/op 3.2820 us/op 1.62
phase0 processRegistryUpdates - 250000 badcase_full_deposits 304.04 us/op 297.02 us/op 1.02
phase0 processRegistryUpdates - 250000 worstcase 0.5 110.41 ms/op 108.53 ms/op 1.02
altair processRewardsAndPenalties - 250000 normalcase 42.790 ms/op 31.691 ms/op 1.35
altair processRewardsAndPenalties - 250000 worstcase 34.327 ms/op 39.978 ms/op 0.86
phase0 getAttestationDeltas - 250000 normalcase 6.3919 ms/op 6.2172 ms/op 1.03
phase0 getAttestationDeltas - 250000 worstcase 6.3309 ms/op 5.8980 ms/op 1.07
phase0 processSlashings - 250000 worstcase 85.686 us/op 81.700 us/op 1.05
altair processSyncCommitteeUpdates - 250000 98.561 ms/op 97.478 ms/op 1.01
BeaconState.hashTreeRoot - No change 442.00 ns/op 430.00 ns/op 1.03
BeaconState.hashTreeRoot - 1 full validator 108.62 us/op 127.77 us/op 0.85
BeaconState.hashTreeRoot - 32 full validator 1.1446 ms/op 1.1153 ms/op 1.03
BeaconState.hashTreeRoot - 512 full validator 8.8564 ms/op 10.137 ms/op 0.87
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 129.95 us/op 155.14 us/op 0.84
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9865 ms/op 1.9751 ms/op 1.01
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 20.138 ms/op 23.000 ms/op 0.88
BeaconState.hashTreeRoot - 1 balances 114.10 us/op 108.66 us/op 1.05
BeaconState.hashTreeRoot - 32 balances 1.2781 ms/op 943.98 us/op 1.35
BeaconState.hashTreeRoot - 512 balances 7.3910 ms/op 7.3682 ms/op 1.00
BeaconState.hashTreeRoot - 250000 balances 175.79 ms/op 185.91 ms/op 0.95
aggregationBits - 2048 els - zipIndexesInBitList 19.662 us/op 19.124 us/op 1.03
byteArrayEquals 32 43.345 ns/op 47.882 ns/op 0.91
Buffer.compare 32 14.226 ns/op 15.530 ns/op 0.92
byteArrayEquals 1024 1.1434 us/op 1.2700 us/op 0.90
Buffer.compare 1024 20.519 ns/op 24.139 ns/op 0.85
byteArrayEquals 16384 18.130 us/op 20.157 us/op 0.90
Buffer.compare 16384 170.41 ns/op 173.16 ns/op 0.98
byteArrayEquals 123687377 137.47 ms/op 151.83 ms/op 0.91
Buffer.compare 123687377 5.2863 ms/op 3.6907 ms/op 1.43
byteArrayEquals 32 - diff last byte 43.733 ns/op 47.473 ns/op 0.92
Buffer.compare 32 - diff last byte 14.463 ns/op 15.900 ns/op 0.91
byteArrayEquals 1024 - diff last byte 1.1454 us/op 1.2604 us/op 0.91
Buffer.compare 1024 - diff last byte 20.635 ns/op 24.398 ns/op 0.85
byteArrayEquals 16384 - diff last byte 18.201 us/op 20.010 us/op 0.91
Buffer.compare 16384 - diff last byte 184.99 ns/op 202.72 ns/op 0.91
byteArrayEquals 123687377 - diff last byte 137.64 ms/op 151.72 ms/op 0.91
Buffer.compare 123687377 - diff last byte 5.2815 ms/op 3.9692 ms/op 1.33
byteArrayEquals 32 - random bytes 4.5020 ns/op 4.9650 ns/op 0.91
Buffer.compare 32 - random bytes 14.552 ns/op 16.112 ns/op 0.90
byteArrayEquals 1024 - random bytes 4.4940 ns/op 4.8980 ns/op 0.92
Buffer.compare 1024 - random bytes 14.262 ns/op 15.993 ns/op 0.89
byteArrayEquals 16384 - random bytes 4.5230 ns/op 4.9160 ns/op 0.92
Buffer.compare 16384 - random bytes 14.149 ns/op 16.029 ns/op 0.88
byteArrayEquals 123687377 - random bytes 7.2000 ns/op 7.8400 ns/op 0.92
Buffer.compare 123687377 - random bytes 16.940 ns/op 19.510 ns/op 0.87
regular array get 100000 times 28.103 us/op 31.174 us/op 0.90
wrappedArray get 100000 times 27.909 us/op 31.155 us/op 0.90
arrayWithProxy get 100000 times 10.086 ms/op 11.095 ms/op 0.91
ssz.Root.equals 43.470 ns/op 48.185 ns/op 0.90
byteArrayEquals 43.488 ns/op 39.369 ns/op 1.10
Buffer.compare 8.3890 ns/op 9.3560 ns/op 0.90
processSlot - 1 slots 10.676 us/op 12.915 us/op 0.83
processSlot - 32 slots 2.6377 ms/op 1.7861 ms/op 1.48
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 44.226 ms/op 37.476 ms/op 1.18
getCommitteeAssignments - req 1 vs - 250000 vc 1.6542 ms/op 1.7676 ms/op 0.94
getCommitteeAssignments - req 100 vs - 250000 vc 3.2418 ms/op 3.5007 ms/op 0.93
getCommitteeAssignments - req 1000 vs - 250000 vc 3.4978 ms/op 3.7226 ms/op 0.94
findModifiedValidators - 10000 modified validators 234.32 ms/op 237.91 ms/op 0.98
findModifiedValidators - 1000 modified validators 131.79 ms/op 157.89 ms/op 0.83
findModifiedValidators - 100 modified validators 147.53 ms/op 140.78 ms/op 1.05
findModifiedValidators - 10 modified validators 134.43 ms/op 141.70 ms/op 0.95
findModifiedValidators - 1 modified validators 118.12 ms/op 142.92 ms/op 0.83
findModifiedValidators - no difference 140.92 ms/op 132.64 ms/op 1.06
compare ViewDUs 2.9608 s/op 3.0401 s/op 0.97
compare each validator Uint8Array 1.5809 s/op 1.7336 s/op 0.91
compare ViewDU to Uint8Array 641.67 ms/op 702.13 ms/op 0.91
migrate state 1000000 validators, 24 modified, 0 new 711.13 ms/op 706.10 ms/op 1.01
migrate state 1000000 validators, 1700 modified, 1000 new 947.45 ms/op 965.47 ms/op 0.98
migrate state 1000000 validators, 3400 modified, 2000 new 1.1403 s/op 1.1850 s/op 0.96
migrate state 1500000 validators, 24 modified, 0 new 701.06 ms/op 746.29 ms/op 0.94
migrate state 1500000 validators, 1700 modified, 1000 new 933.98 ms/op 962.47 ms/op 0.97
migrate state 1500000 validators, 3400 modified, 2000 new 1.1521 s/op 1.1736 s/op 0.98
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.9900 ns/op 5.8100 ns/op 1.03
state getBlockRootAtSlot - 250000 vs - 7PWei 713.79 ns/op 1.0510 us/op 0.68
computeProposers - vc 250000 6.2357 ms/op 6.6653 ms/op 0.94
computeEpochShuffling - vc 250000 34.315 ms/op 35.751 ms/op 0.96
getNextSyncCommittee - vc 250000 94.911 ms/op 116.53 ms/op 0.81
computeSigningRoot for AttestationData 20.594 us/op 30.032 us/op 0.69
hash AttestationData serialized data then Buffer.toString(base64) 1.1722 us/op 1.2067 us/op 0.97
toHexString serialized data 778.15 ns/op 793.75 ns/op 0.98
Buffer.toString(base64) 135.61 ns/op 145.47 ns/op 0.93
nodejs block root to RootHex using toHex 123.76 ns/op 120.73 ns/op 1.03
nodejs block root to RootHex using toRootHex 76.397 ns/op 80.469 ns/op 0.95
browser block root to RootHex using the deprecated toHexString 207.43 ns/op 205.33 ns/op 1.01
browser block root to RootHex using toHex 165.77 ns/op 167.44 ns/op 0.99
browser block root to RootHex using toRootHex 145.58 ns/op 145.14 ns/op 1.00

by benchmarkbot/action

@twoeths
Copy link
Contributor

twoeths commented Oct 21, 2024

@nflaig would be great to fix broken "Lodestar - block production" panel "Success + Error" rates, labels are duplicated

Screenshot 2024-10-21 at 09 09 19

@nflaig
Copy link
Member Author

nflaig commented Oct 21, 2024

There are also "dead" panels as we have removed metrics for some of the panels, e.g. all the 3 empty panels here

image

We have added a different metrics for submitted block proposals in validator monitor which we can use to replace those, also wanna take a look at the local vs. builder %, I thought we had a panel but does not seem to be the case, also noted here #6108 that it did not work as expected

@nflaig nflaig merged commit e6c1c5b into unstable Oct 21, 2024
20 checks passed
@nflaig nflaig deleted the nflaig/fix-block-proposal-errors branch October 21, 2024 07:53
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