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

Enable auto-refresh on all dashboards #4570

Merged
merged 1 commit into from Sep 20, 2022
Merged

Conversation

dapplion
Copy link
Contributor

Motivation

Description

Enable auto-refresh on all dashboards

Closes #4566

@dapplion dapplion requested a review from a team as a code owner September 20, 2022 09:56
Copy link
Contributor

@twoeths twoeths left a comment

Choose a reason for hiding this comment

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

confirm that it works fine with auto refresh

@dapplion dapplion enabled auto-merge (squash) September 20, 2022 10:10
@github-actions
Copy link
Contributor

github-actions bot commented Sep 20, 2022

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 1a34cbf Previous: 31f220e Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.1168 ms/op 3.0094 ms/op 0.70
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 68.182 us/op 100.58 us/op 0.68
BLS verify - blst-native 2.1652 ms/op 2.3937 ms/op 0.90
BLS verifyMultipleSignatures 3 - blst-native 4.4726 ms/op 4.9040 ms/op 0.91
BLS verifyMultipleSignatures 8 - blst-native 9.6656 ms/op 10.293 ms/op 0.94
BLS verifyMultipleSignatures 32 - blst-native 35.152 ms/op 38.472 ms/op 0.91
BLS aggregatePubkeys 32 - blst-native 46.578 us/op 52.179 us/op 0.89
BLS aggregatePubkeys 128 - blst-native 182.48 us/op 194.04 us/op 0.94
getAttestationsForBlock 82.376 ms/op 120.20 ms/op 0.69
isKnown best case - 1 super set check 485.00 ns/op 547.00 ns/op 0.89
isKnown normal case - 2 super set checks 472.00 ns/op 517.00 ns/op 0.91
isKnown worse case - 16 super set checks 471.00 ns/op 532.00 ns/op 0.89
CheckpointStateCache - add get delete 9.2300 us/op 11.572 us/op 0.80
validate gossip signedAggregateAndProof - struct 5.0504 ms/op 5.3912 ms/op 0.94
validate gossip attestation - struct 2.3739 ms/op 2.5870 ms/op 0.92
pickEth1Vote - no votes 2.2095 ms/op 2.7711 ms/op 0.80
pickEth1Vote - max votes 21.183 ms/op 27.804 ms/op 0.76
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.945 ms/op 14.974 ms/op 0.86
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.651 ms/op 26.870 ms/op 0.81
pickEth1Vote - Eth1Data fastSerialize value x2048 1.5031 ms/op 2.0045 ms/op 0.75
pickEth1Vote - Eth1Data fastSerialize tree x2048 14.461 ms/op 18.619 ms/op 0.78
bytes32 toHexString 1.0370 us/op 1.4500 us/op 0.72
bytes32 Buffer.toString(hex) 784.00 ns/op 910.00 ns/op 0.86
bytes32 Buffer.toString(hex) from Uint8Array 1.0640 us/op 1.2130 us/op 0.88
bytes32 Buffer.toString(hex) + 0x 794.00 ns/op 929.00 ns/op 0.85
Object access 1 prop 0.40400 ns/op 0.51100 ns/op 0.79
Map access 1 prop 0.31200 ns/op 0.38500 ns/op 0.81
Object get x1000 11.350 ns/op 17.729 ns/op 0.64
Map get x1000 0.94200 ns/op 1.2420 ns/op 0.76
Object set x1000 81.910 ns/op 139.20 ns/op 0.59
Map set x1000 54.986 ns/op 89.640 ns/op 0.61
Return object 10000 times 0.43810 ns/op 0.44600 ns/op 0.98
Throw Error 10000 times 6.1756 us/op 8.7314 us/op 0.71
enrSubnets - fastDeserialize 64 bits 2.9050 us/op 3.5390 us/op 0.82
enrSubnets - ssz BitVector 64 bits 803.00 ns/op 1.0110 us/op 0.79
enrSubnets - fastDeserialize 4 bits 422.00 ns/op 469.00 ns/op 0.90
enrSubnets - ssz BitVector 4 bits 811.00 ns/op 937.00 ns/op 0.87
prioritizePeers score -10:0 att 32-0.1 sync 2-0 91.040 us/op 145.05 us/op 0.63
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 131.48 us/op 169.52 us/op 0.78
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 233.51 us/op 305.64 us/op 0.76
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 337.93 us/op 670.57 us/op 0.50
prioritizePeers score 0:0 att 64-1 sync 4-1 408.35 us/op 595.34 us/op 0.69
RateTracker 1000000 limit, 1 obj count per request 200.86 ns/op 222.88 ns/op 0.90
RateTracker 1000000 limit, 2 obj count per request 150.97 ns/op 165.33 ns/op 0.91
RateTracker 1000000 limit, 4 obj count per request 126.08 ns/op 140.93 ns/op 0.89
RateTracker 1000000 limit, 8 obj count per request 113.71 ns/op 125.08 ns/op 0.91
RateTracker with prune 4.9920 us/op 6.1940 us/op 0.81
array of 16000 items push then shift 51.601 us/op 5.6634 us/op 9.11
LinkedList of 16000 items push then shift 12.783 ns/op 22.238 ns/op 0.57
array of 16000 items push then pop 212.26 ns/op 287.13 ns/op 0.74
LinkedList of 16000 items push then pop 12.331 ns/op 20.972 ns/op 0.59
array of 24000 items push then shift 77.388 us/op 8.3103 us/op 9.31
LinkedList of 24000 items push then shift 13.782 ns/op 22.487 ns/op 0.61
array of 24000 items push then pop 199.67 ns/op 266.04 ns/op 0.75
LinkedList of 24000 items push then pop 12.551 ns/op 20.384 ns/op 0.62
intersect bitArray bitLen 8 10.752 ns/op 12.943 ns/op 0.83
intersect array and set length 8 161.07 ns/op 219.86 ns/op 0.73
intersect bitArray bitLen 128 59.111 ns/op 75.958 ns/op 0.78
intersect array and set length 128 1.9164 us/op 2.6060 us/op 0.74
Buffer.concat 32 items 2.0450 ns/op 2.8670 ns/op 0.71
pass gossip attestations to forkchoice per slot 5.1276 ms/op 6.2911 ms/op 0.82
computeDeltas 3.2971 ms/op 4.5224 ms/op 0.73
computeProposerBoostScoreFromBalances 807.50 us/op 933.08 us/op 0.87
altair processAttestation - 250000 vs - 7PWei normalcase 3.8606 ms/op 6.0966 ms/op 0.63
altair processAttestation - 250000 vs - 7PWei worstcase 5.7550 ms/op 8.5674 ms/op 0.67
altair processAttestation - setStatus - 1/6 committees join 183.62 us/op 265.23 us/op 0.69
altair processAttestation - setStatus - 1/3 committees join 357.62 us/op 506.02 us/op 0.71
altair processAttestation - setStatus - 1/2 committees join 515.73 us/op 765.45 us/op 0.67
altair processAttestation - setStatus - 2/3 committees join 680.98 us/op 1.0078 ms/op 0.68
altair processAttestation - setStatus - 4/5 committees join 937.41 us/op 1.4331 ms/op 0.65
altair processAttestation - setStatus - 100% committees join 1.1318 ms/op 1.7136 ms/op 0.66
altair processBlock - 250000 vs - 7PWei normalcase 25.511 ms/op 36.186 ms/op 0.70
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.265 ms/op 50.440 ms/op 0.78
altair processBlock - 250000 vs - 7PWei worstcase 76.333 ms/op 104.48 ms/op 0.73
altair processBlock - 250000 vs - 7PWei worstcase hashState 115.07 ms/op 130.89 ms/op 0.88
phase0 processBlock - 250000 vs - 7PWei normalcase 3.4521 ms/op 4.8605 ms/op 0.71
phase0 processBlock - 250000 vs - 7PWei worstcase 51.856 ms/op 61.382 ms/op 0.84
altair processEth1Data - 250000 vs - 7PWei normalcase 795.77 us/op 1.3191 ms/op 0.60
Tree 40 250000 create 813.79 ms/op 1.1379 s/op 0.72
Tree 40 250000 get(125000) 253.76 ns/op 349.77 ns/op 0.73
Tree 40 250000 set(125000) 2.4212 us/op 4.0754 us/op 0.59
Tree 40 250000 toArray() 28.373 ms/op 40.629 ms/op 0.70
Tree 40 250000 iterate all - toArray() + loop 28.571 ms/op 40.365 ms/op 0.71
Tree 40 250000 iterate all - get(i) 113.90 ms/op 143.98 ms/op 0.79
MutableVector 250000 create 14.514 ms/op 19.326 ms/op 0.75
MutableVector 250000 get(125000) 11.197 ns/op 15.354 ns/op 0.73
MutableVector 250000 set(125000) 611.98 ns/op 1.1746 us/op 0.52
MutableVector 250000 toArray() 6.7968 ms/op 9.2474 ms/op 0.73
MutableVector 250000 iterate all - toArray() + loop 6.8980 ms/op 9.3399 ms/op 0.74
MutableVector 250000 iterate all - get(i) 2.6237 ms/op 3.6005 ms/op 0.73
Array 250000 create 6.7329 ms/op 8.5621 ms/op 0.79
Array 250000 clone - spread 3.4789 ms/op 4.9507 ms/op 0.70
Array 250000 get(125000) 1.6350 ns/op 2.1840 ns/op 0.75
Array 250000 set(125000) 1.5750 ns/op 2.2370 ns/op 0.70
Array 250000 iterate all - loop 154.01 us/op 150.92 us/op 1.02
effectiveBalanceIncrements clone Uint8Array 300000 62.254 us/op 425.29 us/op 0.15
effectiveBalanceIncrements clone MutableVector 300000 1.1160 us/op 1.2030 us/op 0.93
effectiveBalanceIncrements rw all Uint8Array 300000 247.34 us/op 300.70 us/op 0.82
effectiveBalanceIncrements rw all MutableVector 300000 186.62 ms/op 247.96 ms/op 0.75
phase0 afterProcessEpoch - 250000 vs - 7PWei 192.06 ms/op 222.24 ms/op 0.86
phase0 beforeProcessEpoch - 250000 vs - 7PWei 57.595 ms/op 84.335 ms/op 0.68
altair processEpoch - mainnet_e81889 555.72 ms/op 697.72 ms/op 0.80
mainnet_e81889 - altair beforeProcessEpoch 143.24 ms/op 192.41 ms/op 0.74
mainnet_e81889 - altair processJustificationAndFinalization 20.109 us/op 64.296 us/op 0.31
mainnet_e81889 - altair processInactivityUpdates 8.9939 ms/op 12.972 ms/op 0.69
mainnet_e81889 - altair processRewardsAndPenalties 80.497 ms/op 112.72 ms/op 0.71
mainnet_e81889 - altair processRegistryUpdates 2.6790 us/op 15.663 us/op 0.17
mainnet_e81889 - altair processSlashings 685.00 ns/op 4.2670 us/op 0.16
mainnet_e81889 - altair processEth1DataReset 685.00 ns/op 4.1180 us/op 0.17
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.9157 ms/op 2.7223 ms/op 0.70
mainnet_e81889 - altair processSlashingsReset 4.3840 us/op 24.922 us/op 0.18
mainnet_e81889 - altair processRandaoMixesReset 4.1430 us/op 24.526 us/op 0.17
mainnet_e81889 - altair processHistoricalRootsUpdate 634.00 ns/op 4.1000 us/op 0.15
mainnet_e81889 - altair processParticipationFlagUpdates 2.0350 us/op 15.950 us/op 0.13
mainnet_e81889 - altair processSyncCommitteeUpdates 843.00 ns/op 3.5880 us/op 0.23
mainnet_e81889 - altair afterProcessEpoch 220.51 ms/op 228.08 ms/op 0.97
phase0 processEpoch - mainnet_e58758 499.81 ms/op 646.75 ms/op 0.77
mainnet_e58758 - phase0 beforeProcessEpoch 183.72 ms/op 306.41 ms/op 0.60
mainnet_e58758 - phase0 processJustificationAndFinalization 18.732 us/op 64.189 us/op 0.29
mainnet_e58758 - phase0 processRewardsAndPenalties 116.62 ms/op 170.96 ms/op 0.68
mainnet_e58758 - phase0 processRegistryUpdates 8.8160 us/op 38.143 us/op 0.23
mainnet_e58758 - phase0 processSlashings 628.00 ns/op 3.7800 us/op 0.17
mainnet_e58758 - phase0 processEth1DataReset 723.00 ns/op 3.7430 us/op 0.19
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.8458 ms/op 2.4432 ms/op 0.76
mainnet_e58758 - phase0 processSlashingsReset 4.4570 us/op 16.562 us/op 0.27
mainnet_e58758 - phase0 processRandaoMixesReset 4.2180 us/op 24.796 us/op 0.17
mainnet_e58758 - phase0 processHistoricalRootsUpdate 709.00 ns/op 4.0450 us/op 0.18
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.1530 us/op 22.356 us/op 0.19
mainnet_e58758 - phase0 afterProcessEpoch 164.41 ms/op 179.41 ms/op 0.92
phase0 processEffectiveBalanceUpdates - 250000 normalcase 2.0126 ms/op 2.5140 ms/op 0.80
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.2575 ms/op 3.1279 ms/op 0.72
altair processInactivityUpdates - 250000 normalcase 40.893 ms/op 55.293 ms/op 0.74
altair processInactivityUpdates - 250000 worstcase 33.542 ms/op 68.901 ms/op 0.49
phase0 processRegistryUpdates - 250000 normalcase 7.1800 us/op 27.188 us/op 0.26
phase0 processRegistryUpdates - 250000 badcase_full_deposits 387.38 us/op 536.46 us/op 0.72
phase0 processRegistryUpdates - 250000 worstcase 0.5 191.73 ms/op 276.41 ms/op 0.69
altair processRewardsAndPenalties - 250000 normalcase 71.138 ms/op 166.01 ms/op 0.43
altair processRewardsAndPenalties - 250000 worstcase 108.70 ms/op 108.09 ms/op 1.01
phase0 getAttestationDeltas - 250000 normalcase 12.478 ms/op 16.868 ms/op 0.74
phase0 getAttestationDeltas - 250000 worstcase 12.674 ms/op 15.048 ms/op 0.84
phase0 processSlashings - 250000 worstcase 5.3085 ms/op 6.8064 ms/op 0.78
altair processSyncCommitteeUpdates - 250000 299.65 ms/op 362.97 ms/op 0.83
BeaconState.hashTreeRoot - No change 573.00 ns/op 637.00 ns/op 0.90
BeaconState.hashTreeRoot - 1 full validator 72.858 us/op 80.291 us/op 0.91
BeaconState.hashTreeRoot - 32 full validator 744.56 us/op 795.66 us/op 0.94
BeaconState.hashTreeRoot - 512 full validator 7.6356 ms/op 8.0108 ms/op 0.95
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 93.395 us/op 110.62 us/op 0.84
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.3305 ms/op 1.6490 ms/op 0.81
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 17.825 ms/op 21.402 ms/op 0.83
BeaconState.hashTreeRoot - 1 balances 71.686 us/op 78.411 us/op 0.91
BeaconState.hashTreeRoot - 32 balances 1.2441 ms/op 741.90 us/op 1.68
BeaconState.hashTreeRoot - 512 balances 6.2367 ms/op 8.3720 ms/op 0.74
BeaconState.hashTreeRoot - 250000 balances 100.36 ms/op 115.29 ms/op 0.87
aggregationBits - 2048 els - zipIndexesInBitList 28.338 us/op 32.777 us/op 0.86
regular array get 100000 times 62.239 us/op 56.781 us/op 1.10
wrappedArray get 100000 times 60.787 us/op 59.612 us/op 1.02
arrayWithProxy get 100000 times 28.254 ms/op 37.272 ms/op 0.76
ssz.Root.equals 519.00 ns/op 611.00 ns/op 0.85
byteArrayEquals 496.00 ns/op 602.00 ns/op 0.82
shuffle list - 16384 els 11.451 ms/op 12.564 ms/op 0.91
shuffle list - 250000 els 168.71 ms/op 181.00 ms/op 0.93
processSlot - 1 slots 13.707 us/op 18.299 us/op 0.75
processSlot - 32 slots 2.0223 ms/op 2.4606 ms/op 0.82
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 391.40 us/op 574.02 us/op 0.68
getCommitteeAssignments - req 1 vs - 250000 vc 5.3746 ms/op 6.1799 ms/op 0.87
getCommitteeAssignments - req 100 vs - 250000 vc 7.8466 ms/op 8.2521 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 8.4542 ms/op 9.0278 ms/op 0.94
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 8.8300 ns/op 9.6100 ns/op 0.92
state getBlockRootAtSlot - 250000 vs - 7PWei 1.1411 us/op 1.4590 us/op 0.78
computeProposers - vc 250000 18.184 ms/op 22.678 ms/op 0.80
computeEpochShuffling - vc 250000 172.19 ms/op 187.44 ms/op 0.92
getNextSyncCommittee - vc 250000 301.35 ms/op 345.98 ms/op 0.87

by benchmarkbot/action

@dapplion dapplion merged commit 8709e3a into unstable Sep 20, 2022
@dapplion dapplion deleted the dapplion/dashboard-refresh branch September 20, 2022 10: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.

Duplicate types in discv5 sentMessageCount metric
2 participants