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 rate() to batch histogram panel #5921

Merged
merged 1 commit into from
Aug 30, 2023

Conversation

twoeths
Copy link
Contributor

@twoeths twoeths commented Aug 30, 2023

Motivation

Fix Batch Histogram panel

Description

Add rate() to it make Batch Histogram look like

Screenshot 2023-08-30 at 10 47 02

cc @dapplion

@wemeetagain wemeetagain merged commit 3b5941a into unstable Aug 30, 2023
9 of 11 checks passed
@wemeetagain wemeetagain deleted the tuyen/add_rate_to_batch_histogram_panel branch August 30, 2023 04:05
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 9b065ec Previous: 55b3441 Ratio
isKnown best case - 1 super set check 281.00 ns/op 1.0080 us/op 0.28
Full benchmark results
Benchmark suite Current: 9b065ec Previous: 55b3441 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 753.07 us/op 1.1887 ms/op 0.63
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 79.244 us/op 156.98 us/op 0.50
BLS verify - blst-native 1.3050 ms/op 2.5831 ms/op 0.51
BLS verifyMultipleSignatures 3 - blst-native 2.7383 ms/op 5.0943 ms/op 0.54
BLS verifyMultipleSignatures 8 - blst-native 6.0293 ms/op 14.208 ms/op 0.42
BLS verifyMultipleSignatures 32 - blst-native 21.981 ms/op 37.661 ms/op 0.58
BLS verifyMultipleSignatures 64 - blst-native 43.303 ms/op 79.863 ms/op 0.54
BLS verifyMultipleSignatures 128 - blst-native 85.909 ms/op 166.03 ms/op 0.52
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3257 ms/op 3.2245 ms/op 0.41
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4944 ms/op 2.9446 ms/op 0.51
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4308 ms/op 4.7749 ms/op 0.51
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4049 ms/op 6.8099 ms/op 0.50
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.5831 ms/op 10.300 ms/op 0.54
BLS aggregatePubkeys 32 - blst-native 25.433 us/op 52.442 us/op 0.48
BLS aggregatePubkeys 128 - blst-native 99.642 us/op 197.27 us/op 0.51
getAttestationsForBlock 36.048 ms/op 91.517 ms/op 0.39
isKnown best case - 1 super set check 281.00 ns/op 1.0080 us/op 0.28
isKnown normal case - 2 super set checks 295.00 ns/op 827.00 ns/op 0.36
isKnown worse case - 16 super set checks 279.00 ns/op 783.00 ns/op 0.36
CheckpointStateCache - add get delete 5.1930 us/op 12.546 us/op 0.41
validate api signedAggregateAndProof - struct 2.7453 ms/op 6.3132 ms/op 0.43
validate gossip signedAggregateAndProof - struct 2.7626 ms/op 7.3487 ms/op 0.38
validate gossip attestation - vc 640000 1.3353 ms/op 2.5783 ms/op 0.52
batch validate gossip attestation - vc 640000 - chunk 32 147.64 us/op 291.05 us/op 0.51
batch validate gossip attestation - vc 640000 - chunk 64 129.49 us/op 266.00 us/op 0.49
batch validate gossip attestation - vc 640000 - chunk 128 120.12 us/op 216.60 us/op 0.55
batch validate gossip attestation - vc 640000 - chunk 256 114.88 us/op 153.52 us/op 0.75
pickEth1Vote - no votes 1.2099 ms/op 1.4637 ms/op 0.83
pickEth1Vote - max votes 7.5012 ms/op 14.284 ms/op 0.53
pickEth1Vote - Eth1Data hashTreeRoot value x2048 8.2991 ms/op 11.811 ms/op 0.70
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 12.592 ms/op 22.072 ms/op 0.57
pickEth1Vote - Eth1Data fastSerialize value x2048 586.52 us/op 770.37 us/op 0.76
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.5333 ms/op 8.4935 ms/op 0.65
bytes32 toHexString 462.00 ns/op 638.00 ns/op 0.72
bytes32 Buffer.toString(hex) 274.00 ns/op 375.00 ns/op 0.73
bytes32 Buffer.toString(hex) from Uint8Array 418.00 ns/op 553.00 ns/op 0.76
bytes32 Buffer.toString(hex) + 0x 278.00 ns/op 364.00 ns/op 0.76
Object access 1 prop 0.15500 ns/op 0.21100 ns/op 0.73
Map access 1 prop 0.14500 ns/op 0.17800 ns/op 0.81
Object get x1000 6.9450 ns/op 8.8500 ns/op 0.78
Map get x1000 0.53000 ns/op 0.81700 ns/op 0.65
Object set x1000 46.860 ns/op 61.376 ns/op 0.76
Map set x1000 38.733 ns/op 50.111 ns/op 0.77
Return object 10000 times 0.23360 ns/op 0.29370 ns/op 0.80
Throw Error 10000 times 3.8114 us/op 4.8746 us/op 0.78
fastMsgIdFn sha256 / 200 bytes 3.2390 us/op 4.1110 us/op 0.79
fastMsgIdFn h32 xxhash / 200 bytes 268.00 ns/op 344.00 ns/op 0.78
fastMsgIdFn h64 xxhash / 200 bytes 342.00 ns/op 454.00 ns/op 0.75
fastMsgIdFn sha256 / 1000 bytes 11.439 us/op 15.064 us/op 0.76
fastMsgIdFn h32 xxhash / 1000 bytes 400.00 ns/op 570.00 ns/op 0.70
fastMsgIdFn h64 xxhash / 1000 bytes 408.00 ns/op 572.00 ns/op 0.71
fastMsgIdFn sha256 / 10000 bytes 100.50 us/op 134.14 us/op 0.75
fastMsgIdFn h32 xxhash / 10000 bytes 1.8810 us/op 2.4600 us/op 0.76
fastMsgIdFn h64 xxhash / 10000 bytes 1.3390 us/op 1.6950 us/op 0.79
enrSubnets - fastDeserialize 64 bits 1.1780 us/op 1.6510 us/op 0.71
enrSubnets - ssz BitVector 64 bits 425.00 ns/op 542.00 ns/op 0.78
enrSubnets - fastDeserialize 4 bits 161.00 ns/op 228.00 ns/op 0.71
enrSubnets - ssz BitVector 4 bits 405.00 ns/op 534.00 ns/op 0.76
prioritizePeers score -10:0 att 32-0.1 sync 2-0 92.133 us/op 135.07 us/op 0.68
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 127.26 us/op 155.17 us/op 0.82
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 165.46 us/op 207.30 us/op 0.80
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 308.57 us/op 367.67 us/op 0.84
prioritizePeers score 0:0 att 64-1 sync 4-1 350.79 us/op 423.06 us/op 0.83
array of 16000 items push then shift 1.6289 us/op 2.0108 us/op 0.81
LinkedList of 16000 items push then shift 8.9370 ns/op 11.170 ns/op 0.80
array of 16000 items push then pop 84.222 ns/op 104.29 ns/op 0.81
LinkedList of 16000 items push then pop 8.6670 ns/op 10.737 ns/op 0.81
array of 24000 items push then shift 2.4957 us/op 2.9331 us/op 0.85
LinkedList of 24000 items push then shift 9.0570 ns/op 11.972 ns/op 0.76
array of 24000 items push then pop 104.97 ns/op 158.83 ns/op 0.66
LinkedList of 24000 items push then pop 8.7200 ns/op 11.334 ns/op 0.77
intersect bitArray bitLen 8 6.8710 ns/op 9.1910 ns/op 0.75
intersect array and set length 8 54.575 ns/op 71.265 ns/op 0.77
intersect bitArray bitLen 128 32.321 ns/op 45.464 ns/op 0.71
intersect array and set length 128 755.50 ns/op 992.86 ns/op 0.76
bitArray.getTrueBitIndexes() bitLen 128 1.4460 us/op 1.8010 us/op 0.80
bitArray.getTrueBitIndexes() bitLen 248 2.3190 us/op 3.1770 us/op 0.73
bitArray.getTrueBitIndexes() bitLen 512 4.6250 us/op 5.8980 us/op 0.78
Buffer.concat 32 items 1000.0 ns/op 1.1610 us/op 0.86
Uint8Array.set 32 items 2.1670 us/op 2.1210 us/op 1.02
Set add up to 64 items then delete first 4.4431 us/op 5.2957 us/op 0.84
OrderedSet add up to 64 items then delete first 5.5954 us/op 6.5500 us/op 0.85
Set add up to 64 items then delete last 4.6961 us/op 5.7746 us/op 0.81
OrderedSet add up to 64 items then delete last 5.7104 us/op 6.7438 us/op 0.85
Set add up to 64 items then delete middle 4.7315 us/op 6.4855 us/op 0.73
OrderedSet add up to 64 items then delete middle 6.9672 us/op 11.312 us/op 0.62
Set add up to 128 items then delete first 9.2733 us/op 13.518 us/op 0.69
OrderedSet add up to 128 items then delete first 11.936 us/op 18.515 us/op 0.64
Set add up to 128 items then delete last 9.1034 us/op 14.811 us/op 0.61
OrderedSet add up to 128 items then delete last 11.319 us/op 18.133 us/op 0.62
Set add up to 128 items then delete middle 8.9502 us/op 15.369 us/op 0.58
OrderedSet add up to 128 items then delete middle 17.122 us/op 26.161 us/op 0.65
Set add up to 256 items then delete first 18.547 us/op 26.367 us/op 0.70
OrderedSet add up to 256 items then delete first 25.030 us/op 32.505 us/op 0.77
Set add up to 256 items then delete last 18.249 us/op 23.525 us/op 0.78
OrderedSet add up to 256 items then delete last 22.685 us/op 32.375 us/op 0.70
Set add up to 256 items then delete middle 17.785 us/op 21.565 us/op 0.82
OrderedSet add up to 256 items then delete middle 44.104 us/op 68.709 us/op 0.64
transfer serialized Status (84 B) 1.8780 us/op 2.8580 us/op 0.66
copy serialized Status (84 B) 1.5550 us/op 2.4740 us/op 0.63
transfer serialized SignedVoluntaryExit (112 B) 1.8400 us/op 3.1020 us/op 0.59
copy serialized SignedVoluntaryExit (112 B) 1.5240 us/op 2.7080 us/op 0.56
transfer serialized ProposerSlashing (416 B) 1.9570 us/op 4.6400 us/op 0.42
copy serialized ProposerSlashing (416 B) 1.7700 us/op 4.4060 us/op 0.40
transfer serialized Attestation (485 B) 1.9870 us/op 4.2040 us/op 0.47
copy serialized Attestation (485 B) 2.4110 us/op 4.2750 us/op 0.56
transfer serialized AttesterSlashing (33232 B) 2.3100 us/op 5.0640 us/op 0.46
copy serialized AttesterSlashing (33232 B) 7.3460 us/op 11.652 us/op 0.63
transfer serialized Small SignedBeaconBlock (128000 B) 3.1580 us/op 5.6160 us/op 0.56
copy serialized Small SignedBeaconBlock (128000 B) 14.695 us/op 26.873 us/op 0.55
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4580 us/op 6.6630 us/op 0.52
copy serialized Avg SignedBeaconBlock (200000 B) 21.099 us/op 36.992 us/op 0.57
transfer serialized BlobsSidecar (524380 B) 3.4570 us/op 7.7990 us/op 0.44
copy serialized BlobsSidecar (524380 B) 129.15 us/op 113.16 us/op 1.14
transfer serialized Big SignedBeaconBlock (1000000 B) 3.3420 us/op 7.6260 us/op 0.44
copy serialized Big SignedBeaconBlock (1000000 B) 159.02 us/op 222.71 us/op 0.71
pass gossip attestations to forkchoice per slot 4.0461 ms/op 7.6459 ms/op 0.53
forkChoice updateHead vc 100000 bc 64 eq 0 687.41 us/op 1.2633 ms/op 0.54
forkChoice updateHead vc 600000 bc 64 eq 0 6.8674 ms/op 11.079 ms/op 0.62
forkChoice updateHead vc 1000000 bc 64 eq 0 8.2365 ms/op 16.302 ms/op 0.51
forkChoice updateHead vc 600000 bc 320 eq 0 4.2482 ms/op 8.0696 ms/op 0.53
forkChoice updateHead vc 600000 bc 1200 eq 0 4.4097 ms/op 8.5432 ms/op 0.52
forkChoice updateHead vc 600000 bc 7200 eq 0 5.2417 ms/op 10.050 ms/op 0.52
forkChoice updateHead vc 600000 bc 64 eq 1000 11.328 ms/op 23.444 ms/op 0.48
forkChoice updateHead vc 600000 bc 64 eq 10000 12.302 ms/op 23.772 ms/op 0.52
forkChoice updateHead vc 600000 bc 64 eq 300000 16.009 ms/op 28.404 ms/op 0.56
computeDeltas 500000 validators 300 proto nodes 6.5133 ms/op 9.0849 ms/op 0.72
computeDeltas 500000 validators 1200 proto nodes 6.4021 ms/op 10.879 ms/op 0.59
computeDeltas 500000 validators 7200 proto nodes 6.2042 ms/op 10.438 ms/op 0.59
computeDeltas 750000 validators 300 proto nodes 9.3969 ms/op 12.039 ms/op 0.78
computeDeltas 750000 validators 1200 proto nodes 9.3278 ms/op 12.641 ms/op 0.74
computeDeltas 750000 validators 7200 proto nodes 9.3723 ms/op 11.239 ms/op 0.83
computeDeltas 1400000 validators 300 proto nodes 17.700 ms/op 21.203 ms/op 0.83
computeDeltas 1400000 validators 1200 proto nodes 17.599 ms/op 20.864 ms/op 0.84
computeDeltas 1400000 validators 7200 proto nodes 17.516 ms/op 20.514 ms/op 0.85
computeDeltas 2100000 validators 300 proto nodes 26.568 ms/op 31.524 ms/op 0.84
computeDeltas 2100000 validators 1200 proto nodes 26.322 ms/op 32.240 ms/op 0.82
computeDeltas 2100000 validators 7200 proto nodes 26.483 ms/op 31.203 ms/op 0.85
computeProposerBoostScoreFromBalances 500000 validators 3.1831 ms/op 3.9053 ms/op 0.82
computeProposerBoostScoreFromBalances 750000 validators 3.1638 ms/op 3.7877 ms/op 0.84
computeProposerBoostScoreFromBalances 1400000 validators 3.1376 ms/op 3.8458 ms/op 0.82
computeProposerBoostScoreFromBalances 2100000 validators 3.1252 ms/op 3.7956 ms/op 0.82
altair processAttestation - 250000 vs - 7PWei normalcase 2.1904 ms/op 2.6610 ms/op 0.82
altair processAttestation - 250000 vs - 7PWei worstcase 3.1664 ms/op 3.8836 ms/op 0.82
altair processAttestation - setStatus - 1/6 committees join 171.08 us/op 214.05 us/op 0.80
altair processAttestation - setStatus - 1/3 committees join 340.92 us/op 410.22 us/op 0.83
altair processAttestation - setStatus - 1/2 committees join 460.60 us/op 566.42 us/op 0.81
altair processAttestation - setStatus - 2/3 committees join 569.09 us/op 690.58 us/op 0.82
altair processAttestation - setStatus - 4/5 committees join 786.30 us/op 950.37 us/op 0.83
altair processAttestation - setStatus - 100% committees join 915.80 us/op 1.1190 ms/op 0.82
altair processBlock - 250000 vs - 7PWei normalcase 8.9547 ms/op 11.162 ms/op 0.80
altair processBlock - 250000 vs - 7PWei normalcase hashState 16.834 ms/op 19.353 ms/op 0.87
altair processBlock - 250000 vs - 7PWei worstcase 36.570 ms/op 44.635 ms/op 0.82
altair processBlock - 250000 vs - 7PWei worstcase hashState 57.338 ms/op 67.449 ms/op 0.85
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3320 ms/op 3.4283 ms/op 0.68
phase0 processBlock - 250000 vs - 7PWei worstcase 28.591 ms/op 36.337 ms/op 0.79
altair processEth1Data - 250000 vs - 7PWei normalcase 463.83 us/op 581.37 us/op 0.80
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 8.5320 us/op 12.117 us/op 0.70
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 38.147 us/op 73.936 us/op 0.52
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 16.957 us/op 22.649 us/op 0.75
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 7.3370 us/op 12.990 us/op 0.56
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 157.05 us/op 186.36 us/op 0.84
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.0195 ms/op 1.6702 ms/op 0.61
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.4462 ms/op 2.1616 ms/op 0.67
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.4031 ms/op 1.6345 ms/op 0.86
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.2426 ms/op 3.9046 ms/op 0.83
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.2103 ms/op 3.1671 ms/op 0.70
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 4.7159 ms/op 7.4201 ms/op 0.64
Tree 40 250000 create 316.64 ms/op 494.80 ms/op 0.64
Tree 40 250000 get(125000) 189.01 ns/op 244.25 ns/op 0.77
Tree 40 250000 set(125000) 882.00 ns/op 1.0465 us/op 0.84
Tree 40 250000 toArray() 16.650 ms/op 24.168 ms/op 0.69
Tree 40 250000 iterate all - toArray() + loop 16.807 ms/op 23.276 ms/op 0.72
Tree 40 250000 iterate all - get(i) 64.174 ms/op 82.223 ms/op 0.78
MutableVector 250000 create 12.459 ms/op 16.030 ms/op 0.78
MutableVector 250000 get(125000) 6.2260 ns/op 8.0050 ns/op 0.78
MutableVector 250000 set(125000) 238.35 ns/op 295.28 ns/op 0.81
MutableVector 250000 toArray() 2.8057 ms/op 3.6884 ms/op 0.76
MutableVector 250000 iterate all - toArray() + loop 3.0183 ms/op 4.1410 ms/op 0.73
MutableVector 250000 iterate all - get(i) 1.5034 ms/op 1.8407 ms/op 0.82
Array 250000 create 2.7355 ms/op 3.5476 ms/op 0.77
Array 250000 clone - spread 1.1665 ms/op 1.2324 ms/op 0.95
Array 250000 get(125000) 0.56200 ns/op 0.63200 ns/op 0.89
Array 250000 set(125000) 0.62900 ns/op 0.71500 ns/op 0.88
Array 250000 iterate all - loop 80.466 us/op 99.181 us/op 0.81
effectiveBalanceIncrements clone Uint8Array 300000 26.226 us/op 32.432 us/op 0.81
effectiveBalanceIncrements clone MutableVector 300000 335.00 ns/op 351.00 ns/op 0.95
effectiveBalanceIncrements rw all Uint8Array 300000 173.59 us/op 219.75 us/op 0.79
effectiveBalanceIncrements rw all MutableVector 300000 79.852 ms/op 94.328 ms/op 0.85
phase0 afterProcessEpoch - 250000 vs - 7PWei 108.83 ms/op 138.42 ms/op 0.79
phase0 beforeProcessEpoch - 250000 vs - 7PWei 30.347 ms/op 46.000 ms/op 0.66
altair processEpoch - mainnet_e81889 308.14 ms/op 396.47 ms/op 0.78
mainnet_e81889 - altair beforeProcessEpoch 55.914 ms/op 67.303 ms/op 0.83
mainnet_e81889 - altair processJustificationAndFinalization 15.453 us/op 18.376 us/op 0.84
mainnet_e81889 - altair processInactivityUpdates 5.6223 ms/op 7.3119 ms/op 0.77
mainnet_e81889 - altair processRewardsAndPenalties 49.741 ms/op 90.978 ms/op 0.55
mainnet_e81889 - altair processRegistryUpdates 2.4850 us/op 3.6890 us/op 0.67
mainnet_e81889 - altair processSlashings 420.00 ns/op 638.00 ns/op 0.66
mainnet_e81889 - altair processEth1DataReset 518.00 ns/op 862.00 ns/op 0.60
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2242 ms/op 1.7281 ms/op 0.71
mainnet_e81889 - altair processSlashingsReset 2.5200 us/op 5.4950 us/op 0.46
mainnet_e81889 - altair processRandaoMixesReset 4.8790 us/op 10.031 us/op 0.49
mainnet_e81889 - altair processHistoricalRootsUpdate 714.00 ns/op 2.1830 us/op 0.33
mainnet_e81889 - altair processParticipationFlagUpdates 1.8640 us/op 2.3540 us/op 0.79
mainnet_e81889 - altair processSyncCommitteeUpdates 636.00 ns/op 813.00 ns/op 0.78
mainnet_e81889 - altair afterProcessEpoch 122.90 ms/op 151.88 ms/op 0.81
capella processEpoch - mainnet_e217614 987.37 ms/op 1.1975 s/op 0.82
mainnet_e217614 - capella beforeProcessEpoch 232.45 ms/op 287.92 ms/op 0.81
mainnet_e217614 - capella processJustificationAndFinalization 12.882 us/op 18.055 us/op 0.71
mainnet_e217614 - capella processInactivityUpdates 15.661 ms/op 18.916 ms/op 0.83
mainnet_e217614 - capella processRewardsAndPenalties 273.82 ms/op 337.99 ms/op 0.81
mainnet_e217614 - capella processRegistryUpdates 17.015 us/op 28.261 us/op 0.60
mainnet_e217614 - capella processSlashings 487.00 ns/op 754.00 ns/op 0.65
mainnet_e217614 - capella processEth1DataReset 419.00 ns/op 829.00 ns/op 0.51
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9410 ms/op 4.8748 ms/op 0.81
mainnet_e217614 - capella processSlashingsReset 2.2000 us/op 4.1360 us/op 0.53
mainnet_e217614 - capella processRandaoMixesReset 4.5840 us/op 8.5540 us/op 0.54
mainnet_e217614 - capella processHistoricalRootsUpdate 606.00 ns/op 735.00 ns/op 0.82
mainnet_e217614 - capella processParticipationFlagUpdates 1.4180 us/op 5.4400 us/op 0.26
mainnet_e217614 - capella afterProcessEpoch 289.90 ms/op 343.21 ms/op 0.84
phase0 processEpoch - mainnet_e58758 308.70 ms/op 408.26 ms/op 0.76
mainnet_e58758 - phase0 beforeProcessEpoch 103.54 ms/op 139.87 ms/op 0.74
mainnet_e58758 - phase0 processJustificationAndFinalization 14.856 us/op 17.796 us/op 0.83
mainnet_e58758 - phase0 processRewardsAndPenalties 53.065 ms/op 70.970 ms/op 0.75
mainnet_e58758 - phase0 processRegistryUpdates 9.7440 us/op 14.395 us/op 0.68
mainnet_e58758 - phase0 processSlashings 510.00 ns/op 794.00 ns/op 0.64
mainnet_e58758 - phase0 processEth1DataReset 408.00 ns/op 680.00 ns/op 0.60
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 940.58 us/op 1.7019 ms/op 0.55
mainnet_e58758 - phase0 processSlashingsReset 2.2690 us/op 3.0720 us/op 0.74
mainnet_e58758 - phase0 processRandaoMixesReset 3.5270 us/op 8.2340 us/op 0.43
mainnet_e58758 - phase0 processHistoricalRootsUpdate 401.00 ns/op 768.00 ns/op 0.52
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.3020 us/op 5.2900 us/op 0.62
mainnet_e58758 - phase0 afterProcessEpoch 99.324 ms/op 115.15 ms/op 0.86
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.2054 ms/op 1.5531 ms/op 0.78
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.9282 ms/op 1.9638 ms/op 0.98
altair processInactivityUpdates - 250000 normalcase 17.567 ms/op 31.870 ms/op 0.55
altair processInactivityUpdates - 250000 worstcase 19.299 ms/op 30.870 ms/op 0.63
phase0 processRegistryUpdates - 250000 normalcase 9.1550 us/op 14.709 us/op 0.62
phase0 processRegistryUpdates - 250000 badcase_full_deposits 315.23 us/op 555.80 us/op 0.57
phase0 processRegistryUpdates - 250000 worstcase 0.5 119.88 ms/op 155.07 ms/op 0.77
altair processRewardsAndPenalties - 250000 normalcase 52.220 ms/op 80.716 ms/op 0.65
altair processRewardsAndPenalties - 250000 worstcase 51.521 ms/op 81.755 ms/op 0.63
phase0 getAttestationDeltas - 250000 normalcase 7.2900 ms/op 8.0771 ms/op 0.90
phase0 getAttestationDeltas - 250000 worstcase 7.5897 ms/op 8.1265 ms/op 0.93
phase0 processSlashings - 250000 worstcase 2.1189 ms/op 2.4024 ms/op 0.88
altair processSyncCommitteeUpdates - 250000 143.58 ms/op 167.06 ms/op 0.86
BeaconState.hashTreeRoot - No change 254.00 ns/op 290.00 ns/op 0.88
BeaconState.hashTreeRoot - 1 full validator 50.164 us/op 59.587 us/op 0.84
BeaconState.hashTreeRoot - 32 full validator 503.85 us/op 620.67 us/op 0.81
BeaconState.hashTreeRoot - 512 full validator 5.1400 ms/op 6.8989 ms/op 0.75
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 60.515 us/op 76.689 us/op 0.79
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 843.55 us/op 1.0080 ms/op 0.84
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 10.812 ms/op 13.917 ms/op 0.78
BeaconState.hashTreeRoot - 1 balances 48.130 us/op 58.687 us/op 0.82
BeaconState.hashTreeRoot - 32 balances 443.05 us/op 502.72 us/op 0.88
BeaconState.hashTreeRoot - 512 balances 4.2472 ms/op 5.3645 ms/op 0.79
BeaconState.hashTreeRoot - 250000 balances 71.041 ms/op 90.682 ms/op 0.78
aggregationBits - 2048 els - zipIndexesInBitList 15.877 us/op 17.447 us/op 0.91
regular array get 100000 times 37.518 us/op 36.613 us/op 1.02
wrappedArray get 100000 times 42.602 us/op 36.530 us/op 1.17
arrayWithProxy get 100000 times 14.633 ms/op 17.248 ms/op 0.85
ssz.Root.equals 201.00 ns/op 241.00 ns/op 0.83
byteArrayEquals 207.00 ns/op 243.00 ns/op 0.85
shuffle list - 16384 els 6.7712 ms/op 8.0015 ms/op 0.85
shuffle list - 250000 els 99.748 ms/op 117.29 ms/op 0.85
processSlot - 1 slots 8.2960 us/op 9.1770 us/op 0.90
processSlot - 32 slots 1.2736 ms/op 1.5277 ms/op 0.83
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 49.085 ms/op 61.789 ms/op 0.79
getCommitteeAssignments - req 1 vs - 250000 vc 2.4490 ms/op 3.0920 ms/op 0.79
getCommitteeAssignments - req 100 vs - 250000 vc 3.6347 ms/op 4.4469 ms/op 0.82
getCommitteeAssignments - req 1000 vs - 250000 vc 3.9534 ms/op 4.6969 ms/op 0.84
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.4200 ns/op 5.8700 ns/op 0.75
state getBlockRootAtSlot - 250000 vs - 7PWei 843.57 ns/op 756.02 ns/op 1.12
computeProposers - vc 250000 8.6794 ms/op 10.576 ms/op 0.82
computeEpochShuffling - vc 250000 100.30 ms/op 124.73 ms/op 0.80
getNextSyncCommittee - vc 250000 144.95 ms/op 171.98 ms/op 0.84
computeSigningRoot for AttestationData 12.396 us/op 15.245 us/op 0.81
hash AttestationData serialized data then Buffer.toString(base64) 2.2079 us/op 2.6808 us/op 0.82
toHexString serialized data 1.0669 us/op 1.2847 us/op 0.83
Buffer.toString(base64) 215.40 ns/op 242.91 ns/op 0.89

by benchmarkbot/action

@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.

2 participants