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: add more forkchoice and protoarray metrics to grafana #5870

Merged
merged 1 commit into from
Aug 10, 2023

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Aug 10, 2023

Motivation

  • Make it easier to investigate forkchoice issues in the future

Description

  • Track all forkchoice and protoarray metrics
Screenshot 2023-08-10 at 18 05 39

@twoeths twoeths requested a review from a team as a code owner August 10, 2023 11:06
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 2f097b6 Previous: 664820a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 472.29 us/op 538.36 us/op 0.88
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 77.911 us/op 75.356 us/op 1.03
BLS verify - blst-native 1.2520 ms/op 1.2453 ms/op 1.01
BLS verifyMultipleSignatures 3 - blst-native 2.5445 ms/op 2.5238 ms/op 1.01
BLS verifyMultipleSignatures 8 - blst-native 5.4470 ms/op 5.3875 ms/op 1.01
BLS verifyMultipleSignatures 32 - blst-native 19.726 ms/op 19.666 ms/op 1.00
BLS aggregatePubkeys 32 - blst-native 26.092 us/op 25.852 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 102.90 us/op 101.54 us/op 1.01
getAttestationsForBlock 57.852 ms/op 57.596 ms/op 1.00
isKnown best case - 1 super set check 279.00 ns/op 314.00 ns/op 0.89
isKnown normal case - 2 super set checks 277.00 ns/op 297.00 ns/op 0.93
isKnown worse case - 16 super set checks 269.00 ns/op 317.00 ns/op 0.85
CheckpointStateCache - add get delete 5.0690 us/op 5.0350 us/op 1.01
validate api signedAggregateAndProof - struct 2.9001 ms/op 2.8058 ms/op 1.03
validate gossip signedAggregateAndProof - struct 2.8645 ms/op 2.8122 ms/op 1.02
validate api attestation - struct 1.3503 ms/op 1.3431 ms/op 1.01
validate gossip attestation - struct 1.3691 ms/op 1.3665 ms/op 1.00
pickEth1Vote - no votes 1.2527 ms/op 1.2316 ms/op 1.02
pickEth1Vote - max votes 8.3237 ms/op 8.0403 ms/op 1.04
pickEth1Vote - Eth1Data hashTreeRoot value x2048 9.0921 ms/op 9.3640 ms/op 0.97
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 13.481 ms/op 15.007 ms/op 0.90
pickEth1Vote - Eth1Data fastSerialize value x2048 603.24 us/op 593.72 us/op 1.02
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.3723 ms/op 7.8127 ms/op 0.56
bytes32 toHexString 512.00 ns/op 503.00 ns/op 1.02
bytes32 Buffer.toString(hex) 320.00 ns/op 291.00 ns/op 1.10
bytes32 Buffer.toString(hex) from Uint8Array 473.00 ns/op 445.00 ns/op 1.06
bytes32 Buffer.toString(hex) + 0x 313.00 ns/op 293.00 ns/op 1.07
Object access 1 prop 0.17700 ns/op 0.16400 ns/op 1.08
Map access 1 prop 0.14500 ns/op 0.14800 ns/op 0.98
Object get x1000 7.3840 ns/op 7.5410 ns/op 0.98
Map get x1000 0.63200 ns/op 0.64300 ns/op 0.98
Object set x1000 54.846 ns/op 53.180 ns/op 1.03
Map set x1000 43.935 ns/op 43.503 ns/op 1.01
Return object 10000 times 0.25350 ns/op 0.24770 ns/op 1.02
Throw Error 10000 times 3.9289 us/op 3.9372 us/op 1.00
fastMsgIdFn sha256 / 200 bytes 3.4220 us/op 3.3760 us/op 1.01
fastMsgIdFn h32 xxhash / 200 bytes 333.00 ns/op 297.00 ns/op 1.12
fastMsgIdFn h64 xxhash / 200 bytes 388.00 ns/op 353.00 ns/op 1.10
fastMsgIdFn sha256 / 1000 bytes 11.788 us/op 11.665 us/op 1.01
fastMsgIdFn h32 xxhash / 1000 bytes 466.00 ns/op 436.00 ns/op 1.07
fastMsgIdFn h64 xxhash / 1000 bytes 463.00 ns/op 433.00 ns/op 1.07
fastMsgIdFn sha256 / 10000 bytes 105.24 us/op 104.81 us/op 1.00
fastMsgIdFn h32 xxhash / 10000 bytes 2.0000 us/op 1.9910 us/op 1.00
fastMsgIdFn h64 xxhash / 10000 bytes 1.3330 us/op 1.3820 us/op 0.96
enrSubnets - fastDeserialize 64 bits 1.4280 us/op 1.3610 us/op 1.05
enrSubnets - ssz BitVector 64 bits 496.00 ns/op 492.00 ns/op 1.01
enrSubnets - fastDeserialize 4 bits 214.00 ns/op 228.00 ns/op 0.94
enrSubnets - ssz BitVector 4 bits 529.00 ns/op 550.00 ns/op 0.96
prioritizePeers score -10:0 att 32-0.1 sync 2-0 115.90 us/op 126.22 us/op 0.92
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 150.47 us/op 138.56 us/op 1.09
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 186.31 us/op 223.03 us/op 0.84
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 345.81 us/op 371.82 us/op 0.93
prioritizePeers score 0:0 att 64-1 sync 4-1 391.71 us/op 413.41 us/op 0.95
array of 16000 items push then shift 1.6647 us/op 1.6410 us/op 1.01
LinkedList of 16000 items push then shift 9.8430 ns/op 9.7410 ns/op 1.01
array of 16000 items push then pop 65.379 ns/op 65.478 ns/op 1.00
LinkedList of 16000 items push then pop 9.2930 ns/op 9.5200 ns/op 0.98
array of 24000 items push then shift 2.5057 us/op 2.5320 us/op 0.99
LinkedList of 24000 items push then shift 9.3570 ns/op 10.206 ns/op 0.92
array of 24000 items push then pop 120.75 ns/op 132.05 ns/op 0.91
LinkedList of 24000 items push then pop 8.9470 ns/op 9.1160 ns/op 0.98
intersect bitArray bitLen 8 6.9870 ns/op 7.1240 ns/op 0.98
intersect array and set length 8 61.904 ns/op 72.367 ns/op 0.86
intersect bitArray bitLen 128 32.807 ns/op 33.160 ns/op 0.99
intersect array and set length 128 814.42 ns/op 1.0336 us/op 0.79
bitArray.getTrueBitIndexes() bitLen 128 1.9730 us/op 1.8290 us/op 1.08
bitArray.getTrueBitIndexes() bitLen 248 3.7550 us/op 3.0980 us/op 1.21
bitArray.getTrueBitIndexes() bitLen 512 7.4230 us/op 6.4210 us/op 1.16
Buffer.concat 32 items 1.1650 us/op 1.0760 us/op 1.08
Uint8Array.set 32 items 2.1730 us/op 1.8510 us/op 1.17
transfer serialized Status (84 B) 2.1330 us/op 1.9540 us/op 1.09
copy serialized Status (84 B) 1.9180 us/op 1.8480 us/op 1.04
transfer serialized SignedVoluntaryExit (112 B) 2.2320 us/op 2.3500 us/op 0.95
copy serialized SignedVoluntaryExit (112 B) 1.8880 us/op 2.1430 us/op 0.88
transfer serialized ProposerSlashing (416 B) 2.3780 us/op 3.2530 us/op 0.73
copy serialized ProposerSlashing (416 B) 2.1020 us/op 2.7180 us/op 0.77
transfer serialized Attestation (485 B) 2.1540 us/op 3.1800 us/op 0.68
copy serialized Attestation (485 B) 2.1970 us/op 2.9130 us/op 0.75
transfer serialized AttesterSlashing (33232 B) 2.3300 us/op 2.6610 us/op 0.88
copy serialized AttesterSlashing (33232 B) 5.7250 us/op 10.460 us/op 0.55
transfer serialized Small SignedBeaconBlock (128000 B) 2.7340 us/op 3.0000 us/op 0.91
copy serialized Small SignedBeaconBlock (128000 B) 14.480 us/op 34.322 us/op 0.42
transfer serialized Avg SignedBeaconBlock (200000 B) 3.3590 us/op 3.7140 us/op 0.90
copy serialized Avg SignedBeaconBlock (200000 B) 41.266 us/op 49.520 us/op 0.83
transfer serialized BlobsSidecar (524380 B) 3.4870 us/op 3.9470 us/op 0.88
copy serialized BlobsSidecar (524380 B) 192.07 us/op 308.90 us/op 0.62
transfer serialized Big SignedBeaconBlock (1000000 B) 3.7810 us/op 5.0620 us/op 0.75
copy serialized Big SignedBeaconBlock (1000000 B) 286.62 us/op 283.43 us/op 1.01
pass gossip attestations to forkchoice per slot 2.2944 ms/op 2.5814 ms/op 0.89
forkChoice updateHead vc 100000 bc 64 eq 0 2.3065 ms/op 2.3277 ms/op 0.99
forkChoice updateHead vc 600000 bc 64 eq 0 15.072 ms/op 11.734 ms/op 1.28
forkChoice updateHead vc 1000000 bc 64 eq 0 19.811 ms/op 19.728 ms/op 1.00
forkChoice updateHead vc 600000 bc 320 eq 0 17.975 ms/op 17.910 ms/op 1.00
forkChoice updateHead vc 600000 bc 1200 eq 0 95.979 ms/op 92.803 ms/op 1.03
forkChoice updateHead vc 600000 bc 64 eq 1000 23.078 ms/op 19.784 ms/op 1.17
forkChoice updateHead vc 600000 bc 64 eq 10000 25.070 ms/op 21.701 ms/op 1.16
forkChoice updateHead vc 600000 bc 64 eq 300000 45.009 ms/op 42.396 ms/op 1.06
computeDeltas 3.0645 ms/op 3.6158 ms/op 0.85
computeProposerBoostScoreFromBalances 397.31 us/op 407.46 us/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.3412 ms/op 3.1375 ms/op 0.75
altair processAttestation - 250000 vs - 7PWei worstcase 3.4827 ms/op 4.5934 ms/op 0.76
altair processAttestation - setStatus - 1/6 committees join 189.01 us/op 172.14 us/op 1.10
altair processAttestation - setStatus - 1/3 committees join 358.84 us/op 324.19 us/op 1.11
altair processAttestation - setStatus - 1/2 committees join 477.02 us/op 419.53 us/op 1.14
altair processAttestation - setStatus - 2/3 committees join 621.12 us/op 552.66 us/op 1.12
altair processAttestation - setStatus - 4/5 committees join 812.42 us/op 744.61 us/op 1.09
altair processAttestation - setStatus - 100% committees join 950.64 us/op 877.79 us/op 1.08
altair processBlock - 250000 vs - 7PWei normalcase 9.7487 ms/op 10.454 ms/op 0.93
altair processBlock - 250000 vs - 7PWei normalcase hashState 17.644 ms/op 18.554 ms/op 0.95
altair processBlock - 250000 vs - 7PWei worstcase 36.827 ms/op 40.492 ms/op 0.91
altair processBlock - 250000 vs - 7PWei worstcase hashState 58.872 ms/op 65.163 ms/op 0.90
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2956 ms/op 3.2453 ms/op 0.71
phase0 processBlock - 250000 vs - 7PWei worstcase 30.229 ms/op 32.063 ms/op 0.94
altair processEth1Data - 250000 vs - 7PWei normalcase 467.96 us/op 574.48 us/op 0.81
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 11.904 us/op 17.432 us/op 0.68
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 54.232 us/op 80.922 us/op 0.67
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 15.931 us/op 26.864 us/op 0.59
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.806 us/op 14.381 us/op 0.82
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 181.79 us/op 226.38 us/op 0.80
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2950 ms/op 1.4674 ms/op 0.88
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4796 ms/op 1.6772 ms/op 0.88
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6549 ms/op 2.3613 ms/op 0.70
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.2305 ms/op 4.3978 ms/op 0.73
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.5058 ms/op 2.7087 ms/op 0.93
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 6.0745 ms/op 5.2722 ms/op 1.15
Tree 40 250000 create 340.03 ms/op 425.26 ms/op 0.80
Tree 40 250000 get(125000) 201.54 ns/op 218.75 ns/op 0.92
Tree 40 250000 set(125000) 967.17 ns/op 1.0415 us/op 0.93
Tree 40 250000 toArray() 18.809 ms/op 23.505 ms/op 0.80
Tree 40 250000 iterate all - toArray() + loop 19.969 ms/op 24.346 ms/op 0.82
Tree 40 250000 iterate all - get(i) 72.694 ms/op 76.561 ms/op 0.95
MutableVector 250000 create 11.221 ms/op 16.883 ms/op 0.66
MutableVector 250000 get(125000) 6.6580 ns/op 6.9020 ns/op 0.96
MutableVector 250000 set(125000) 250.20 ns/op 255.25 ns/op 0.98
MutableVector 250000 toArray() 2.6519 ms/op 4.0431 ms/op 0.66
MutableVector 250000 iterate all - toArray() + loop 3.1816 ms/op 4.1334 ms/op 0.77
MutableVector 250000 iterate all - get(i) 1.5795 ms/op 1.5601 ms/op 1.01
Array 250000 create 2.5230 ms/op 3.4001 ms/op 0.74
Array 250000 clone - spread 1.0589 ms/op 1.0728 ms/op 0.99
Array 250000 get(125000) 0.54100 ns/op 0.54900 ns/op 0.99
Array 250000 set(125000) 0.61700 ns/op 0.61200 ns/op 1.01
Array 250000 iterate all - loop 86.100 us/op 87.684 us/op 0.98
effectiveBalanceIncrements clone Uint8Array 300000 29.945 us/op 35.926 us/op 0.83
effectiveBalanceIncrements clone MutableVector 300000 307.00 ns/op 286.00 ns/op 1.07
effectiveBalanceIncrements rw all Uint8Array 300000 176.92 us/op 183.47 us/op 0.96
effectiveBalanceIncrements rw all MutableVector 300000 85.955 ms/op 90.310 ms/op 0.95
phase0 afterProcessEpoch - 250000 vs - 7PWei 117.93 ms/op 120.67 ms/op 0.98
phase0 beforeProcessEpoch - 250000 vs - 7PWei 41.596 ms/op 44.930 ms/op 0.93
altair processEpoch - mainnet_e81889 321.42 ms/op 330.67 ms/op 0.97
mainnet_e81889 - altair beforeProcessEpoch 62.120 ms/op 66.133 ms/op 0.94
mainnet_e81889 - altair processJustificationAndFinalization 13.806 us/op 16.275 us/op 0.85
mainnet_e81889 - altair processInactivityUpdates 5.6717 ms/op 5.2784 ms/op 1.07
mainnet_e81889 - altair processRewardsAndPenalties 61.573 ms/op 73.275 ms/op 0.84
mainnet_e81889 - altair processRegistryUpdates 2.5300 us/op 2.6420 us/op 0.96
mainnet_e81889 - altair processSlashings 483.00 ns/op 925.00 ns/op 0.52
mainnet_e81889 - altair processEth1DataReset 586.00 ns/op 591.00 ns/op 0.99
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2729 ms/op 1.5407 ms/op 0.83
mainnet_e81889 - altair processSlashingsReset 3.6640 us/op 5.0480 us/op 0.73
mainnet_e81889 - altair processRandaoMixesReset 3.7680 us/op 5.0980 us/op 0.74
mainnet_e81889 - altair processHistoricalRootsUpdate 604.00 ns/op 878.00 ns/op 0.69
mainnet_e81889 - altair processParticipationFlagUpdates 2.4220 us/op 2.6680 us/op 0.91
mainnet_e81889 - altair processSyncCommitteeUpdates 578.00 ns/op 654.00 ns/op 0.88
mainnet_e81889 - altair afterProcessEpoch 119.71 ms/op 146.78 ms/op 0.82
capella processEpoch - mainnet_e217614 1.0346 s/op 1.1904 s/op 0.87
mainnet_e217614 - capella beforeProcessEpoch 240.84 ms/op 299.15 ms/op 0.81
mainnet_e217614 - capella processJustificationAndFinalization 15.366 us/op 19.386 us/op 0.79
mainnet_e217614 - capella processInactivityUpdates 17.305 ms/op 23.865 ms/op 0.73
mainnet_e217614 - capella processRewardsAndPenalties 288.49 ms/op 327.07 ms/op 0.88
mainnet_e217614 - capella processRegistryUpdates 20.260 us/op 35.613 us/op 0.57
mainnet_e217614 - capella processSlashings 631.00 ns/op 1.0210 us/op 0.62
mainnet_e217614 - capella processEth1DataReset 433.00 ns/op 705.00 ns/op 0.61
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.2865 ms/op 4.3704 ms/op 0.98
mainnet_e217614 - capella processSlashingsReset 2.1190 us/op 4.2670 us/op 0.50
mainnet_e217614 - capella processRandaoMixesReset 4.3100 us/op 7.0730 us/op 0.61
mainnet_e217614 - capella processHistoricalRootsUpdate 653.00 ns/op 852.00 ns/op 0.77
mainnet_e217614 - capella processParticipationFlagUpdates 1.6510 us/op 2.2280 us/op 0.74
mainnet_e217614 - capella afterProcessEpoch 309.00 ms/op 325.38 ms/op 0.95
phase0 processEpoch - mainnet_e58758 337.40 ms/op 394.79 ms/op 0.85
mainnet_e58758 - phase0 beforeProcessEpoch 128.10 ms/op 131.38 ms/op 0.98
mainnet_e58758 - phase0 processJustificationAndFinalization 18.389 us/op 17.402 us/op 1.06
mainnet_e58758 - phase0 processRewardsAndPenalties 51.699 ms/op 60.867 ms/op 0.85
mainnet_e58758 - phase0 processRegistryUpdates 15.201 us/op 10.725 us/op 1.42
mainnet_e58758 - phase0 processSlashings 640.00 ns/op 586.00 ns/op 1.09
mainnet_e58758 - phase0 processEth1DataReset 508.00 ns/op 453.00 ns/op 1.12
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.1048 ms/op 2.0083 ms/op 0.55
mainnet_e58758 - phase0 processSlashingsReset 3.4410 us/op 2.3180 us/op 1.48
mainnet_e58758 - phase0 processRandaoMixesReset 6.5220 us/op 3.7540 us/op 1.74
mainnet_e58758 - phase0 processHistoricalRootsUpdate 677.00 ns/op 424.00 ns/op 1.60
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.6290 us/op 4.5850 us/op 1.45
mainnet_e58758 - phase0 afterProcessEpoch 109.39 ms/op 102.55 ms/op 1.07
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3190 ms/op 1.5509 ms/op 0.85
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4449 ms/op 1.7861 ms/op 0.81
altair processInactivityUpdates - 250000 normalcase 19.645 ms/op 21.680 ms/op 0.91
altair processInactivityUpdates - 250000 worstcase 23.233 ms/op 22.244 ms/op 1.04
phase0 processRegistryUpdates - 250000 normalcase 12.533 us/op 9.5350 us/op 1.31
phase0 processRegistryUpdates - 250000 badcase_full_deposits 401.52 us/op 445.77 us/op 0.90
phase0 processRegistryUpdates - 250000 worstcase 0.5 140.35 ms/op 135.93 ms/op 1.03
altair processRewardsAndPenalties - 250000 normalcase 58.979 ms/op 65.859 ms/op 0.90
altair processRewardsAndPenalties - 250000 worstcase 58.858 ms/op 68.807 ms/op 0.86
phase0 getAttestationDeltas - 250000 normalcase 9.3939 ms/op 7.8307 ms/op 1.20
phase0 getAttestationDeltas - 250000 worstcase 10.187 ms/op 8.5827 ms/op 1.19
phase0 processSlashings - 250000 worstcase 2.4123 ms/op 2.5368 ms/op 0.95
altair processSyncCommitteeUpdates - 250000 162.95 ms/op 167.57 ms/op 0.97
BeaconState.hashTreeRoot - No change 261.00 ns/op 282.00 ns/op 0.93
BeaconState.hashTreeRoot - 1 full validator 52.454 us/op 58.077 us/op 0.90
BeaconState.hashTreeRoot - 32 full validator 502.54 us/op 575.15 us/op 0.87
BeaconState.hashTreeRoot - 512 full validator 5.7587 ms/op 6.0629 ms/op 0.95
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 66.390 us/op 74.748 us/op 0.89
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 953.70 us/op 984.48 us/op 0.97
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 12.948 ms/op 13.350 ms/op 0.97
BeaconState.hashTreeRoot - 1 balances 54.673 us/op 51.132 us/op 1.07
BeaconState.hashTreeRoot - 32 balances 454.18 us/op 483.35 us/op 0.94
BeaconState.hashTreeRoot - 512 balances 4.4580 ms/op 4.9445 ms/op 0.90
BeaconState.hashTreeRoot - 250000 balances 77.549 ms/op 79.462 ms/op 0.98
aggregationBits - 2048 els - zipIndexesInBitList 18.224 us/op 23.433 us/op 0.78
regular array get 100000 times 45.611 us/op 46.124 us/op 0.99
wrappedArray get 100000 times 43.526 us/op 37.734 us/op 1.15
arrayWithProxy get 100000 times 14.933 ms/op 15.209 ms/op 0.98
ssz.Root.equals 252.00 ns/op 281.00 ns/op 0.90
byteArrayEquals 257.00 ns/op 295.00 ns/op 0.87
shuffle list - 16384 els 7.5149 ms/op 7.4069 ms/op 1.01
shuffle list - 250000 els 107.32 ms/op 108.94 ms/op 0.99
processSlot - 1 slots 9.4830 us/op 10.436 us/op 0.91
processSlot - 32 slots 1.4741 ms/op 1.6844 ms/op 0.88
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 47.898 ms/op 53.168 ms/op 0.90
getCommitteeAssignments - req 1 vs - 250000 vc 2.5450 ms/op 2.6608 ms/op 0.96
getCommitteeAssignments - req 100 vs - 250000 vc 3.7412 ms/op 3.8550 ms/op 0.97
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0826 ms/op 4.2540 ms/op 0.96
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.5500 ns/op 5.5100 ns/op 1.01
state getBlockRootAtSlot - 250000 vs - 7PWei 567.01 ns/op 697.68 ns/op 0.81
computeProposers - vc 250000 9.4678 ms/op 9.7738 ms/op 0.97
computeEpochShuffling - vc 250000 107.91 ms/op 110.29 ms/op 0.98
getNextSyncCommittee - vc 250000 154.73 ms/op 163.91 ms/op 0.94
computeSigningRoot for AttestationData 13.954 us/op 14.543 us/op 0.96
hash AttestationData serialized data then Buffer.toString(base64) 2.3797 us/op 2.4617 us/op 0.97
toHexString serialized data 1.1771 us/op 1.2478 us/op 0.94
Buffer.toString(base64) 215.14 ns/op 257.69 ns/op 0.83

by benchmarkbot/action

@wemeetagain wemeetagain merged commit 34d8955 into unstable Aug 10, 2023
11 checks passed
@wemeetagain wemeetagain deleted the tuyen/more_fork_choice_metrics_on_grafana branch August 10, 2023 15:35
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