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 rated.network score to validator monitor dashboard #6027

Merged
merged 3 commits into from
Oct 7, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Oct 6, 2023

Motivation

Description

Adds rated.network score to validator monitor dashboard

image

Note: Most of the diff comes from just moving the panels around, see add rated.network score panel for just the diff due to adding the new panel.

@nflaig nflaig requested a review from a team as a code owner October 6, 2023 14:48
@github-actions
Copy link
Contributor

github-actions bot commented Oct 6, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 1632671 Previous: 3affade Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 545.58 us/op 696.51 us/op 0.78
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 83.140 us/op 48.917 us/op 1.70
BLS verify - blst-native 1.3477 ms/op 1.0539 ms/op 1.28
BLS verifyMultipleSignatures 3 - blst-native 2.7944 ms/op 2.2670 ms/op 1.23
BLS verifyMultipleSignatures 8 - blst-native 6.3472 ms/op 5.1325 ms/op 1.24
BLS verifyMultipleSignatures 32 - blst-native 22.454 ms/op 19.015 ms/op 1.18
BLS verifyMultipleSignatures 64 - blst-native 44.259 ms/op 37.518 ms/op 1.18
BLS verifyMultipleSignatures 128 - blst-native 88.256 ms/op 74.437 ms/op 1.19
BLS deserializing 10000 signatures 882.10 ms/op 769.38 ms/op 1.15
BLS deserializing 100000 signatures 8.7995 s/op 7.7579 s/op 1.13
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3561 ms/op 1.1110 ms/op 1.22
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4639 ms/op 1.2542 ms/op 1.17
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2697 ms/op 1.9757 ms/op 1.15
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7291 ms/op 3.2619 ms/op 1.14
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.4767 ms/op 5.5981 ms/op 1.16
BLS aggregatePubkeys 32 - blst-native 24.479 us/op 23.014 us/op 1.06
BLS aggregatePubkeys 128 - blst-native 95.806 us/op 87.920 us/op 1.09
getAttestationsForBlock 39.935 ms/op 28.851 ms/op 1.38
isKnown best case - 1 super set check 343.00 ns/op 318.00 ns/op 1.08
isKnown normal case - 2 super set checks 273.00 ns/op 311.00 ns/op 0.88
isKnown worse case - 16 super set checks 274.00 ns/op 318.00 ns/op 0.86
CheckpointStateCache - add get delete 5.0150 us/op 3.5700 us/op 1.40
validate api signedAggregateAndProof - struct 2.7356 ms/op 2.4139 ms/op 1.13
validate gossip signedAggregateAndProof - struct 2.7269 ms/op 2.6873 ms/op 1.01
validate gossip attestation - vc 640000 1.3430 ms/op 1.1815 ms/op 1.14
batch validate gossip attestation - vc 640000 - chunk 32 164.00 us/op 145.31 us/op 1.13
batch validate gossip attestation - vc 640000 - chunk 64 177.02 us/op 127.01 us/op 1.39
batch validate gossip attestation - vc 640000 - chunk 128 162.45 us/op 118.42 us/op 1.37
batch validate gossip attestation - vc 640000 - chunk 256 145.67 us/op 118.56 us/op 1.23
pickEth1Vote - no votes 1.3658 ms/op 947.99 us/op 1.44
pickEth1Vote - max votes 18.242 ms/op 10.987 ms/op 1.66
pickEth1Vote - Eth1Data hashTreeRoot value x2048 26.135 ms/op 17.405 ms/op 1.50
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 46.525 ms/op 27.801 ms/op 1.67
pickEth1Vote - Eth1Data fastSerialize value x2048 662.75 us/op 452.90 us/op 1.46
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.4877 ms/op 7.9717 ms/op 0.94
bytes32 toHexString 652.00 ns/op 523.00 ns/op 1.25
bytes32 Buffer.toString(hex) 329.00 ns/op 340.00 ns/op 0.97
bytes32 Buffer.toString(hex) from Uint8Array 527.00 ns/op 509.00 ns/op 1.04
bytes32 Buffer.toString(hex) + 0x 322.00 ns/op 339.00 ns/op 0.95
Object access 1 prop 0.20800 ns/op 0.23500 ns/op 0.89
Map access 1 prop 0.17000 ns/op 0.20300 ns/op 0.84
Object get x1000 8.2470 ns/op 5.2390 ns/op 1.57
Map get x1000 0.69600 ns/op 0.61800 ns/op 1.13
Object set x1000 65.742 ns/op 26.590 ns/op 2.47
Map set x1000 51.841 ns/op 17.957 ns/op 2.89
Return object 10000 times 0.28780 ns/op 0.23480 ns/op 1.23
Throw Error 10000 times 4.1918 us/op 2.8009 us/op 1.50
fastMsgIdFn sha256 / 200 bytes 3.6420 us/op 2.1690 us/op 1.68
fastMsgIdFn h32 xxhash / 200 bytes 342.00 ns/op 325.00 ns/op 1.05
fastMsgIdFn h64 xxhash / 200 bytes 402.00 ns/op 391.00 ns/op 1.03
fastMsgIdFn sha256 / 1000 bytes 12.475 us/op 6.4740 us/op 1.93
fastMsgIdFn h32 xxhash / 1000 bytes 468.00 ns/op 467.00 ns/op 1.00
fastMsgIdFn h64 xxhash / 1000 bytes 469.00 ns/op 463.00 ns/op 1.01
fastMsgIdFn sha256 / 10000 bytes 121.63 us/op 54.534 us/op 2.23
fastMsgIdFn h32 xxhash / 10000 bytes 2.1750 us/op 1.9070 us/op 1.14
fastMsgIdFn h64 xxhash / 10000 bytes 1.4960 us/op 1.3080 us/op 1.14
send data - 1000 256B messages 23.072 ms/op 13.490 ms/op 1.71
send data - 1000 512B messages 30.796 ms/op 17.457 ms/op 1.76
send data - 1000 1024B messages 45.872 ms/op 25.442 ms/op 1.80
send data - 1000 1200B messages 31.981 ms/op 20.180 ms/op 1.58
send data - 1000 2048B messages 33.061 ms/op 28.379 ms/op 1.16
send data - 1000 4096B messages 52.238 ms/op 28.303 ms/op 1.85
send data - 1000 16384B messages 94.232 ms/op 62.758 ms/op 1.50
send data - 1000 65536B messages 398.75 ms/op 214.76 ms/op 1.86
enrSubnets - fastDeserialize 64 bits 1.7240 us/op 934.00 ns/op 1.85
enrSubnets - ssz BitVector 64 bits 535.00 ns/op 441.00 ns/op 1.21
enrSubnets - fastDeserialize 4 bits 221.00 ns/op 202.00 ns/op 1.09
enrSubnets - ssz BitVector 4 bits 533.00 ns/op 437.00 ns/op 1.22
prioritizePeers score -10:0 att 32-0.1 sync 2-0 152.74 us/op 78.694 us/op 1.94
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 180.99 us/op 112.88 us/op 1.60
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 209.96 us/op 154.44 us/op 1.36
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 409.90 us/op 203.29 us/op 2.02
prioritizePeers score 0:0 att 64-1 sync 4-1 429.62 us/op 225.82 us/op 1.90
array of 16000 items push then shift 1.9771 us/op 1.3284 us/op 1.49
LinkedList of 16000 items push then shift 10.886 ns/op 6.1950 ns/op 1.76
array of 16000 items push then pop 121.51 ns/op 83.633 ns/op 1.45
LinkedList of 16000 items push then pop 10.134 ns/op 5.7590 ns/op 1.76
array of 24000 items push then shift 2.7339 us/op 1.9250 us/op 1.42
LinkedList of 24000 items push then shift 10.978 ns/op 6.0570 ns/op 1.81
array of 24000 items push then pop 153.36 ns/op 77.705 ns/op 1.97
LinkedList of 24000 items push then pop 13.038 ns/op 5.6740 ns/op 2.30
intersect bitArray bitLen 8 7.7460 ns/op 5.3780 ns/op 1.44
intersect array and set length 8 80.422 ns/op 41.094 ns/op 1.96
intersect bitArray bitLen 128 37.595 ns/op 26.083 ns/op 1.44
intersect array and set length 128 966.87 ns/op 581.27 ns/op 1.66
bitArray.getTrueBitIndexes() bitLen 128 1.7640 us/op 1.3270 us/op 1.33
bitArray.getTrueBitIndexes() bitLen 248 3.0700 us/op 2.0730 us/op 1.48
bitArray.getTrueBitIndexes() bitLen 512 5.6380 us/op 3.8020 us/op 1.48
Buffer.concat 32 items 1.0220 us/op 845.00 ns/op 1.21
Uint8Array.set 32 items 1.9080 us/op 2.0820 us/op 0.92
Set add up to 64 items then delete first 4.2562 us/op 1.6524 us/op 2.58
OrderedSet add up to 64 items then delete first 5.3000 us/op 2.5020 us/op 2.12
Set add up to 64 items then delete last 4.5749 us/op 1.8866 us/op 2.42
OrderedSet add up to 64 items then delete last 5.8743 us/op 2.9272 us/op 2.01
Set add up to 64 items then delete middle 4.7169 us/op 1.8876 us/op 2.50
OrderedSet add up to 64 items then delete middle 7.1361 us/op 4.0940 us/op 1.74
Set add up to 128 items then delete first 9.3141 us/op 3.6575 us/op 2.55
OrderedSet add up to 128 items then delete first 12.297 us/op 5.4893 us/op 2.24
Set add up to 128 items then delete last 8.9967 us/op 4.1454 us/op 2.17
OrderedSet add up to 128 items then delete last 11.405 us/op 6.8104 us/op 1.67
Set add up to 128 items then delete middle 8.9962 us/op 4.6343 us/op 1.94
OrderedSet add up to 128 items then delete middle 16.641 us/op 12.091 us/op 1.38
Set add up to 256 items then delete first 18.713 us/op 7.2459 us/op 2.58
OrderedSet add up to 256 items then delete first 24.516 us/op 11.285 us/op 2.17
Set add up to 256 items then delete last 17.934 us/op 7.1643 us/op 2.50
OrderedSet add up to 256 items then delete last 22.896 us/op 11.649 us/op 1.97
Set add up to 256 items then delete middle 17.962 us/op 7.9261 us/op 2.27
OrderedSet add up to 256 items then delete middle 44.177 us/op 31.527 us/op 1.40
transfer serialized Status (84 B) 1.7810 us/op 1.5330 us/op 1.16
copy serialized Status (84 B) 1.5080 us/op 1.3650 us/op 1.10
transfer serialized SignedVoluntaryExit (112 B) 1.9340 us/op 1.7550 us/op 1.10
copy serialized SignedVoluntaryExit (112 B) 1.5590 us/op 1.5670 us/op 0.99
transfer serialized ProposerSlashing (416 B) 2.3430 us/op 2.5660 us/op 0.91
copy serialized ProposerSlashing (416 B) 2.0430 us/op 2.2810 us/op 0.90
transfer serialized Attestation (485 B) 2.3660 us/op 2.3510 us/op 1.01
copy serialized Attestation (485 B) 2.6520 us/op 2.5910 us/op 1.02
transfer serialized AttesterSlashing (33232 B) 2.6370 us/op 2.7910 us/op 0.94
copy serialized AttesterSlashing (33232 B) 5.1540 us/op 7.2380 us/op 0.71
transfer serialized Small SignedBeaconBlock (128000 B) 3.0110 us/op 2.6530 us/op 1.13
copy serialized Small SignedBeaconBlock (128000 B) 12.713 us/op 13.901 us/op 0.91
transfer serialized Avg SignedBeaconBlock (200000 B) 3.0080 us/op 2.1610 us/op 1.39
copy serialized Avg SignedBeaconBlock (200000 B) 17.731 us/op 21.061 us/op 0.84
transfer serialized BlobsSidecar (524380 B) 2.9550 us/op 2.7920 us/op 1.06
copy serialized BlobsSidecar (524380 B) 81.358 us/op 84.202 us/op 0.97
transfer serialized Big SignedBeaconBlock (1000000 B) 2.8940 us/op 3.0590 us/op 0.95
copy serialized Big SignedBeaconBlock (1000000 B) 152.00 us/op 137.26 us/op 1.11
pass gossip attestations to forkchoice per slot 3.7991 ms/op 2.6858 ms/op 1.41
forkChoice updateHead vc 100000 bc 64 eq 0 673.54 us/op 572.54 us/op 1.18
forkChoice updateHead vc 600000 bc 64 eq 0 4.4418 ms/op 2.6743 ms/op 1.66
forkChoice updateHead vc 1000000 bc 64 eq 0 6.9715 ms/op 4.3937 ms/op 1.59
forkChoice updateHead vc 600000 bc 320 eq 0 4.1741 ms/op 2.7022 ms/op 1.54
forkChoice updateHead vc 600000 bc 1200 eq 0 4.3009 ms/op 2.7789 ms/op 1.55
forkChoice updateHead vc 600000 bc 7200 eq 0 5.3428 ms/op 3.9281 ms/op 1.36
forkChoice updateHead vc 600000 bc 64 eq 1000 11.175 ms/op 9.6133 ms/op 1.16
forkChoice updateHead vc 600000 bc 64 eq 10000 12.113 ms/op 9.6841 ms/op 1.25
forkChoice updateHead vc 600000 bc 64 eq 300000 15.516 ms/op 11.660 ms/op 1.33
computeDeltas 500000 validators 300 proto nodes 6.2799 ms/op 2.9362 ms/op 2.14
computeDeltas 500000 validators 1200 proto nodes 6.2250 ms/op 2.9669 ms/op 2.10
computeDeltas 500000 validators 7200 proto nodes 6.1833 ms/op 2.8937 ms/op 2.14
computeDeltas 750000 validators 300 proto nodes 9.4050 ms/op 4.4273 ms/op 2.12
computeDeltas 750000 validators 1200 proto nodes 9.3440 ms/op 4.4994 ms/op 2.08
computeDeltas 750000 validators 7200 proto nodes 9.4191 ms/op 4.4705 ms/op 2.11
computeDeltas 1400000 validators 300 proto nodes 17.693 ms/op 8.1424 ms/op 2.17
computeDeltas 1400000 validators 1200 proto nodes 17.805 ms/op 8.4370 ms/op 2.11
computeDeltas 1400000 validators 7200 proto nodes 17.685 ms/op 8.4234 ms/op 2.10
computeDeltas 2100000 validators 300 proto nodes 26.738 ms/op 12.735 ms/op 2.10
computeDeltas 2100000 validators 1200 proto nodes 26.724 ms/op 13.649 ms/op 1.96
computeDeltas 2100000 validators 7200 proto nodes 26.992 ms/op 14.746 ms/op 1.83
computeProposerBoostScoreFromBalances 500000 validators 3.3003 ms/op 2.9916 ms/op 1.10
computeProposerBoostScoreFromBalances 750000 validators 3.2734 ms/op 2.8113 ms/op 1.16
computeProposerBoostScoreFromBalances 1400000 validators 3.2895 ms/op 2.6794 ms/op 1.23
computeProposerBoostScoreFromBalances 2100000 validators 3.2937 ms/op 2.6363 ms/op 1.25
altair processAttestation - 250000 vs - 7PWei normalcase 2.6195 ms/op 1.6214 ms/op 1.62
altair processAttestation - 250000 vs - 7PWei worstcase 3.4585 ms/op 2.1654 ms/op 1.60
altair processAttestation - setStatus - 1/6 committees join 179.38 us/op 106.22 us/op 1.69
altair processAttestation - setStatus - 1/3 committees join 340.88 us/op 193.71 us/op 1.76
altair processAttestation - setStatus - 1/2 committees join 455.84 us/op 287.18 us/op 1.59
altair processAttestation - setStatus - 2/3 committees join 573.89 us/op 359.52 us/op 1.60
altair processAttestation - setStatus - 4/5 committees join 778.22 us/op 495.22 us/op 1.57
altair processAttestation - setStatus - 100% committees join 941.29 us/op 567.09 us/op 1.66
altair processBlock - 250000 vs - 7PWei normalcase 8.1287 ms/op 7.0992 ms/op 1.15
altair processBlock - 250000 vs - 7PWei normalcase hashState 34.494 ms/op 24.432 ms/op 1.41
altair processBlock - 250000 vs - 7PWei worstcase 40.373 ms/op 29.574 ms/op 1.37
altair processBlock - 250000 vs - 7PWei worstcase hashState 92.446 ms/op 75.994 ms/op 1.22
phase0 processBlock - 250000 vs - 7PWei normalcase 3.1564 ms/op 2.1600 ms/op 1.46
phase0 processBlock - 250000 vs - 7PWei worstcase 37.752 ms/op 23.965 ms/op 1.58
altair processEth1Data - 250000 vs - 7PWei normalcase 554.69 us/op 297.71 us/op 1.86
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 15.535 us/op 6.2010 us/op 2.51
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 75.704 us/op 59.179 us/op 1.28
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 25.779 us/op 22.646 us/op 1.14
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 19.384 us/op 10.110 us/op 1.92
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 205.11 us/op 146.41 us/op 1.40
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.4777 ms/op 1.2281 ms/op 1.20
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.1732 ms/op 1.0068 ms/op 2.16
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.0822 ms/op 848.65 us/op 2.45
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.9255 ms/op 2.1608 ms/op 2.28
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.1145 ms/op 1.4470 ms/op 2.15
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.7056 ms/op 3.9094 ms/op 2.48
Tree 40 250000 create 364.23 ms/op 219.44 ms/op 1.66
Tree 40 250000 get(125000) 213.33 ns/op 109.80 ns/op 1.94
Tree 40 250000 set(125000) 1.1954 us/op 668.83 ns/op 1.79
Tree 40 250000 toArray() 23.308 ms/op 9.7521 ms/op 2.39
Tree 40 250000 iterate all - toArray() + loop 26.623 ms/op 9.6757 ms/op 2.75
Tree 40 250000 iterate all - get(i) 87.912 ms/op 39.177 ms/op 2.24
MutableVector 250000 create 16.259 ms/op 7.0019 ms/op 2.32
MutableVector 250000 get(125000) 9.2680 ns/op 5.8080 ns/op 1.60
MutableVector 250000 set(125000) 617.56 ns/op 192.75 ns/op 3.20
MutableVector 250000 toArray() 5.6111 ms/op 2.4118 ms/op 2.33
MutableVector 250000 iterate all - toArray() + loop 5.9461 ms/op 2.4213 ms/op 2.46
MutableVector 250000 iterate all - get(i) 1.7951 ms/op 1.3220 ms/op 1.36
Array 250000 create 5.0217 ms/op 2.2519 ms/op 2.23
Array 250000 clone - spread 3.7118 ms/op 1.0629 ms/op 3.49
Array 250000 get(125000) 1.4980 ns/op 0.58600 ns/op 2.56
Array 250000 set(125000) 1.7420 ns/op 0.65100 ns/op 2.68
Array 250000 iterate all - loop 123.56 us/op 77.780 us/op 1.59
effectiveBalanceIncrements clone Uint8Array 300000 88.369 us/op 12.894 us/op 6.85
effectiveBalanceIncrements clone MutableVector 300000 414.00 ns/op 376.00 ns/op 1.10
effectiveBalanceIncrements rw all Uint8Array 300000 218.23 us/op 168.82 us/op 1.29
effectiveBalanceIncrements rw all MutableVector 300000 191.43 ms/op 61.980 ms/op 3.09
phase0 afterProcessEpoch - 250000 vs - 7PWei 142.90 ms/op 83.938 ms/op 1.70
phase0 beforeProcessEpoch - 250000 vs - 7PWei 70.324 ms/op 33.443 ms/op 2.10
altair processEpoch - mainnet_e81889 595.77 ms/op 338.56 ms/op 1.76
mainnet_e81889 - altair beforeProcessEpoch 82.654 ms/op 53.129 ms/op 1.56
mainnet_e81889 - altair processJustificationAndFinalization 25.421 us/op 11.747 us/op 2.16
mainnet_e81889 - altair processInactivityUpdates 10.575 ms/op 4.2431 ms/op 2.49
mainnet_e81889 - altair processRewardsAndPenalties 72.197 ms/op 55.952 ms/op 1.29
mainnet_e81889 - altair processRegistryUpdates 4.1030 us/op 1.9250 us/op 2.13
mainnet_e81889 - altair processSlashings 774.00 ns/op 535.00 ns/op 1.45
mainnet_e81889 - altair processEth1DataReset 951.00 ns/op 590.00 ns/op 1.61
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6696 ms/op 1.5020 ms/op 1.11
mainnet_e81889 - altair processSlashingsReset 5.0530 us/op 1.8620 us/op 2.71
mainnet_e81889 - altair processRandaoMixesReset 8.5120 us/op 3.7650 us/op 2.26
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2840 us/op 679.00 ns/op 1.89
mainnet_e81889 - altair processParticipationFlagUpdates 3.8550 us/op 1.5600 us/op 2.47
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1660 us/op 594.00 ns/op 1.96
mainnet_e81889 - altair afterProcessEpoch 148.25 ms/op 80.676 ms/op 1.84
capella processEpoch - mainnet_e217614 1.6338 s/op 1.2619 s/op 1.29
mainnet_e217614 - capella beforeProcessEpoch 258.32 ms/op 188.70 ms/op 1.37
mainnet_e217614 - capella processJustificationAndFinalization 14.889 us/op 10.472 us/op 1.42
mainnet_e217614 - capella processInactivityUpdates 21.108 ms/op 18.969 ms/op 1.11
mainnet_e217614 - capella processRewardsAndPenalties 291.36 ms/op 236.56 ms/op 1.23
mainnet_e217614 - capella processRegistryUpdates 24.192 us/op 12.715 us/op 1.90
mainnet_e217614 - capella processSlashings 886.00 ns/op 569.00 ns/op 1.56
mainnet_e217614 - capella processEth1DataReset 584.00 ns/op 495.00 ns/op 1.18
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.2394 ms/op 2.9739 ms/op 1.43
mainnet_e217614 - capella processSlashingsReset 4.4640 us/op 2.3940 us/op 1.86
mainnet_e217614 - capella processRandaoMixesReset 7.7300 us/op 4.1000 us/op 1.89
mainnet_e217614 - capella processHistoricalRootsUpdate 745.00 ns/op 806.00 ns/op 0.92
mainnet_e217614 - capella processParticipationFlagUpdates 2.0240 us/op 1.2020 us/op 1.68
mainnet_e217614 - capella afterProcessEpoch 317.64 ms/op 187.50 ms/op 1.69
phase0 processEpoch - mainnet_e58758 472.42 ms/op 358.03 ms/op 1.32
mainnet_e58758 - phase0 beforeProcessEpoch 120.22 ms/op 116.51 ms/op 1.03
mainnet_e58758 - phase0 processJustificationAndFinalization 16.007 us/op 12.070 us/op 1.33
mainnet_e58758 - phase0 processRewardsAndPenalties 61.707 ms/op 54.430 ms/op 1.13
mainnet_e58758 - phase0 processRegistryUpdates 12.933 us/op 7.8540 us/op 1.65
mainnet_e58758 - phase0 processSlashings 484.00 ns/op 506.00 ns/op 0.96
mainnet_e58758 - phase0 processEth1DataReset 444.00 ns/op 535.00 ns/op 0.83
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2483 ms/op 781.22 us/op 1.60
mainnet_e58758 - phase0 processSlashingsReset 2.4930 us/op 2.0730 us/op 1.20
mainnet_e58758 - phase0 processRandaoMixesReset 4.8900 us/op 3.0830 us/op 1.59
mainnet_e58758 - phase0 processHistoricalRootsUpdate 548.00 ns/op 591.00 ns/op 0.93
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.9150 us/op 4.3010 us/op 1.14
mainnet_e58758 - phase0 afterProcessEpoch 111.33 ms/op 67.994 ms/op 1.64
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2583 ms/op 898.11 us/op 1.40
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.3595 ms/op 1.0873 ms/op 2.17
altair processInactivityUpdates - 250000 normalcase 22.395 ms/op 18.848 ms/op 1.19
altair processInactivityUpdates - 250000 worstcase 22.099 ms/op 18.014 ms/op 1.23
phase0 processRegistryUpdates - 250000 normalcase 8.2220 us/op 9.3700 us/op 0.88
phase0 processRegistryUpdates - 250000 badcase_full_deposits 532.13 us/op 221.10 us/op 2.41
phase0 processRegistryUpdates - 250000 worstcase 0.5 139.82 ms/op 117.98 ms/op 1.19
altair processRewardsAndPenalties - 250000 normalcase 68.793 ms/op 61.172 ms/op 1.12
altair processRewardsAndPenalties - 250000 worstcase 69.646 ms/op 61.925 ms/op 1.12
phase0 getAttestationDeltas - 250000 normalcase 8.1519 ms/op 5.1834 ms/op 1.57
phase0 getAttestationDeltas - 250000 worstcase 8.1138 ms/op 5.5504 ms/op 1.46
phase0 processSlashings - 250000 worstcase 2.4140 ms/op 1.6667 ms/op 1.45
altair processSyncCommitteeUpdates - 250000 155.94 ms/op 110.29 ms/op 1.41
BeaconState.hashTreeRoot - No change 359.00 ns/op 357.00 ns/op 1.01
BeaconState.hashTreeRoot - 1 full validator 130.92 us/op 140.86 us/op 0.93
BeaconState.hashTreeRoot - 32 full validator 1.2781 ms/op 910.60 us/op 1.40
BeaconState.hashTreeRoot - 512 full validator 13.504 ms/op 15.281 ms/op 0.88
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 151.26 us/op 152.19 us/op 0.99
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0783 ms/op 1.6955 ms/op 1.23
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 26.627 ms/op 30.902 ms/op 0.86
BeaconState.hashTreeRoot - 1 balances 142.17 us/op 123.62 us/op 1.15
BeaconState.hashTreeRoot - 32 balances 1.4079 ms/op 1.1557 ms/op 1.22
BeaconState.hashTreeRoot - 512 balances 13.702 ms/op 9.8240 ms/op 1.39
BeaconState.hashTreeRoot - 250000 balances 191.18 ms/op 172.18 ms/op 1.11
aggregationBits - 2048 els - zipIndexesInBitList 15.565 us/op 8.7950 us/op 1.77
regular array get 100000 times 43.616 us/op 30.736 us/op 1.42
wrappedArray get 100000 times 32.874 us/op 30.619 us/op 1.07
arrayWithProxy get 100000 times 14.187 ms/op 9.8379 ms/op 1.44
ssz.Root.equals 228.00 ns/op 262.00 ns/op 0.87
byteArrayEquals 220.00 ns/op 230.00 ns/op 0.96
shuffle list - 16384 els 7.1524 ms/op 4.4531 ms/op 1.61
shuffle list - 250000 els 102.88 ms/op 66.071 ms/op 1.56
processSlot - 1 slots 20.200 us/op 14.826 us/op 1.36
processSlot - 32 slots 5.1667 ms/op 2.4438 ms/op 2.11
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 48.669 ms/op 47.957 ms/op 1.01
getCommitteeAssignments - req 1 vs - 250000 vc 2.5410 ms/op 2.2363 ms/op 1.14
getCommitteeAssignments - req 100 vs - 250000 vc 3.7388 ms/op 3.3611 ms/op 1.11
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0831 ms/op 3.6319 ms/op 1.12
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5800 ns/op 4.5100 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 912.05 ns/op 992.26 ns/op 0.92
computeProposers - vc 250000 9.3470 ms/op 5.7721 ms/op 1.62
computeEpochShuffling - vc 250000 106.95 ms/op 68.419 ms/op 1.56
getNextSyncCommittee - vc 250000 155.85 ms/op 100.70 ms/op 1.55
computeSigningRoot for AttestationData 25.761 us/op 19.874 us/op 1.30
hash AttestationData serialized data then Buffer.toString(base64) 2.3503 us/op 1.2467 us/op 1.89
toHexString serialized data 1.1522 us/op 806.72 ns/op 1.43
Buffer.toString(base64) 226.40 ns/op 153.61 ns/op 1.47

by benchmarkbot/action

@wemeetagain
Copy link
Member

Maybe should be expressed as a 0-100% ?

@nflaig
Copy link
Member Author

nflaig commented Oct 6, 2023

Maybe should be expressed as a 0-100% ?

Good point, this also aligns better with how it is displayed on rated.network

@nflaig nflaig merged commit 45bc298 into unstable Oct 7, 2023
14 checks passed
@nflaig nflaig deleted the nflaig/rated-network-panel branch October 7, 2023 09:03
@dapplion
Copy link
Contributor

dapplion commented Oct 9, 2023

Note the rated.network formula on the chart is incomplete. It needs to consider block production succeses, since the metric for it was not available at the time

@nflaig
Copy link
Member Author

nflaig commented Oct 9, 2023

Note the rated.network formula on the chart is incomplete. It needs to consider block production succeses, since the metric for it was not available at the time

See #5615 (comment), need to consider how we want to handle the case when there is no block proposal for the time period, for solo stakers this will be the case most of the time

@wemeetagain
Copy link
Member

🎉 This PR is included in v1.12.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