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: fix builder api panels in block production dashboard #7167

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Oct 16, 2024

Current panel is broken as it uses the REST api metrics from beacon node side and filters by produce/publish v1 apis which are no longer used.

In addition, we should use the http client metrics to get more accurate data on the api request times.

image

image

@nflaig nflaig requested a review from a team as a code owner October 16, 2024 09:35
Copy link
Contributor

github-actions bot commented Oct 16, 2024

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 7f5599f Previous: cf72219 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 2.1899 ms/op 1.8222 ms/op 1.20
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 50.752 us/op 48.271 us/op 1.05
BLS verify - blst 950.72 us/op 901.48 us/op 1.05
BLS verifyMultipleSignatures 3 - blst 1.7013 ms/op 1.3719 ms/op 1.24
BLS verifyMultipleSignatures 8 - blst 2.1397 ms/op 2.1398 ms/op 1.00
BLS verifyMultipleSignatures 32 - blst 6.3578 ms/op 4.4521 ms/op 1.43
BLS verifyMultipleSignatures 64 - blst 11.961 ms/op 8.3445 ms/op 1.43
BLS verifyMultipleSignatures 128 - blst 19.655 ms/op 15.986 ms/op 1.23
BLS deserializing 10000 signatures 726.43 ms/op 626.05 ms/op 1.16
BLS deserializing 100000 signatures 7.3744 s/op 6.3849 s/op 1.15
BLS verifyMultipleSignatures - same message - 3 - blst 1.0675 ms/op 946.56 us/op 1.13
BLS verifyMultipleSignatures - same message - 8 - blst 1.2169 ms/op 1.0932 ms/op 1.11
BLS verifyMultipleSignatures - same message - 32 - blst 2.1118 ms/op 1.8226 ms/op 1.16
BLS verifyMultipleSignatures - same message - 64 - blst 3.1483 ms/op 2.5419 ms/op 1.24
BLS verifyMultipleSignatures - same message - 128 - blst 4.8312 ms/op 4.2752 ms/op 1.13
BLS aggregatePubkeys 32 - blst 22.117 us/op 18.286 us/op 1.21
BLS aggregatePubkeys 128 - blst 79.227 us/op 64.152 us/op 1.23
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 80.608 ms/op 77.079 ms/op 1.05
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 87.750 ms/op 55.593 ms/op 1.58
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 53.029 ms/op 46.273 ms/op 1.15
getSlashingsAndExits - default max 142.65 us/op 82.625 us/op 1.73
getSlashingsAndExits - 2k 346.24 us/op 334.15 us/op 1.04
proposeBlockBody type=full, size=empty 6.7960 ms/op 5.3953 ms/op 1.26
isKnown best case - 1 super set check 346.00 ns/op 478.00 ns/op 0.72
isKnown normal case - 2 super set checks 313.00 ns/op 472.00 ns/op 0.66
isKnown worse case - 16 super set checks 322.00 ns/op 470.00 ns/op 0.69
InMemoryCheckpointStateCache - add get delete 3.0370 us/op 3.3500 us/op 0.91
updateUnfinalizedPubkeys - updating 10 pubkeys 1.3231 ms/op 1.2222 ms/op 1.08
updateUnfinalizedPubkeys - updating 100 pubkeys 4.4901 ms/op 4.1910 ms/op 1.07
updateUnfinalizedPubkeys - updating 1000 pubkeys 58.813 ms/op 43.967 ms/op 1.34
validate api signedAggregateAndProof - struct 1.7943 ms/op 1.7581 ms/op 1.02
validate gossip signedAggregateAndProof - struct 1.7474 ms/op 1.9892 ms/op 0.88
batch validate gossip attestation - vc 640000 - chunk 32 158.53 us/op 136.66 us/op 1.16
batch validate gossip attestation - vc 640000 - chunk 64 132.95 us/op 116.18 us/op 1.14
batch validate gossip attestation - vc 640000 - chunk 128 140.64 us/op 109.78 us/op 1.28
batch validate gossip attestation - vc 640000 - chunk 256 127.77 us/op 116.77 us/op 1.09
pickEth1Vote - no votes 1.2971 ms/op 1.0689 ms/op 1.21
pickEth1Vote - max votes 7.5980 ms/op 8.0391 ms/op 0.95
pickEth1Vote - Eth1Data hashTreeRoot value x2048 15.888 ms/op 11.804 ms/op 1.35
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 21.828 ms/op 16.828 ms/op 1.30
pickEth1Vote - Eth1Data fastSerialize value x2048 580.82 us/op 382.98 us/op 1.52
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.1935 ms/op 3.3781 ms/op 0.95
bytes32 toHexString 550.00 ns/op 839.00 ns/op 0.66
bytes32 Buffer.toString(hex) 301.00 ns/op 521.00 ns/op 0.58
bytes32 Buffer.toString(hex) from Uint8Array 475.00 ns/op 725.00 ns/op 0.66
bytes32 Buffer.toString(hex) + 0x 306.00 ns/op 537.00 ns/op 0.57
Object access 1 prop 0.21000 ns/op 0.38600 ns/op 0.54
Map access 1 prop 0.15100 ns/op 0.34900 ns/op 0.43
Object get x1000 6.8200 ns/op 5.2990 ns/op 1.29
Map get x1000 8.1790 ns/op 5.9870 ns/op 1.37
Object set x1000 46.900 ns/op 24.752 ns/op 1.89
Map set x1000 28.030 ns/op 21.310 ns/op 1.32
Return object 10000 times 0.32330 ns/op 0.31230 ns/op 1.04
Throw Error 10000 times 3.7892 us/op 3.0244 us/op 1.25
toHex 205.64 ns/op 125.63 ns/op 1.64
Buffer.from 180.88 ns/op 106.69 ns/op 1.70
shared Buffer 111.29 ns/op 70.768 ns/op 1.57
fastMsgIdFn sha256 / 200 bytes 2.8050 us/op 2.1910 us/op 1.28
fastMsgIdFn h32 xxhash / 200 bytes 331.00 ns/op 510.00 ns/op 0.65
fastMsgIdFn h64 xxhash / 200 bytes 333.00 ns/op 508.00 ns/op 0.66
fastMsgIdFn sha256 / 1000 bytes 8.6330 us/op 6.0440 us/op 1.43
fastMsgIdFn h32 xxhash / 1000 bytes 488.00 ns/op 635.00 ns/op 0.77
fastMsgIdFn h64 xxhash / 1000 bytes 418.00 ns/op 584.00 ns/op 0.72
fastMsgIdFn sha256 / 10000 bytes 73.780 us/op 50.138 us/op 1.47
fastMsgIdFn h32 xxhash / 10000 bytes 2.2330 us/op 2.0220 us/op 1.10
fastMsgIdFn h64 xxhash / 10000 bytes 1.4060 us/op 1.3740 us/op 1.02
send data - 1000 256B messages 15.498 ms/op 12.996 ms/op 1.19
send data - 1000 512B messages 20.848 ms/op 19.212 ms/op 1.09
send data - 1000 1024B messages 32.511 ms/op 26.372 ms/op 1.23
send data - 1000 1200B messages 32.813 ms/op 28.823 ms/op 1.14
send data - 1000 2048B messages 34.635 ms/op 37.722 ms/op 0.92
send data - 1000 4096B messages 36.060 ms/op 38.454 ms/op 0.94
send data - 1000 16384B messages 92.072 ms/op 88.441 ms/op 1.04
send data - 1000 65536B messages 268.39 ms/op 339.72 ms/op 0.79
enrSubnets - fastDeserialize 64 bits 1.7480 us/op 2.1450 us/op 0.81
enrSubnets - ssz BitVector 64 bits 531.00 ns/op 840.00 ns/op 0.63
enrSubnets - fastDeserialize 4 bits 248.00 ns/op 467.00 ns/op 0.53
enrSubnets - ssz BitVector 4 bits 554.00 ns/op 719.00 ns/op 0.77
prioritizePeers score -10:0 att 32-0.1 sync 2-0 249.58 us/op 206.47 us/op 1.21
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 248.34 us/op 226.27 us/op 1.10
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 406.03 us/op 391.72 us/op 1.04
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 945.92 us/op 551.54 us/op 1.72
prioritizePeers score 0:0 att 64-1 sync 4-1 1.8635 ms/op 967.98 us/op 1.93
array of 16000 items push then shift 2.7970 us/op 1.4064 us/op 1.99
LinkedList of 16000 items push then shift 13.674 ns/op 8.4800 ns/op 1.61
array of 16000 items push then pop 224.14 ns/op 164.78 ns/op 1.36
LinkedList of 16000 items push then pop 13.445 ns/op 8.0520 ns/op 1.67
array of 24000 items push then shift 3.1450 us/op 2.0304 us/op 1.55
LinkedList of 24000 items push then shift 9.7990 ns/op 6.7010 ns/op 1.46
array of 24000 items push then pop 214.68 ns/op 181.00 ns/op 1.19
LinkedList of 24000 items push then pop 9.7030 ns/op 6.4480 ns/op 1.50
intersect bitArray bitLen 8 8.9960 ns/op 6.0110 ns/op 1.50
intersect array and set length 8 89.577 ns/op 75.099 ns/op 1.19
intersect bitArray bitLen 128 45.021 ns/op 27.071 ns/op 1.66
intersect array and set length 128 1.0947 us/op 890.33 ns/op 1.23
bitArray.getTrueBitIndexes() bitLen 128 3.1230 us/op 2.8620 us/op 1.09
bitArray.getTrueBitIndexes() bitLen 248 5.1760 us/op 3.8080 us/op 1.36
bitArray.getTrueBitIndexes() bitLen 512 11.596 us/op 10.012 us/op 1.16
Buffer.concat 32 items 1.1940 us/op 1.1060 us/op 1.08
Uint8Array.set 32 items 2.1240 us/op 1.6200 us/op 1.31
Buffer.copy 2.5180 us/op 2.7130 us/op 0.93
Uint8Array.set - with subarray 4.1370 us/op 4.2460 us/op 0.97
Uint8Array.set - without subarray 2.4360 us/op 2.7170 us/op 0.90
getUint32 - dataview 379.00 ns/op 591.00 ns/op 0.64
getUint32 - manual 292.00 ns/op 610.00 ns/op 0.48
Set add up to 64 items then delete first 3.5028 us/op 3.2989 us/op 1.06
OrderedSet add up to 64 items then delete first 5.2320 us/op 5.2607 us/op 0.99
Set add up to 64 items then delete last 4.1457 us/op 3.2958 us/op 1.26
OrderedSet add up to 64 items then delete last 7.0786 us/op 5.6689 us/op 1.25
Set add up to 64 items then delete middle 4.5837 us/op 3.4290 us/op 1.34
OrderedSet add up to 64 items then delete middle 8.7563 us/op 6.4786 us/op 1.35
Set add up to 128 items then delete first 8.3746 us/op 5.2356 us/op 1.60
OrderedSet add up to 128 items then delete first 14.430 us/op 7.3698 us/op 1.96
Set add up to 128 items then delete last 9.1898 us/op 5.3874 us/op 1.71
OrderedSet add up to 128 items then delete last 12.630 us/op 7.4141 us/op 1.70
Set add up to 128 items then delete middle 7.9046 us/op 5.5669 us/op 1.42
OrderedSet add up to 128 items then delete middle 27.665 us/op 14.690 us/op 1.88
Set add up to 256 items then delete first 16.889 us/op 13.556 us/op 1.25
OrderedSet add up to 256 items then delete first 25.351 us/op 21.379 us/op 1.19
Set add up to 256 items then delete last 16.881 us/op 12.461 us/op 1.35
OrderedSet add up to 256 items then delete last 27.618 us/op 21.344 us/op 1.29
Set add up to 256 items then delete middle 17.072 us/op 12.953 us/op 1.32
OrderedSet add up to 256 items then delete middle 60.106 us/op 43.659 us/op 1.38
transfer serialized Status (84 B) 1.8980 us/op 1.8520 us/op 1.02
copy serialized Status (84 B) 1.8250 us/op 1.8570 us/op 0.98
transfer serialized SignedVoluntaryExit (112 B) 2.0950 us/op 1.7960 us/op 1.17
copy serialized SignedVoluntaryExit (112 B) 1.8210 us/op 1.5650 us/op 1.16
transfer serialized ProposerSlashing (416 B) 2.6020 us/op 2.1100 us/op 1.23
copy serialized ProposerSlashing (416 B) 2.5820 us/op 2.3930 us/op 1.08
transfer serialized Attestation (485 B) 2.7420 us/op 3.1250 us/op 0.88
copy serialized Attestation (485 B) 2.5480 us/op 2.8840 us/op 0.88
transfer serialized AttesterSlashing (33232 B) 2.6520 us/op 2.7690 us/op 0.96
copy serialized AttesterSlashing (33232 B) 11.048 us/op 11.233 us/op 0.98
transfer serialized Small SignedBeaconBlock (128000 B) 3.4040 us/op 3.2700 us/op 1.04
copy serialized Small SignedBeaconBlock (128000 B) 34.012 us/op 15.051 us/op 2.26
transfer serialized Avg SignedBeaconBlock (200000 B) 4.7290 us/op 3.2650 us/op 1.45
copy serialized Avg SignedBeaconBlock (200000 B) 46.262 us/op 17.677 us/op 2.62
transfer serialized BlobsSidecar (524380 B) 5.0550 us/op 3.8510 us/op 1.31
copy serialized BlobsSidecar (524380 B) 140.62 us/op 98.945 us/op 1.42
transfer serialized Big SignedBeaconBlock (1000000 B) 6.6690 us/op 4.1880 us/op 1.59
copy serialized Big SignedBeaconBlock (1000000 B) 277.43 us/op 167.56 us/op 1.66
pass gossip attestations to forkchoice per slot 3.8586 ms/op 3.0846 ms/op 1.25
forkChoice updateHead vc 100000 bc 64 eq 0 700.17 us/op 376.41 us/op 1.86
forkChoice updateHead vc 600000 bc 64 eq 0 4.8395 ms/op 4.5434 ms/op 1.07
forkChoice updateHead vc 1000000 bc 64 eq 0 6.9809 ms/op 5.2672 ms/op 1.33
forkChoice updateHead vc 600000 bc 320 eq 0 4.3393 ms/op 3.1325 ms/op 1.39
forkChoice updateHead vc 600000 bc 1200 eq 0 4.2828 ms/op 2.3871 ms/op 1.79
forkChoice updateHead vc 600000 bc 7200 eq 0 6.5056 ms/op 4.3150 ms/op 1.51
forkChoice updateHead vc 600000 bc 64 eq 1000 14.575 ms/op 10.207 ms/op 1.43
forkChoice updateHead vc 600000 bc 64 eq 10000 15.058 ms/op 11.418 ms/op 1.32
forkChoice updateHead vc 600000 bc 64 eq 300000 52.080 ms/op 65.050 ms/op 0.80
computeDeltas 500000 validators 300 proto nodes 6.1647 ms/op 4.1427 ms/op 1.49
computeDeltas 500000 validators 1200 proto nodes 6.9606 ms/op 3.8162 ms/op 1.82
computeDeltas 500000 validators 7200 proto nodes 6.5922 ms/op 3.6051 ms/op 1.83
computeDeltas 750000 validators 300 proto nodes 9.8342 ms/op 5.7122 ms/op 1.72
computeDeltas 750000 validators 1200 proto nodes 9.8295 ms/op 5.8615 ms/op 1.68
computeDeltas 750000 validators 7200 proto nodes 9.7510 ms/op 5.8561 ms/op 1.67
computeDeltas 1400000 validators 300 proto nodes 18.078 ms/op 11.367 ms/op 1.59
computeDeltas 1400000 validators 1200 proto nodes 18.776 ms/op 10.311 ms/op 1.82
computeDeltas 1400000 validators 7200 proto nodes 16.170 ms/op 10.120 ms/op 1.60
computeDeltas 2100000 validators 300 proto nodes 23.727 ms/op 15.896 ms/op 1.49
computeDeltas 2100000 validators 1200 proto nodes 24.067 ms/op 16.054 ms/op 1.50
computeDeltas 2100000 validators 7200 proto nodes 23.712 ms/op 16.556 ms/op 1.43
altair processAttestation - 250000 vs - 7PWei normalcase 3.4993 ms/op 2.7190 ms/op 1.29
altair processAttestation - 250000 vs - 7PWei worstcase 4.6668 ms/op 2.3286 ms/op 2.00
altair processAttestation - setStatus - 1/6 committees join 193.68 us/op 89.154 us/op 2.17
altair processAttestation - setStatus - 1/3 committees join 362.35 us/op 244.06 us/op 1.48
altair processAttestation - setStatus - 1/2 committees join 490.67 us/op 402.49 us/op 1.22
altair processAttestation - setStatus - 2/3 committees join 695.72 us/op 506.45 us/op 1.37
altair processAttestation - setStatus - 4/5 committees join 828.75 us/op 798.02 us/op 1.04
altair processAttestation - setStatus - 100% committees join 920.46 us/op 775.15 us/op 1.19
altair processBlock - 250000 vs - 7PWei normalcase 7.1513 ms/op 11.358 ms/op 0.63
altair processBlock - 250000 vs - 7PWei normalcase hashState 35.158 ms/op 50.418 ms/op 0.70
altair processBlock - 250000 vs - 7PWei worstcase 52.935 ms/op 45.412 ms/op 1.17
altair processBlock - 250000 vs - 7PWei worstcase hashState 97.673 ms/op 76.593 ms/op 1.28
phase0 processBlock - 250000 vs - 7PWei normalcase 3.6691 ms/op 1.3948 ms/op 2.63
phase0 processBlock - 250000 vs - 7PWei worstcase 33.571 ms/op 30.575 ms/op 1.10
altair processEth1Data - 250000 vs - 7PWei normalcase 575.32 us/op 291.83 us/op 1.97
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 10.369 us/op 12.289 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 40.710 us/op 65.257 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.158 us/op 13.620 us/op 0.82
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 10.747 us/op 8.1020 us/op 1.33
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 203.04 us/op 130.41 us/op 1.56
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.6619 ms/op 982.02 us/op 1.69
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.2332 ms/op 1.4081 ms/op 1.59
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.2208 ms/op 1.5920 ms/op 1.39
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 5.7014 ms/op 4.0991 ms/op 1.39
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.3651 ms/op 1.9714 ms/op 1.20
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.6870 ms/op 3.5797 ms/op 1.59
Tree 40 250000 create 557.11 ms/op 213.75 ms/op 2.61
Tree 40 250000 get(125000) 222.43 ns/op 169.54 ns/op 1.31
Tree 40 250000 set(125000) 1.1640 us/op 655.84 ns/op 1.77
Tree 40 250000 toArray() 26.475 ms/op 27.756 ms/op 0.95
Tree 40 250000 iterate all - toArray() + loop 26.793 ms/op 25.912 ms/op 1.03
Tree 40 250000 iterate all - get(i) 87.888 ms/op 63.321 ms/op 1.39
Array 250000 create 4.8404 ms/op 3.4455 ms/op 1.40
Array 250000 clone - spread 2.1350 ms/op 1.5037 ms/op 1.42
Array 250000 get(125000) 0.65300 ns/op 0.62500 ns/op 1.04
Array 250000 set(125000) 0.59200 ns/op 0.64000 ns/op 0.92
Array 250000 iterate all - loop 131.07 us/op 80.848 us/op 1.62
phase0 afterProcessEpoch - 250000 vs - 7PWei 68.277 ms/op 50.903 ms/op 1.34
Array.fill - length 1000000 5.2170 ms/op 2.8926 ms/op 1.80
Array push - length 1000000 25.944 ms/op 20.660 ms/op 1.26
Array.get 0.34356 ns/op 0.28288 ns/op 1.21
Uint8Array.get 0.51111 ns/op 0.35835 ns/op 1.43
phase0 beforeProcessEpoch - 250000 vs - 7PWei 23.322 ms/op 21.915 ms/op 1.06
altair processEpoch - mainnet_e81889 376.30 ms/op 328.28 ms/op 1.15
mainnet_e81889 - altair beforeProcessEpoch 24.910 ms/op 25.524 ms/op 0.98
mainnet_e81889 - altair processJustificationAndFinalization 15.947 us/op 23.879 us/op 0.67
mainnet_e81889 - altair processInactivityUpdates 8.4278 ms/op 7.6612 ms/op 1.10
mainnet_e81889 - altair processRewardsAndPenalties 57.885 ms/op 57.458 ms/op 1.01
mainnet_e81889 - altair processRegistryUpdates 2.0230 us/op 3.3150 us/op 0.61
mainnet_e81889 - altair processSlashings 562.00 ns/op 1.2040 us/op 0.47
mainnet_e81889 - altair processEth1DataReset 1.0070 us/op 887.00 ns/op 1.14
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.7430 ms/op 2.2597 ms/op 1.21
mainnet_e81889 - altair processSlashingsReset 6.2200 us/op 4.2340 us/op 1.47
mainnet_e81889 - altair processRandaoMixesReset 9.0840 us/op 5.0090 us/op 1.81
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1140 us/op 993.00 ns/op 1.12
mainnet_e81889 - altair processParticipationFlagUpdates 3.8460 us/op 4.8330 us/op 0.80
mainnet_e81889 - altair processSyncCommitteeUpdates 664.00 ns/op 1.3000 us/op 0.51
mainnet_e81889 - altair afterProcessEpoch 60.146 ms/op 45.734 ms/op 1.32
capella processEpoch - mainnet_e217614 1.3655 s/op 1.0274 s/op 1.33
mainnet_e217614 - capella beforeProcessEpoch 97.710 ms/op 73.915 ms/op 1.32
mainnet_e217614 - capella processJustificationAndFinalization 24.699 us/op 21.312 us/op 1.16
mainnet_e217614 - capella processInactivityUpdates 22.753 ms/op 14.236 ms/op 1.60
mainnet_e217614 - capella processRewardsAndPenalties 269.50 ms/op 211.91 ms/op 1.27
mainnet_e217614 - capella processRegistryUpdates 17.139 us/op 15.520 us/op 1.10
mainnet_e217614 - capella processSlashings 930.00 ns/op 962.00 ns/op 0.97
mainnet_e217614 - capella processEth1DataReset 871.00 ns/op 866.00 ns/op 1.01
mainnet_e217614 - capella processEffectiveBalanceUpdates 19.220 ms/op 18.296 ms/op 1.05
mainnet_e217614 - capella processSlashingsReset 5.1210 us/op 3.5510 us/op 1.44
mainnet_e217614 - capella processRandaoMixesReset 7.4440 us/op 12.011 us/op 0.62
mainnet_e217614 - capella processHistoricalRootsUpdate 1.0340 us/op 1.1140 us/op 0.93
mainnet_e217614 - capella processParticipationFlagUpdates 3.2960 us/op 3.3670 us/op 0.98
mainnet_e217614 - capella afterProcessEpoch 146.94 ms/op 111.21 ms/op 1.32
phase0 processEpoch - mainnet_e58758 474.42 ms/op 319.31 ms/op 1.49
mainnet_e58758 - phase0 beforeProcessEpoch 113.99 ms/op 87.207 ms/op 1.31
mainnet_e58758 - phase0 processJustificationAndFinalization 28.860 us/op 17.789 us/op 1.62
mainnet_e58758 - phase0 processRewardsAndPenalties 44.947 ms/op 32.901 ms/op 1.37
mainnet_e58758 - phase0 processRegistryUpdates 14.286 us/op 7.7860 us/op 1.83
mainnet_e58758 - phase0 processSlashings 767.00 ns/op 859.00 ns/op 0.89
mainnet_e58758 - phase0 processEth1DataReset 536.00 ns/op 756.00 ns/op 0.71
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.4016 ms/op 954.73 us/op 2.52
mainnet_e58758 - phase0 processSlashingsReset 7.3910 us/op 4.3050 us/op 1.72
mainnet_e58758 - phase0 processRandaoMixesReset 4.6880 us/op 5.1930 us/op 0.90
mainnet_e58758 - phase0 processHistoricalRootsUpdate 404.00 ns/op 411.00 ns/op 0.98
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.0870 us/op 3.6590 us/op 1.12
mainnet_e58758 - phase0 afterProcessEpoch 47.883 ms/op 36.456 ms/op 1.31
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.9374 ms/op 1.1433 ms/op 1.69
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.1168 ms/op 2.1769 ms/op 0.97
altair processInactivityUpdates - 250000 normalcase 18.850 ms/op 17.160 ms/op 1.10
altair processInactivityUpdates - 250000 worstcase 20.007 ms/op 19.699 ms/op 1.02
phase0 processRegistryUpdates - 250000 normalcase 8.7860 us/op 7.5910 us/op 1.16
phase0 processRegistryUpdates - 250000 badcase_full_deposits 343.75 us/op 302.83 us/op 1.14
phase0 processRegistryUpdates - 250000 worstcase 0.5 124.26 ms/op 108.24 ms/op 1.15
altair processRewardsAndPenalties - 250000 normalcase 41.028 ms/op 34.529 ms/op 1.19
altair processRewardsAndPenalties - 250000 worstcase 44.988 ms/op 35.889 ms/op 1.25
phase0 getAttestationDeltas - 250000 normalcase 8.4696 ms/op 6.6152 ms/op 1.28
phase0 getAttestationDeltas - 250000 worstcase 7.9232 ms/op 7.2565 ms/op 1.09
phase0 processSlashings - 250000 worstcase 99.229 us/op 92.010 us/op 1.08
altair processSyncCommitteeUpdates - 250000 131.44 ms/op 98.175 ms/op 1.34
BeaconState.hashTreeRoot - No change 258.00 ns/op 483.00 ns/op 0.53
BeaconState.hashTreeRoot - 1 full validator 119.70 us/op 120.15 us/op 1.00
BeaconState.hashTreeRoot - 32 full validator 1.3818 ms/op 1.4969 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 11.523 ms/op 10.191 ms/op 1.13
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 159.78 us/op 147.78 us/op 1.08
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.0129 ms/op 2.0787 ms/op 0.97
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 30.289 ms/op 23.068 ms/op 1.31
BeaconState.hashTreeRoot - 1 balances 111.58 us/op 87.040 us/op 1.28
BeaconState.hashTreeRoot - 32 balances 858.04 us/op 867.79 us/op 0.99
BeaconState.hashTreeRoot - 512 balances 8.2615 ms/op 7.8375 ms/op 1.05
BeaconState.hashTreeRoot - 250000 balances 179.75 ms/op 206.61 ms/op 0.87
aggregationBits - 2048 els - zipIndexesInBitList 26.773 us/op 21.087 us/op 1.27
byteArrayEquals 32 62.064 ns/op 48.484 ns/op 1.28
Buffer.compare 32 19.177 ns/op 15.794 ns/op 1.21
byteArrayEquals 1024 1.7265 us/op 1.2884 us/op 1.34
Buffer.compare 1024 27.984 ns/op 23.063 ns/op 1.21
byteArrayEquals 16384 29.549 us/op 20.397 us/op 1.45
Buffer.compare 16384 232.55 ns/op 185.67 ns/op 1.25
byteArrayEquals 123687377 207.28 ms/op 153.55 ms/op 1.35
Buffer.compare 123687377 7.3768 ms/op 4.4817 ms/op 1.65
byteArrayEquals 32 - diff last byte 64.709 ns/op 47.320 ns/op 1.37
Buffer.compare 32 - diff last byte 20.834 ns/op 15.778 ns/op 1.32
byteArrayEquals 1024 - diff last byte 1.8971 us/op 1.2683 us/op 1.50
Buffer.compare 1024 - diff last byte 29.986 ns/op 24.664 ns/op 1.22
byteArrayEquals 16384 - diff last byte 26.932 us/op 20.047 us/op 1.34
Buffer.compare 16384 - diff last byte 210.70 ns/op 207.43 ns/op 1.02
byteArrayEquals 123687377 - diff last byte 204.91 ms/op 156.92 ms/op 1.31
Buffer.compare 123687377 - diff last byte 7.4345 ms/op 7.0003 ms/op 1.06
byteArrayEquals 32 - random bytes 5.8670 ns/op 5.1100 ns/op 1.15
Buffer.compare 32 - random bytes 19.900 ns/op 16.121 ns/op 1.23
byteArrayEquals 1024 - random bytes 6.1650 ns/op 5.1330 ns/op 1.20
Buffer.compare 1024 - random bytes 19.881 ns/op 15.998 ns/op 1.24
byteArrayEquals 16384 - random bytes 5.8560 ns/op 5.1200 ns/op 1.14
Buffer.compare 16384 - random bytes 19.793 ns/op 16.410 ns/op 1.21
byteArrayEquals 123687377 - random bytes 7.4100 ns/op 8.2600 ns/op 0.90
Buffer.compare 123687377 - random bytes 20.930 ns/op 19.560 ns/op 1.07
regular array get 100000 times 37.257 us/op 32.384 us/op 1.15
wrappedArray get 100000 times 35.618 us/op 32.451 us/op 1.10
arrayWithProxy get 100000 times 14.574 ms/op 10.465 ms/op 1.39
ssz.Root.equals 49.162 ns/op 47.075 ns/op 1.04
byteArrayEquals 55.082 ns/op 44.603 ns/op 1.23
Buffer.compare 11.478 ns/op 9.8030 ns/op 1.17
processSlot - 1 slots 15.681 us/op 15.581 us/op 1.01
processSlot - 32 slots 3.8319 ms/op 2.7861 ms/op 1.38
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 42.015 ms/op 37.999 ms/op 1.11
getCommitteeAssignments - req 1 vs - 250000 vc 2.4000 ms/op 1.8208 ms/op 1.32
getCommitteeAssignments - req 100 vs - 250000 vc 4.5079 ms/op 3.5727 ms/op 1.26
getCommitteeAssignments - req 1000 vs - 250000 vc 4.9809 ms/op 3.8084 ms/op 1.31
findModifiedValidators - 10000 modified validators 282.58 ms/op 229.81 ms/op 1.23
findModifiedValidators - 1000 modified validators 188.31 ms/op 148.44 ms/op 1.27
findModifiedValidators - 100 modified validators 193.80 ms/op 161.17 ms/op 1.20
findModifiedValidators - 10 modified validators 232.80 ms/op 158.38 ms/op 1.47
findModifiedValidators - 1 modified validators 223.97 ms/op 131.88 ms/op 1.70
findModifiedValidators - no difference 210.06 ms/op 146.03 ms/op 1.44
compare ViewDUs 3.6339 s/op 3.0162 s/op 1.20
compare each validator Uint8Array 1.7495 s/op 1.5419 s/op 1.13
compare ViewDU to Uint8Array 1.2072 s/op 786.50 ms/op 1.53
migrate state 1000000 validators, 24 modified, 0 new 810.61 ms/op 681.11 ms/op 1.19
migrate state 1000000 validators, 1700 modified, 1000 new 1.1060 s/op 883.01 ms/op 1.25
migrate state 1000000 validators, 3400 modified, 2000 new 1.5219 s/op 1.0362 s/op 1.47
migrate state 1500000 validators, 24 modified, 0 new 833.66 ms/op 639.35 ms/op 1.30
migrate state 1500000 validators, 1700 modified, 1000 new 1.0423 s/op 978.29 ms/op 1.07
migrate state 1500000 validators, 3400 modified, 2000 new 1.3141 s/op 1.0193 s/op 1.29
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.5800 ns/op 6.2900 ns/op 0.73
state getBlockRootAtSlot - 250000 vs - 7PWei 581.94 ns/op 734.26 ns/op 0.79
computeProposers - vc 250000 8.0091 ms/op 6.0565 ms/op 1.32
computeEpochShuffling - vc 250000 44.485 ms/op 34.532 ms/op 1.29
getNextSyncCommittee - vc 250000 136.10 ms/op 108.96 ms/op 1.25
computeSigningRoot for AttestationData 25.131 us/op 21.140 us/op 1.19
hash AttestationData serialized data then Buffer.toString(base64) 1.6673 us/op 1.1739 us/op 1.42
toHexString serialized data 980.73 ns/op 785.04 ns/op 1.25
Buffer.toString(base64) 192.68 ns/op 168.95 ns/op 1.14
nodejs block root to RootHex using toHex 188.82 ns/op 121.57 ns/op 1.55
nodejs block root to RootHex using toRootHex 104.53 ns/op 76.796 ns/op 1.36
browser block root to RootHex using the deprecated toHexString 248.23 ns/op 210.94 ns/op 1.18
browser block root to RootHex using toHex 193.11 ns/op 171.18 ns/op 1.13
browser block root to RootHex using toRootHex 176.09 ns/op 161.13 ns/op 1.09

by benchmarkbot/action

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 49.21%. Comparing base (cf72219) to head (efeeb4e).
Report is 3 commits behind head on unstable.

Additional details and impacted files
@@            Coverage Diff            @@
##           unstable    #7167   +/-   ##
=========================================
  Coverage     49.21%   49.21%           
=========================================
  Files           598      598           
  Lines         39726    39726           
  Branches       2092     2089    -3     
=========================================
  Hits          19550    19550           
  Misses        20136    20136           
  Partials         40       40           

@nflaig nflaig changed the title chore: fix builder api times panel in block production dashboard chore: fix builder api panels in block production dashboard Oct 16, 2024
@wemeetagain wemeetagain merged commit de0d6ab into unstable Oct 16, 2024
22 checks passed
@wemeetagain wemeetagain deleted the nflaig/builder-api-panel branch October 16, 2024 15:25
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