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

refactor: cleanup some of the deneb todos #6047

Merged
merged 1 commit into from
Oct 18, 2023
Merged

refactor: cleanup some of the deneb todos #6047

merged 1 commit into from
Oct 18, 2023

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Oct 18, 2023

some of the low hanging deneb cleanup

more to follow in followup PRs

@g11tech g11tech requested a review from a team as a code owner October 18, 2023 13:02
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 904fcb7 Previous: 3a6702e Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 804.65 us/op 591.39 us/op 1.36
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 169.51 us/op 96.258 us/op 1.76
BLS verify - blst-native 2.1374 ms/op 1.4387 ms/op 1.49
BLS verifyMultipleSignatures 3 - blst-native 4.7449 ms/op 3.1584 ms/op 1.50
BLS verifyMultipleSignatures 8 - blst-native 9.6742 ms/op 6.7372 ms/op 1.44
BLS verifyMultipleSignatures 32 - blst-native 30.881 ms/op 23.889 ms/op 1.29
BLS verifyMultipleSignatures 64 - blst-native 48.244 ms/op 47.726 ms/op 1.01
BLS verifyMultipleSignatures 128 - blst-native 128.69 ms/op 92.975 ms/op 1.38
BLS deserializing 10000 signatures 1.2965 s/op 937.44 ms/op 1.38
BLS deserializing 100000 signatures 10.666 s/op 9.4726 s/op 1.13
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3866 ms/op 1.4405 ms/op 0.96
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5776 ms/op 1.6308 ms/op 0.97
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.4539 ms/op 2.5340 ms/op 0.97
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.6153 ms/op 3.6870 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.0979 ms/op 5.9755 ms/op 1.02
BLS aggregatePubkeys 32 - blst-native 27.239 us/op 26.978 us/op 1.01
BLS aggregatePubkeys 128 - blst-native 105.22 us/op 105.61 us/op 1.00
getAttestationsForBlock 64.874 ms/op 47.545 ms/op 1.36
isKnown best case - 1 super set check 609.00 ns/op 500.00 ns/op 1.22
isKnown normal case - 2 super set checks 616.00 ns/op 491.00 ns/op 1.25
isKnown worse case - 16 super set checks 630.00 ns/op 496.00 ns/op 1.27
CheckpointStateCache - add get delete 6.7090 us/op 6.0640 us/op 1.11
validate api signedAggregateAndProof - struct 2.9523 ms/op 2.8973 ms/op 1.02
validate gossip signedAggregateAndProof - struct 2.9400 ms/op 2.9555 ms/op 0.99
validate gossip attestation - vc 640000 1.4418 ms/op 1.4370 ms/op 1.00
batch validate gossip attestation - vc 640000 - chunk 32 194.81 us/op 176.91 us/op 1.10
batch validate gossip attestation - vc 640000 - chunk 64 179.49 us/op 157.20 us/op 1.14
batch validate gossip attestation - vc 640000 - chunk 128 160.98 us/op 146.92 us/op 1.10
batch validate gossip attestation - vc 640000 - chunk 256 150.29 us/op 139.00 us/op 1.08
pickEth1Vote - no votes 1.4950 ms/op 1.3552 ms/op 1.10
pickEth1Vote - max votes 13.430 ms/op 10.651 ms/op 1.26
pickEth1Vote - Eth1Data hashTreeRoot value x2048 24.088 ms/op 18.362 ms/op 1.31
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 33.786 ms/op 26.737 ms/op 1.26
pickEth1Vote - Eth1Data fastSerialize value x2048 744.95 us/op 667.58 us/op 1.12
pickEth1Vote - Eth1Data fastSerialize tree x2048 8.7349 ms/op 4.9896 ms/op 1.75
bytes32 toHexString 714.00 ns/op 572.00 ns/op 1.25
bytes32 Buffer.toString(hex) 345.00 ns/op 313.00 ns/op 1.10
bytes32 Buffer.toString(hex) from Uint8Array 498.00 ns/op 505.00 ns/op 0.99
bytes32 Buffer.toString(hex) + 0x 328.00 ns/op 318.00 ns/op 1.03
Object access 1 prop 0.20800 ns/op 0.19900 ns/op 1.05
Map access 1 prop 0.16100 ns/op 0.16000 ns/op 1.01
Object get x1000 12.046 ns/op 8.2920 ns/op 1.45
Map get x1000 0.74600 ns/op 0.75700 ns/op 0.99
Object set x1000 76.714 ns/op 68.037 ns/op 1.13
Map set x1000 55.994 ns/op 49.631 ns/op 1.13
Return object 10000 times 0.37290 ns/op 0.26710 ns/op 1.40
Throw Error 10000 times 5.8814 us/op 4.5380 us/op 1.30
fastMsgIdFn sha256 / 200 bytes 3.7050 us/op 3.7430 us/op 0.99
fastMsgIdFn h32 xxhash / 200 bytes 366.00 ns/op 320.00 ns/op 1.14
fastMsgIdFn h64 xxhash / 200 bytes 395.00 ns/op 378.00 ns/op 1.04
fastMsgIdFn sha256 / 1000 bytes 13.243 us/op 12.733 us/op 1.04
fastMsgIdFn h32 xxhash / 1000 bytes 482.00 ns/op 452.00 ns/op 1.07
fastMsgIdFn h64 xxhash / 1000 bytes 464.00 ns/op 467.00 ns/op 0.99
fastMsgIdFn sha256 / 10000 bytes 111.64 us/op 111.89 us/op 1.00
fastMsgIdFn h32 xxhash / 10000 bytes 2.0950 us/op 2.2540 us/op 0.93
fastMsgIdFn h64 xxhash / 10000 bytes 1.4520 us/op 1.4870 us/op 0.98
send data - 1000 256B messages 23.521 ms/op 21.846 ms/op 1.08
send data - 1000 512B messages 34.617 ms/op 28.640 ms/op 1.21
send data - 1000 1024B messages 49.918 ms/op 43.619 ms/op 1.14
send data - 1000 1200B messages 42.540 ms/op 33.063 ms/op 1.29
send data - 1000 2048B messages 43.433 ms/op 35.798 ms/op 1.21
send data - 1000 4096B messages 45.041 ms/op 29.583 ms/op 1.52
send data - 1000 16384B messages 113.72 ms/op 89.664 ms/op 1.27
send data - 1000 65536B messages 389.71 ms/op 328.14 ms/op 1.19
enrSubnets - fastDeserialize 64 bits 1.6700 us/op 1.4990 us/op 1.11
enrSubnets - ssz BitVector 64 bits 520.00 ns/op 490.00 ns/op 1.06
enrSubnets - fastDeserialize 4 bits 218.00 ns/op 209.00 ns/op 1.04
enrSubnets - ssz BitVector 4 bits 517.00 ns/op 482.00 ns/op 1.07
prioritizePeers score -10:0 att 32-0.1 sync 2-0 121.80 us/op 112.49 us/op 1.08
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 160.03 us/op 142.43 us/op 1.12
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 236.99 us/op 192.80 us/op 1.23
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 356.73 us/op 318.53 us/op 1.12
prioritizePeers score 0:0 att 64-1 sync 4-1 403.14 us/op 373.41 us/op 1.08
array of 16000 items push then shift 1.8054 us/op 1.7264 us/op 1.05
LinkedList of 16000 items push then shift 12.834 ns/op 9.4650 ns/op 1.36
array of 16000 items push then pop 130.04 ns/op 94.307 ns/op 1.38
LinkedList of 16000 items push then pop 12.381 ns/op 9.3410 ns/op 1.33
array of 24000 items push then shift 2.9994 us/op 2.6676 us/op 1.12
LinkedList of 24000 items push then shift 12.030 ns/op 11.093 ns/op 1.08
array of 24000 items push then pop 177.57 ns/op 141.75 ns/op 1.25
LinkedList of 24000 items push then pop 11.211 ns/op 9.6790 ns/op 1.16
intersect bitArray bitLen 8 8.7390 ns/op 7.6090 ns/op 1.15
intersect array and set length 8 84.823 ns/op 70.140 ns/op 1.21
intersect bitArray bitLen 128 43.464 ns/op 35.611 ns/op 1.22
intersect array and set length 128 994.25 ns/op 927.22 ns/op 1.07
bitArray.getTrueBitIndexes() bitLen 128 2.1370 us/op 1.6790 us/op 1.27
bitArray.getTrueBitIndexes() bitLen 248 3.6810 us/op 2.9510 us/op 1.25
bitArray.getTrueBitIndexes() bitLen 512 7.3830 us/op 5.4400 us/op 1.36
Buffer.concat 32 items 1.2320 us/op 1.0990 us/op 1.12
Uint8Array.set 32 items 2.2950 us/op 2.7550 us/op 0.83
Set add up to 64 items then delete first 4.9043 us/op 4.7997 us/op 1.02
OrderedSet add up to 64 items then delete first 6.4874 us/op 6.2912 us/op 1.03
Set add up to 64 items then delete last 5.3141 us/op 5.2798 us/op 1.01
OrderedSet add up to 64 items then delete last 7.3351 us/op 6.6747 us/op 1.10
Set add up to 64 items then delete middle 5.3994 us/op 5.1297 us/op 1.05
OrderedSet add up to 64 items then delete middle 9.0024 us/op 8.3198 us/op 1.08
Set add up to 128 items then delete first 10.791 us/op 10.612 us/op 1.02
OrderedSet add up to 128 items then delete first 14.265 us/op 14.432 us/op 0.99
Set add up to 128 items then delete last 10.695 us/op 10.168 us/op 1.05
OrderedSet add up to 128 items then delete last 14.804 us/op 13.346 us/op 1.11
Set add up to 128 items then delete middle 10.474 us/op 10.388 us/op 1.01
OrderedSet add up to 128 items then delete middle 21.596 us/op 19.222 us/op 1.12
Set add up to 256 items then delete first 21.564 us/op 21.141 us/op 1.02
OrderedSet add up to 256 items then delete first 28.074 us/op 29.111 us/op 0.96
Set add up to 256 items then delete last 21.678 us/op 20.664 us/op 1.05
OrderedSet add up to 256 items then delete last 30.270 us/op 27.293 us/op 1.11
Set add up to 256 items then delete middle 22.048 us/op 20.526 us/op 1.07
OrderedSet add up to 256 items then delete middle 62.842 us/op 50.327 us/op 1.25
transfer serialized Status (84 B) 2.4330 us/op 1.8990 us/op 1.28
copy serialized Status (84 B) 2.0040 us/op 1.6100 us/op 1.24
transfer serialized SignedVoluntaryExit (112 B) 2.3790 us/op 2.0180 us/op 1.18
copy serialized SignedVoluntaryExit (112 B) 1.8300 us/op 1.7010 us/op 1.08
transfer serialized ProposerSlashing (416 B) 3.2440 us/op 3.1500 us/op 1.03
copy serialized ProposerSlashing (416 B) 3.3600 us/op 2.7950 us/op 1.20
transfer serialized Attestation (485 B) 2.9260 us/op 2.6090 us/op 1.12
copy serialized Attestation (485 B) 2.7520 us/op 3.0800 us/op 0.89
transfer serialized AttesterSlashing (33232 B) 2.9960 us/op 3.1140 us/op 0.96
copy serialized AttesterSlashing (33232 B) 8.7610 us/op 6.5160 us/op 1.34
transfer serialized Small SignedBeaconBlock (128000 B) 3.6350 us/op 3.2620 us/op 1.11
copy serialized Small SignedBeaconBlock (128000 B) 28.176 us/op 15.727 us/op 1.79
transfer serialized Avg SignedBeaconBlock (200000 B) 3.7010 us/op 3.6840 us/op 1.00
copy serialized Avg SignedBeaconBlock (200000 B) 37.840 us/op 28.104 us/op 1.35
transfer serialized BlobsSidecar (524380 B) 4.3060 us/op 3.7670 us/op 1.14
copy serialized BlobsSidecar (524380 B) 121.56 us/op 106.22 us/op 1.14
transfer serialized Big SignedBeaconBlock (1000000 B) 3.4660 us/op 3.9860 us/op 0.87
copy serialized Big SignedBeaconBlock (1000000 B) 225.39 us/op 190.36 us/op 1.18
pass gossip attestations to forkchoice per slot 4.4025 ms/op 3.9533 ms/op 1.11
forkChoice updateHead vc 100000 bc 64 eq 0 834.64 us/op 701.27 us/op 1.19
forkChoice updateHead vc 600000 bc 64 eq 0 7.4585 ms/op 4.8288 ms/op 1.54
forkChoice updateHead vc 1000000 bc 64 eq 0 8.6741 ms/op 7.2803 ms/op 1.19
forkChoice updateHead vc 600000 bc 320 eq 0 4.8084 ms/op 4.6053 ms/op 1.04
forkChoice updateHead vc 600000 bc 1200 eq 0 5.1170 ms/op 4.7397 ms/op 1.08
forkChoice updateHead vc 600000 bc 7200 eq 0 6.2023 ms/op 6.0948 ms/op 1.02
forkChoice updateHead vc 600000 bc 64 eq 1000 12.592 ms/op 11.969 ms/op 1.05
forkChoice updateHead vc 600000 bc 64 eq 10000 14.221 ms/op 12.881 ms/op 1.10
forkChoice updateHead vc 600000 bc 64 eq 300000 20.420 ms/op 18.857 ms/op 1.08
computeDeltas 500000 validators 300 proto nodes 7.0052 ms/op 6.4981 ms/op 1.08
computeDeltas 500000 validators 1200 proto nodes 6.8325 ms/op 6.3823 ms/op 1.07
computeDeltas 500000 validators 7200 proto nodes 6.7655 ms/op 6.6132 ms/op 1.02
computeDeltas 750000 validators 300 proto nodes 10.306 ms/op 9.9695 ms/op 1.03
computeDeltas 750000 validators 1200 proto nodes 10.595 ms/op 9.7029 ms/op 1.09
computeDeltas 750000 validators 7200 proto nodes 10.100 ms/op 9.8402 ms/op 1.03
computeDeltas 1400000 validators 300 proto nodes 18.629 ms/op 18.906 ms/op 0.99
computeDeltas 1400000 validators 1200 proto nodes 18.711 ms/op 18.639 ms/op 1.00
computeDeltas 1400000 validators 7200 proto nodes 18.804 ms/op 18.990 ms/op 0.99
computeDeltas 2100000 validators 300 proto nodes 28.016 ms/op 27.932 ms/op 1.00
computeDeltas 2100000 validators 1200 proto nodes 28.195 ms/op 28.705 ms/op 0.98
computeDeltas 2100000 validators 7200 proto nodes 29.068 ms/op 28.333 ms/op 1.03
computeProposerBoostScoreFromBalances 500000 validators 3.3576 ms/op 3.4071 ms/op 0.99
computeProposerBoostScoreFromBalances 750000 validators 3.3551 ms/op 3.4026 ms/op 0.99
computeProposerBoostScoreFromBalances 1400000 validators 3.3259 ms/op 3.3851 ms/op 0.98
computeProposerBoostScoreFromBalances 2100000 validators 3.3092 ms/op 3.3763 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei normalcase 2.8209 ms/op 3.0004 ms/op 0.94
altair processAttestation - 250000 vs - 7PWei worstcase 3.9752 ms/op 4.2801 ms/op 0.93
altair processAttestation - setStatus - 1/6 committees join 201.49 us/op 191.51 us/op 1.05
altair processAttestation - setStatus - 1/3 committees join 380.44 us/op 366.67 us/op 1.04
altair processAttestation - setStatus - 1/2 committees join 513.62 us/op 495.50 us/op 1.04
altair processAttestation - setStatus - 2/3 committees join 648.93 us/op 633.15 us/op 1.02
altair processAttestation - setStatus - 4/5 committees join 867.42 us/op 858.47 us/op 1.01
altair processAttestation - setStatus - 100% committees join 1.0164 ms/op 1.0163 ms/op 1.00
altair processBlock - 250000 vs - 7PWei normalcase 10.066 ms/op 10.637 ms/op 0.95
altair processBlock - 250000 vs - 7PWei normalcase hashState 31.299 ms/op 36.793 ms/op 0.85
altair processBlock - 250000 vs - 7PWei worstcase 39.911 ms/op 48.576 ms/op 0.82
altair processBlock - 250000 vs - 7PWei worstcase hashState 87.893 ms/op 101.79 ms/op 0.86
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6875 ms/op 3.2752 ms/op 0.82
phase0 processBlock - 250000 vs - 7PWei worstcase 32.612 ms/op 34.288 ms/op 0.95
altair processEth1Data - 250000 vs - 7PWei normalcase 604.84 us/op 682.34 us/op 0.89
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 15.504 us/op 18.702 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 85.890 us/op 90.920 us/op 0.94
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 18.470 us/op 27.119 us/op 0.68
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 19.457 us/op 11.780 us/op 1.65
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 187.13 us/op 175.09 us/op 1.07
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.2951 ms/op 1.5119 ms/op 0.86
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.9253 ms/op 2.2744 ms/op 0.85
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.6662 ms/op 1.7404 ms/op 0.96
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.8028 ms/op 4.1089 ms/op 0.93
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.5110 ms/op 3.1210 ms/op 0.80
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 6.0139 ms/op 7.4446 ms/op 0.81
Tree 40 250000 create 382.03 ms/op 572.15 ms/op 0.67
Tree 40 250000 get(125000) 215.05 ns/op 216.66 ns/op 0.99
Tree 40 250000 set(125000) 998.63 ns/op 1.0940 us/op 0.91
Tree 40 250000 toArray() 21.332 ms/op 22.807 ms/op 0.94
Tree 40 250000 iterate all - toArray() + loop 21.809 ms/op 22.695 ms/op 0.96
Tree 40 250000 iterate all - get(i) 74.192 ms/op 76.171 ms/op 0.97
MutableVector 250000 create 14.590 ms/op 14.324 ms/op 1.02
MutableVector 250000 get(125000) 6.6230 ns/op 7.0130 ns/op 0.94
MutableVector 250000 set(125000) 262.54 ns/op 306.96 ns/op 0.86
MutableVector 250000 toArray() 3.6151 ms/op 4.1736 ms/op 0.87
MutableVector 250000 iterate all - toArray() + loop 3.5356 ms/op 4.1580 ms/op 0.85
MutableVector 250000 iterate all - get(i) 1.5699 ms/op 1.6538 ms/op 0.95
Array 250000 create 3.5857 ms/op 3.8954 ms/op 0.92
Array 250000 clone - spread 1.0932 ms/op 1.2016 ms/op 0.91
Array 250000 get(125000) 0.56800 ns/op 0.59900 ns/op 0.95
Array 250000 set(125000) 0.63600 ns/op 0.71500 ns/op 0.89
Array 250000 iterate all - loop 85.971 us/op 87.119 us/op 0.99
effectiveBalanceIncrements clone Uint8Array 300000 29.623 us/op 30.064 us/op 0.99
effectiveBalanceIncrements clone MutableVector 300000 327.00 ns/op 317.00 ns/op 1.03
effectiveBalanceIncrements rw all Uint8Array 300000 180.85 us/op 192.07 us/op 0.94
effectiveBalanceIncrements rw all MutableVector 300000 85.276 ms/op 97.045 ms/op 0.88
phase0 afterProcessEpoch - 250000 vs - 7PWei 116.98 ms/op 120.96 ms/op 0.97
phase0 beforeProcessEpoch - 250000 vs - 7PWei 44.491 ms/op 50.191 ms/op 0.89
altair processEpoch - mainnet_e81889 483.27 ms/op 496.56 ms/op 0.97
mainnet_e81889 - altair beforeProcessEpoch 64.873 ms/op 65.110 ms/op 1.00
mainnet_e81889 - altair processJustificationAndFinalization 22.314 us/op 23.457 us/op 0.95
mainnet_e81889 - altair processInactivityUpdates 6.6066 ms/op 6.5323 ms/op 1.01
mainnet_e81889 - altair processRewardsAndPenalties 65.085 ms/op 67.829 ms/op 0.96
mainnet_e81889 - altair processRegistryUpdates 5.4660 us/op 3.1220 us/op 1.75
mainnet_e81889 - altair processSlashings 1.1350 us/op 524.00 ns/op 2.17
mainnet_e81889 - altair processEth1DataReset 1.0120 us/op 1.0750 us/op 0.94
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.3302 ms/op 1.2943 ms/op 1.03
mainnet_e81889 - altair processSlashingsReset 5.0240 us/op 4.7730 us/op 1.05
mainnet_e81889 - altair processRandaoMixesReset 6.3920 us/op 6.4510 us/op 0.99
mainnet_e81889 - altair processHistoricalRootsUpdate 1.0930 us/op 891.00 ns/op 1.23
mainnet_e81889 - altair processParticipationFlagUpdates 2.9280 us/op 2.6980 us/op 1.09
mainnet_e81889 - altair processSyncCommitteeUpdates 688.00 ns/op 886.00 ns/op 0.78
mainnet_e81889 - altair afterProcessEpoch 133.25 ms/op 132.83 ms/op 1.00
capella processEpoch - mainnet_e217614 1.4929 s/op 1.6924 s/op 0.88
mainnet_e217614 - capella beforeProcessEpoch 254.79 ms/op 263.87 ms/op 0.97
mainnet_e217614 - capella processJustificationAndFinalization 15.430 us/op 15.931 us/op 0.97
mainnet_e217614 - capella processInactivityUpdates 16.664 ms/op 17.362 ms/op 0.96
mainnet_e217614 - capella processRewardsAndPenalties 296.16 ms/op 302.05 ms/op 0.98
mainnet_e217614 - capella processRegistryUpdates 30.418 us/op 30.539 us/op 1.00
mainnet_e217614 - capella processSlashings 716.00 ns/op 610.00 ns/op 1.17
mainnet_e217614 - capella processEth1DataReset 590.00 ns/op 1.1390 us/op 0.52
mainnet_e217614 - capella processEffectiveBalanceUpdates 4.2210 ms/op 4.2096 ms/op 1.00
mainnet_e217614 - capella processSlashingsReset 2.7310 us/op 2.5690 us/op 1.06
mainnet_e217614 - capella processRandaoMixesReset 6.3980 us/op 5.1930 us/op 1.23
mainnet_e217614 - capella processHistoricalRootsUpdate 772.00 ns/op 631.00 ns/op 1.22
mainnet_e217614 - capella processParticipationFlagUpdates 2.4820 us/op 1.5850 us/op 1.57
mainnet_e217614 - capella afterProcessEpoch 309.41 ms/op 303.35 ms/op 1.02
phase0 processEpoch - mainnet_e58758 432.30 ms/op 434.35 ms/op 1.00
mainnet_e58758 - phase0 beforeProcessEpoch 121.38 ms/op 107.30 ms/op 1.13
mainnet_e58758 - phase0 processJustificationAndFinalization 15.124 us/op 16.674 us/op 0.91
mainnet_e58758 - phase0 processRewardsAndPenalties 56.055 ms/op 56.702 ms/op 0.99
mainnet_e58758 - phase0 processRegistryUpdates 10.742 us/op 11.577 us/op 0.93
mainnet_e58758 - phase0 processSlashings 609.00 ns/op 628.00 ns/op 0.97
mainnet_e58758 - phase0 processEth1DataReset 463.00 ns/op 500.00 ns/op 0.93
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.0209 ms/op 1.0682 ms/op 0.96
mainnet_e58758 - phase0 processSlashingsReset 2.1880 us/op 2.2830 us/op 0.96
mainnet_e58758 - phase0 processRandaoMixesReset 5.6680 us/op 5.3320 us/op 1.06
mainnet_e58758 - phase0 processHistoricalRootsUpdate 670.00 ns/op 960.00 ns/op 0.70
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.0050 us/op 4.9510 us/op 1.01
mainnet_e58758 - phase0 afterProcessEpoch 103.37 ms/op 108.38 ms/op 0.95
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.3762 ms/op 1.2693 ms/op 1.08
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4392 ms/op 1.4486 ms/op 0.99
altair processInactivityUpdates - 250000 normalcase 22.753 ms/op 25.581 ms/op 0.89
altair processInactivityUpdates - 250000 worstcase 22.827 ms/op 25.679 ms/op 0.89
phase0 processRegistryUpdates - 250000 normalcase 9.7860 us/op 10.088 us/op 0.97
phase0 processRegistryUpdates - 250000 badcase_full_deposits 395.82 us/op 380.08 us/op 1.04
phase0 processRegistryUpdates - 250000 worstcase 0.5 122.63 ms/op 131.94 ms/op 0.93
altair processRewardsAndPenalties - 250000 normalcase 53.101 ms/op 70.552 ms/op 0.75
altair processRewardsAndPenalties - 250000 worstcase 55.568 ms/op 70.842 ms/op 0.78
phase0 getAttestationDeltas - 250000 normalcase 9.0205 ms/op 8.6195 ms/op 1.05
phase0 getAttestationDeltas - 250000 worstcase 8.4991 ms/op 8.4045 ms/op 1.01
phase0 processSlashings - 250000 worstcase 2.3227 ms/op 2.4941 ms/op 0.93
altair processSyncCommitteeUpdates - 250000 163.50 ms/op 163.33 ms/op 1.00
BeaconState.hashTreeRoot - No change 273.00 ns/op 264.00 ns/op 1.03
BeaconState.hashTreeRoot - 1 full validator 170.47 us/op 133.80 us/op 1.27
BeaconState.hashTreeRoot - 32 full validator 1.5217 ms/op 1.7519 ms/op 0.87
BeaconState.hashTreeRoot - 512 full validator 15.421 ms/op 12.102 ms/op 1.27
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 174.63 us/op 137.24 us/op 1.27
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9225 ms/op 1.8504 ms/op 1.04
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 24.859 ms/op 28.803 ms/op 0.86
BeaconState.hashTreeRoot - 1 balances 122.10 us/op 125.59 us/op 0.97
BeaconState.hashTreeRoot - 32 balances 1.1653 ms/op 1.5155 ms/op 0.77
BeaconState.hashTreeRoot - 512 balances 13.844 ms/op 14.175 ms/op 0.98
BeaconState.hashTreeRoot - 250000 balances 188.08 ms/op 198.01 ms/op 0.95
aggregationBits - 2048 els - zipIndexesInBitList 16.918 us/op 16.028 us/op 1.06
regular array get 100000 times 34.876 us/op 33.643 us/op 1.04
wrappedArray get 100000 times 34.012 us/op 33.760 us/op 1.01
arrayWithProxy get 100000 times 14.828 ms/op 15.415 ms/op 0.96
ssz.Root.equals 241.00 ns/op 232.00 ns/op 1.04
byteArrayEquals 239.00 ns/op 242.00 ns/op 0.99
shuffle list - 16384 els 7.1236 ms/op 7.1398 ms/op 1.00
shuffle list - 250000 els 105.78 ms/op 103.13 ms/op 1.03
processSlot - 1 slots 17.223 us/op 16.449 us/op 1.05
processSlot - 32 slots 4.2733 ms/op 3.3455 ms/op 1.28
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 49.471 ms/op 56.011 ms/op 0.88
getCommitteeAssignments - req 1 vs - 250000 vc 2.5204 ms/op 2.7127 ms/op 0.93
getCommitteeAssignments - req 100 vs - 250000 vc 3.7460 ms/op 3.9565 ms/op 0.95
getCommitteeAssignments - req 1000 vs - 250000 vc 4.1414 ms/op 4.2635 ms/op 0.97
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.8700 ns/op 5.1400 ns/op 0.95
state getBlockRootAtSlot - 250000 vs - 7PWei 525.16 ns/op 565.77 ns/op 0.93
computeProposers - vc 250000 8.9765 ms/op 9.3084 ms/op 0.96
computeEpochShuffling - vc 250000 106.08 ms/op 109.66 ms/op 0.97
getNextSyncCommittee - vc 250000 159.18 ms/op 157.46 ms/op 1.01
computeSigningRoot for AttestationData 25.385 us/op 28.365 us/op 0.89
hash AttestationData serialized data then Buffer.toString(base64) 2.3455 us/op 2.4050 us/op 0.98
toHexString serialized data 1.1239 us/op 1.1546 us/op 0.97
Buffer.toString(base64) 226.13 ns/op 258.46 ns/op 0.87

by benchmarkbot/action

@g11tech g11tech merged commit 724c79a into unstable Oct 18, 2023
@g11tech g11tech deleted the cleanup-deneb1 branch October 18, 2023 15:15
@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