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: cleanup exchange transition remanents #6065

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

g11tech
Copy link
Contributor

@g11tech g11tech commented Oct 25, 2023

cleanup

@g11tech g11tech requested a review from a team as a code owner October 25, 2023 16:44
@g11tech g11tech enabled auto-merge (squash) October 25, 2023 16:54
@g11tech g11tech merged commit 6985cd0 into unstable Oct 25, 2023
15 checks passed
@g11tech g11tech deleted the etrans-cleanup branch October 25, 2023 16:55
@github-actions
Copy link
Contributor

Performance Report

✔️ no performance regression detected

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 7d8e1d0 Previous: 499fd09 Ratio
isKnown best case - 1 super set check 208.00 ns/op 646.00 ns/op 0.32
isKnown normal case - 2 super set checks 209.00 ns/op 725.00 ns/op 0.29
isKnown worse case - 16 super set checks 210.00 ns/op 688.00 ns/op 0.31
Map set x1000 16.352 ns/op 54.571 ns/op 0.30
Set add up to 64 items then delete first 1.6866 us/op 5.1750 us/op 0.33
Set add up to 128 items then delete first 3.7770 us/op 11.339 us/op 0.33
Set add up to 128 items then delete last 3.6242 us/op 11.035 us/op 0.33
Set add up to 128 items then delete middle 3.6217 us/op 11.294 us/op 0.32
Set add up to 256 items then delete last 7.2056 us/op 21.929 us/op 0.33
Set add up to 256 items then delete middle 7.1013 us/op 22.199 us/op 0.32
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 3.3350 us/op 16.051 us/op 0.21
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 3.5230 us/op 22.144 us/op 0.16
Full benchmark results
Benchmark suite Current: 7d8e1d0 Previous: 499fd09 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 419.77 us/op 746.50 us/op 0.56
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 46.851 us/op 105.83 us/op 0.44
BLS verify - blst-native 1.1134 ms/op 1.4475 ms/op 0.77
BLS verifyMultipleSignatures 3 - blst-native 2.3763 ms/op 3.2223 ms/op 0.74
BLS verifyMultipleSignatures 8 - blst-native 5.2524 ms/op 6.8206 ms/op 0.77
BLS verifyMultipleSignatures 32 - blst-native 19.307 ms/op 25.088 ms/op 0.77
BLS verifyMultipleSignatures 64 - blst-native 38.062 ms/op 48.837 ms/op 0.78
BLS verifyMultipleSignatures 128 - blst-native 75.599 ms/op 96.667 ms/op 0.78
BLS deserializing 10000 signatures 791.11 ms/op 1.0225 s/op 0.77
BLS deserializing 100000 signatures 7.9380 s/op 9.9880 s/op 0.79
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.1600 ms/op 1.5044 ms/op 0.77
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.2977 ms/op 1.8499 ms/op 0.70
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.0094 ms/op 2.7286 ms/op 0.74
BLS verifyMultipleSignatures - same message - 64 - blst-native 2.9571 ms/op 3.9314 ms/op 0.75
BLS verifyMultipleSignatures - same message - 128 - blst-native 4.9566 ms/op 6.8814 ms/op 0.72
BLS aggregatePubkeys 32 - blst-native 22.279 us/op 29.276 us/op 0.76
BLS aggregatePubkeys 128 - blst-native 88.211 us/op 109.98 us/op 0.80
getAttestationsForBlock 24.657 ms/op 62.162 ms/op 0.40
isKnown best case - 1 super set check 208.00 ns/op 646.00 ns/op 0.32
isKnown normal case - 2 super set checks 209.00 ns/op 725.00 ns/op 0.29
isKnown worse case - 16 super set checks 210.00 ns/op 688.00 ns/op 0.31
CheckpointStateCache - add get delete 3.5920 us/op 6.6580 us/op 0.54
validate api signedAggregateAndProof - struct 2.4111 ms/op 4.1758 ms/op 0.58
validate gossip signedAggregateAndProof - struct 2.4343 ms/op 3.4621 ms/op 0.70
validate gossip attestation - vc 640000 1.1459 ms/op 1.5896 ms/op 0.72
batch validate gossip attestation - vc 640000 - chunk 32 137.02 us/op 194.61 us/op 0.70
batch validate gossip attestation - vc 640000 - chunk 64 121.47 us/op 176.96 us/op 0.69
batch validate gossip attestation - vc 640000 - chunk 128 117.87 us/op 161.19 us/op 0.73
batch validate gossip attestation - vc 640000 - chunk 256 111.18 us/op 154.45 us/op 0.72
pickEth1Vote - no votes 870.88 us/op 1.5244 ms/op 0.57
pickEth1Vote - max votes 6.4352 ms/op 13.759 ms/op 0.47
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.510 ms/op 21.495 ms/op 0.58
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 15.627 ms/op 34.472 ms/op 0.45
pickEth1Vote - Eth1Data fastSerialize value x2048 391.98 us/op 752.52 us/op 0.52
pickEth1Vote - Eth1Data fastSerialize tree x2048 3.0894 ms/op 5.7302 ms/op 0.54
bytes32 toHexString 330.00 ns/op 665.00 ns/op 0.50
bytes32 Buffer.toString(hex) 197.00 ns/op 333.00 ns/op 0.59
bytes32 Buffer.toString(hex) from Uint8Array 301.00 ns/op 537.00 ns/op 0.56
bytes32 Buffer.toString(hex) + 0x 201.00 ns/op 335.00 ns/op 0.60
Object access 1 prop 0.10400 ns/op 0.25800 ns/op 0.40
Map access 1 prop 0.10100 ns/op 0.17700 ns/op 0.57
Object get x1000 5.1920 ns/op 8.7450 ns/op 0.59
Map get x1000 0.43700 ns/op 0.71400 ns/op 0.61
Object set x1000 23.922 ns/op 70.256 ns/op 0.34
Map set x1000 16.352 ns/op 54.571 ns/op 0.30
Return object 10000 times 0.22480 ns/op 0.28460 ns/op 0.79
Throw Error 10000 times 2.7396 us/op 4.1327 us/op 0.66
fastMsgIdFn sha256 / 200 bytes 1.8590 us/op 3.6030 us/op 0.52
fastMsgIdFn h32 xxhash / 200 bytes 195.00 ns/op 340.00 ns/op 0.57
fastMsgIdFn h64 xxhash / 200 bytes 222.00 ns/op 415.00 ns/op 0.53
fastMsgIdFn sha256 / 1000 bytes 5.9800 us/op 13.625 us/op 0.44
fastMsgIdFn h32 xxhash / 1000 bytes 315.00 ns/op 467.00 ns/op 0.67
fastMsgIdFn h64 xxhash / 1000 bytes 296.00 ns/op 471.00 ns/op 0.63
fastMsgIdFn sha256 / 10000 bytes 53.468 us/op 109.38 us/op 0.49
fastMsgIdFn h32 xxhash / 10000 bytes 1.6830 us/op 2.0640 us/op 0.82
fastMsgIdFn h64 xxhash / 10000 bytes 1.0960 us/op 1.4660 us/op 0.75
send data - 1000 256B messages 10.898 ms/op 21.751 ms/op 0.50
send data - 1000 512B messages 15.109 ms/op 30.001 ms/op 0.50
send data - 1000 1024B messages 22.134 ms/op 47.554 ms/op 0.47
send data - 1000 1200B messages 19.489 ms/op 43.024 ms/op 0.45
send data - 1000 2048B messages 23.428 ms/op 41.288 ms/op 0.57
send data - 1000 4096B messages 22.237 ms/op 46.616 ms/op 0.48
send data - 1000 16384B messages 49.280 ms/op 91.717 ms/op 0.54
send data - 1000 65536B messages 228.77 ms/op 322.35 ms/op 0.71
enrSubnets - fastDeserialize 64 bits 783.00 ns/op 1.4200 us/op 0.55
enrSubnets - ssz BitVector 64 bits 300.00 ns/op 530.00 ns/op 0.57
enrSubnets - fastDeserialize 4 bits 113.00 ns/op 215.00 ns/op 0.53
enrSubnets - ssz BitVector 4 bits 299.00 ns/op 529.00 ns/op 0.57
prioritizePeers score -10:0 att 32-0.1 sync 2-0 64.439 us/op 113.56 us/op 0.57
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 84.887 us/op 143.04 us/op 0.59
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 103.06 us/op 204.70 us/op 0.50
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 176.91 us/op 350.43 us/op 0.50
prioritizePeers score 0:0 att 64-1 sync 4-1 200.83 us/op 404.65 us/op 0.50
array of 16000 items push then shift 1.3412 us/op 1.7937 us/op 0.75
LinkedList of 16000 items push then shift 5.8710 ns/op 9.9580 ns/op 0.59
array of 16000 items push then pop 64.456 ns/op 113.80 ns/op 0.57
LinkedList of 16000 items push then pop 5.5980 ns/op 9.9590 ns/op 0.56
array of 24000 items push then shift 1.9154 us/op 2.6708 us/op 0.72
LinkedList of 24000 items push then shift 5.8800 ns/op 10.096 ns/op 0.58
array of 24000 items push then pop 82.992 ns/op 169.02 ns/op 0.49
LinkedList of 24000 items push then pop 5.6100 ns/op 10.122 ns/op 0.55
intersect bitArray bitLen 8 5.2980 ns/op 7.3770 ns/op 0.72
intersect array and set length 8 40.368 ns/op 75.992 ns/op 0.53
intersect bitArray bitLen 128 26.001 ns/op 38.877 ns/op 0.67
intersect array and set length 128 572.49 ns/op 982.24 ns/op 0.58
bitArray.getTrueBitIndexes() bitLen 128 1.0050 us/op 1.8620 us/op 0.54
bitArray.getTrueBitIndexes() bitLen 248 1.7230 us/op 3.3180 us/op 0.52
bitArray.getTrueBitIndexes() bitLen 512 3.2530 us/op 6.7420 us/op 0.48
Buffer.concat 32 items 701.00 ns/op 1.1300 us/op 0.62
Uint8Array.set 32 items 1.2530 us/op 2.4490 us/op 0.51
Set add up to 64 items then delete first 1.6866 us/op 5.1750 us/op 0.33
OrderedSet add up to 64 items then delete first 2.6111 us/op 7.2951 us/op 0.36
Set add up to 64 items then delete last 1.9423 us/op 5.6227 us/op 0.35
OrderedSet add up to 64 items then delete last 2.8735 us/op 7.5673 us/op 0.38
Set add up to 64 items then delete middle 1.9168 us/op 5.6080 us/op 0.34
OrderedSet add up to 64 items then delete middle 4.1391 us/op 8.9775 us/op 0.46
Set add up to 128 items then delete first 3.7770 us/op 11.339 us/op 0.33
OrderedSet add up to 128 items then delete first 5.9281 us/op 14.127 us/op 0.42
Set add up to 128 items then delete last 3.6242 us/op 11.035 us/op 0.33
OrderedSet add up to 128 items then delete last 5.4645 us/op 14.714 us/op 0.37
Set add up to 128 items then delete middle 3.6217 us/op 11.294 us/op 0.32
OrderedSet add up to 128 items then delete middle 10.446 us/op 20.249 us/op 0.52
Set add up to 256 items then delete first 7.3956 us/op 21.957 us/op 0.34
OrderedSet add up to 256 items then delete first 11.883 us/op 30.647 us/op 0.39
Set add up to 256 items then delete last 7.2056 us/op 21.929 us/op 0.33
OrderedSet add up to 256 items then delete last 10.872 us/op 30.038 us/op 0.36
Set add up to 256 items then delete middle 7.1013 us/op 22.199 us/op 0.32
OrderedSet add up to 256 items then delete middle 30.878 us/op 57.692 us/op 0.54
transfer serialized Status (84 B) 1.2500 us/op 2.1550 us/op 0.58
copy serialized Status (84 B) 1.0690 us/op 1.7970 us/op 0.59
transfer serialized SignedVoluntaryExit (112 B) 1.3460 us/op 2.0250 us/op 0.66
copy serialized SignedVoluntaryExit (112 B) 1.0970 us/op 1.6610 us/op 0.66
transfer serialized ProposerSlashing (416 B) 1.4260 us/op 2.2900 us/op 0.62
copy serialized ProposerSlashing (416 B) 1.4100 us/op 2.4050 us/op 0.59
transfer serialized Attestation (485 B) 1.4870 us/op 2.5090 us/op 0.59
copy serialized Attestation (485 B) 1.4520 us/op 2.9890 us/op 0.49
transfer serialized AttesterSlashing (33232 B) 2.2730 us/op 2.5430 us/op 0.89
copy serialized AttesterSlashing (33232 B) 4.1780 us/op 8.2390 us/op 0.51
transfer serialized Small SignedBeaconBlock (128000 B) 2.2890 us/op 3.4890 us/op 0.66
copy serialized Small SignedBeaconBlock (128000 B) 9.7170 us/op 24.145 us/op 0.40
transfer serialized Avg SignedBeaconBlock (200000 B) 2.1280 us/op 3.6250 us/op 0.59
copy serialized Avg SignedBeaconBlock (200000 B) 11.704 us/op 41.011 us/op 0.29
transfer serialized BlobsSidecar (524380 B) 2.7210 us/op 3.9210 us/op 0.69
copy serialized BlobsSidecar (524380 B) 69.326 us/op 130.38 us/op 0.53
transfer serialized Big SignedBeaconBlock (1000000 B) 2.7460 us/op 4.4390 us/op 0.62
copy serialized Big SignedBeaconBlock (1000000 B) 134.70 us/op 213.09 us/op 0.63
pass gossip attestations to forkchoice per slot 2.7005 ms/op 4.2029 ms/op 0.64
forkChoice updateHead vc 100000 bc 64 eq 0 475.97 us/op 754.92 us/op 0.63
forkChoice updateHead vc 600000 bc 64 eq 0 3.7225 ms/op 7.0627 ms/op 0.53
forkChoice updateHead vc 1000000 bc 64 eq 0 4.8419 ms/op 8.6591 ms/op 0.56
forkChoice updateHead vc 600000 bc 320 eq 0 2.6765 ms/op 4.7324 ms/op 0.57
forkChoice updateHead vc 600000 bc 1200 eq 0 2.7920 ms/op 5.5739 ms/op 0.50
forkChoice updateHead vc 600000 bc 7200 eq 0 3.2549 ms/op 7.2751 ms/op 0.45
forkChoice updateHead vc 600000 bc 64 eq 1000 9.9584 ms/op 14.963 ms/op 0.67
forkChoice updateHead vc 600000 bc 64 eq 10000 10.090 ms/op 15.623 ms/op 0.65
forkChoice updateHead vc 600000 bc 64 eq 300000 13.844 ms/op 29.506 ms/op 0.47
computeDeltas 500000 validators 300 proto nodes 3.1032 ms/op 7.1305 ms/op 0.44
computeDeltas 500000 validators 1200 proto nodes 3.1078 ms/op 6.8235 ms/op 0.46
computeDeltas 500000 validators 7200 proto nodes 3.1319 ms/op 6.5971 ms/op 0.47
computeDeltas 750000 validators 300 proto nodes 4.7435 ms/op 10.177 ms/op 0.47
computeDeltas 750000 validators 1200 proto nodes 4.6606 ms/op 10.734 ms/op 0.43
computeDeltas 750000 validators 7200 proto nodes 4.6576 ms/op 10.853 ms/op 0.43
computeDeltas 1400000 validators 300 proto nodes 8.2783 ms/op 19.785 ms/op 0.42
computeDeltas 1400000 validators 1200 proto nodes 8.5646 ms/op 19.562 ms/op 0.44
computeDeltas 1400000 validators 7200 proto nodes 8.4300 ms/op 19.630 ms/op 0.43
computeDeltas 2100000 validators 300 proto nodes 13.104 ms/op 30.498 ms/op 0.43
computeDeltas 2100000 validators 1200 proto nodes 12.872 ms/op 29.296 ms/op 0.44
computeDeltas 2100000 validators 7200 proto nodes 12.931 ms/op 27.860 ms/op 0.46
computeProposerBoostScoreFromBalances 500000 validators 2.7355 ms/op 3.5776 ms/op 0.76
computeProposerBoostScoreFromBalances 750000 validators 2.7159 ms/op 4.0576 ms/op 0.67
computeProposerBoostScoreFromBalances 1400000 validators 2.7117 ms/op 4.0266 ms/op 0.67
computeProposerBoostScoreFromBalances 2100000 validators 2.7527 ms/op 3.7501 ms/op 0.73
altair processAttestation - 250000 vs - 7PWei normalcase 2.0012 ms/op 4.5459 ms/op 0.44
altair processAttestation - 250000 vs - 7PWei worstcase 2.5880 ms/op 5.3913 ms/op 0.48
altair processAttestation - setStatus - 1/6 committees join 107.23 us/op 212.08 us/op 0.51
altair processAttestation - setStatus - 1/3 committees join 201.38 us/op 392.74 us/op 0.51
altair processAttestation - setStatus - 1/2 committees join 298.25 us/op 531.06 us/op 0.56
altair processAttestation - setStatus - 2/3 committees join 369.44 us/op 683.12 us/op 0.54
altair processAttestation - setStatus - 4/5 committees join 509.40 us/op 883.96 us/op 0.58
altair processAttestation - setStatus - 100% committees join 588.63 us/op 1.0927 ms/op 0.54
altair processBlock - 250000 vs - 7PWei normalcase 7.7138 ms/op 13.348 ms/op 0.58
altair processBlock - 250000 vs - 7PWei normalcase hashState 27.956 ms/op 38.934 ms/op 0.72
altair processBlock - 250000 vs - 7PWei worstcase 32.486 ms/op 46.097 ms/op 0.70
altair processBlock - 250000 vs - 7PWei worstcase hashState 82.442 ms/op 99.852 ms/op 0.83
phase0 processBlock - 250000 vs - 7PWei normalcase 2.3322 ms/op 3.6707 ms/op 0.64
phase0 processBlock - 250000 vs - 7PWei worstcase 26.352 ms/op 38.908 ms/op 0.68
altair processEth1Data - 250000 vs - 7PWei normalcase 311.66 us/op 712.05 us/op 0.44
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 3.3350 us/op 16.051 us/op 0.21
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 38.653 us/op 99.127 us/op 0.39
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.346 us/op 26.713 us/op 0.42
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 3.5230 us/op 22.144 us/op 0.16
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 77.313 us/op 174.12 us/op 0.44
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 652.56 us/op 1.6588 ms/op 0.39
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 872.56 us/op 2.4364 ms/op 0.36
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 899.50 us/op 2.0146 ms/op 0.45
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.5125 ms/op 4.6262 ms/op 0.54
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.4270 ms/op 2.9238 ms/op 0.49
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.7374 ms/op 7.5654 ms/op 0.49
Tree 40 250000 create 233.01 ms/op 409.68 ms/op 0.57
Tree 40 250000 get(125000) 109.26 ns/op 212.58 ns/op 0.51
Tree 40 250000 set(125000) 722.11 ns/op 961.78 ns/op 0.75
Tree 40 250000 toArray() 19.032 ms/op 21.569 ms/op 0.88
Tree 40 250000 iterate all - toArray() + loop 18.936 ms/op 21.933 ms/op 0.86
Tree 40 250000 iterate all - get(i) 43.117 ms/op 75.015 ms/op 0.57
MutableVector 250000 create 8.7394 ms/op 14.053 ms/op 0.62
MutableVector 250000 get(125000) 5.4250 ns/op 6.7510 ns/op 0.80
MutableVector 250000 set(125000) 182.84 ns/op 290.83 ns/op 0.63
MutableVector 250000 toArray() 2.9831 ms/op 4.0221 ms/op 0.74
MutableVector 250000 iterate all - toArray() + loop 2.9042 ms/op 3.6098 ms/op 0.80
MutableVector 250000 iterate all - get(i) 1.2882 ms/op 1.5954 ms/op 0.81
Array 250000 create 1.9976 ms/op 2.6882 ms/op 0.74
Array 250000 clone - spread 981.91 us/op 1.0158 ms/op 0.97
Array 250000 get(125000) 0.48300 ns/op 0.48600 ns/op 0.99
Array 250000 set(125000) 0.55300 ns/op 0.56800 ns/op 0.97
Array 250000 iterate all - loop 80.344 us/op 83.378 us/op 0.96
effectiveBalanceIncrements clone Uint8Array 300000 12.341 us/op 20.434 us/op 0.60
effectiveBalanceIncrements clone MutableVector 300000 272.00 ns/op 255.00 ns/op 1.07
effectiveBalanceIncrements rw all Uint8Array 300000 168.98 us/op 180.85 us/op 0.93
effectiveBalanceIncrements rw all MutableVector 300000 64.793 ms/op 75.690 ms/op 0.86
phase0 afterProcessEpoch - 250000 vs - 7PWei 77.338 ms/op 115.74 ms/op 0.67
phase0 beforeProcessEpoch - 250000 vs - 7PWei 29.524 ms/op 38.673 ms/op 0.76
altair processEpoch - mainnet_e81889 342.12 ms/op 455.46 ms/op 0.75
mainnet_e81889 - altair beforeProcessEpoch 44.335 ms/op 60.555 ms/op 0.73
mainnet_e81889 - altair processJustificationAndFinalization 6.5260 us/op 15.175 us/op 0.43
mainnet_e81889 - altair processInactivityUpdates 3.7564 ms/op 6.1707 ms/op 0.61
mainnet_e81889 - altair processRewardsAndPenalties 48.305 ms/op 49.282 ms/op 0.98
mainnet_e81889 - altair processRegistryUpdates 1.1190 us/op 2.6560 us/op 0.42
mainnet_e81889 - altair processSlashings 193.00 ns/op 450.00 ns/op 0.43
mainnet_e81889 - altair processEth1DataReset 187.00 ns/op 560.00 ns/op 0.33
mainnet_e81889 - altair processEffectiveBalanceUpdates 907.59 us/op 1.2772 ms/op 0.71
mainnet_e81889 - altair processSlashingsReset 2.3100 us/op 3.4480 us/op 0.67
mainnet_e81889 - altair processRandaoMixesReset 4.6310 us/op 6.2910 us/op 0.74
mainnet_e81889 - altair processHistoricalRootsUpdate 375.00 ns/op 843.00 ns/op 0.44
mainnet_e81889 - altair processParticipationFlagUpdates 787.00 ns/op 1.6740 us/op 0.47
mainnet_e81889 - altair processSyncCommitteeUpdates 323.00 ns/op 695.00 ns/op 0.46
mainnet_e81889 - altair afterProcessEpoch 84.988 ms/op 129.40 ms/op 0.66
capella processEpoch - mainnet_e217614 1.1777 s/op 1.5271 s/op 0.77
mainnet_e217614 - capella beforeProcessEpoch 196.45 ms/op 269.62 ms/op 0.73
mainnet_e217614 - capella processJustificationAndFinalization 6.1760 us/op 16.609 us/op 0.37
mainnet_e217614 - capella processInactivityUpdates 12.356 ms/op 18.832 ms/op 0.66
mainnet_e217614 - capella processRewardsAndPenalties 246.77 ms/op 317.34 ms/op 0.78
mainnet_e217614 - capella processRegistryUpdates 11.834 us/op 26.355 us/op 0.45
mainnet_e217614 - capella processSlashings 207.00 ns/op 608.00 ns/op 0.34
mainnet_e217614 - capella processEth1DataReset 202.00 ns/op 665.00 ns/op 0.30
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.1809 ms/op 4.2818 ms/op 0.74
mainnet_e217614 - capella processSlashingsReset 1.1850 us/op 3.4260 us/op 0.35
mainnet_e217614 - capella processRandaoMixesReset 2.1080 us/op 6.1230 us/op 0.34
mainnet_e217614 - capella processHistoricalRootsUpdate 307.00 ns/op 642.00 ns/op 0.48
mainnet_e217614 - capella processParticipationFlagUpdates 1.9090 us/op 2.3710 us/op 0.81
mainnet_e217614 - capella afterProcessEpoch 219.98 ms/op 312.34 ms/op 0.70
phase0 processEpoch - mainnet_e58758 349.12 ms/op 460.20 ms/op 0.76
mainnet_e58758 - phase0 beforeProcessEpoch 95.445 ms/op 116.81 ms/op 0.82
mainnet_e58758 - phase0 processJustificationAndFinalization 7.4860 us/op 18.265 us/op 0.41
mainnet_e58758 - phase0 processRewardsAndPenalties 46.054 ms/op 55.473 ms/op 0.83
mainnet_e58758 - phase0 processRegistryUpdates 6.5700 us/op 12.308 us/op 0.53
mainnet_e58758 - phase0 processSlashings 325.00 ns/op 498.00 ns/op 0.65
mainnet_e58758 - phase0 processEth1DataReset 244.00 ns/op 481.00 ns/op 0.51
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 800.50 us/op 1.0523 ms/op 0.76
mainnet_e58758 - phase0 processSlashingsReset 1.4960 us/op 2.5330 us/op 0.59
mainnet_e58758 - phase0 processRandaoMixesReset 2.1480 us/op 6.4540 us/op 0.33
mainnet_e58758 - phase0 processHistoricalRootsUpdate 238.00 ns/op 621.00 ns/op 0.38
mainnet_e58758 - phase0 processParticipationRecordUpdates 2.4910 us/op 3.8630 us/op 0.64
mainnet_e58758 - phase0 afterProcessEpoch 70.643 ms/op 106.93 ms/op 0.66
phase0 processEffectiveBalanceUpdates - 250000 normalcase 944.97 us/op 1.9464 ms/op 0.49
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.2039 ms/op 1.5249 ms/op 0.79
altair processInactivityUpdates - 250000 normalcase 20.838 ms/op 19.051 ms/op 1.09
altair processInactivityUpdates - 250000 worstcase 15.178 ms/op 19.571 ms/op 0.78
phase0 processRegistryUpdates - 250000 normalcase 4.6920 us/op 8.4770 us/op 0.55
phase0 processRegistryUpdates - 250000 badcase_full_deposits 224.63 us/op 406.76 us/op 0.55
phase0 processRegistryUpdates - 250000 worstcase 0.5 113.34 ms/op 128.20 ms/op 0.88
altair processRewardsAndPenalties - 250000 normalcase 63.313 ms/op 59.826 ms/op 1.06
altair processRewardsAndPenalties - 250000 worstcase 58.820 ms/op 60.167 ms/op 0.98
phase0 getAttestationDeltas - 250000 normalcase 6.7936 ms/op 9.0275 ms/op 0.75
phase0 getAttestationDeltas - 250000 worstcase 5.7720 ms/op 8.6461 ms/op 0.67
phase0 processSlashings - 250000 worstcase 1.5438 ms/op 2.3443 ms/op 0.66
altair processSyncCommitteeUpdates - 250000 113.08 ms/op 162.83 ms/op 0.69
BeaconState.hashTreeRoot - No change 219.00 ns/op 324.00 ns/op 0.68
BeaconState.hashTreeRoot - 1 full validator 128.53 us/op 159.99 us/op 0.80
BeaconState.hashTreeRoot - 32 full validator 1.4231 ms/op 1.5499 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 13.335 ms/op 20.213 ms/op 0.66
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 137.28 us/op 210.53 us/op 0.65
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.7705 ms/op 2.7667 ms/op 0.64
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 23.648 ms/op 34.597 ms/op 0.68
BeaconState.hashTreeRoot - 1 balances 99.544 us/op 141.68 us/op 0.70
BeaconState.hashTreeRoot - 32 balances 1.2971 ms/op 1.3419 ms/op 0.97
BeaconState.hashTreeRoot - 512 balances 9.7757 ms/op 11.549 ms/op 0.85
BeaconState.hashTreeRoot - 250000 balances 155.89 ms/op 251.48 ms/op 0.62
aggregationBits - 2048 els - zipIndexesInBitList 8.6640 us/op 21.311 us/op 0.41
regular array get 100000 times 31.266 us/op 45.915 us/op 0.68
wrappedArray get 100000 times 31.331 us/op 49.081 us/op 0.64
arrayWithProxy get 100000 times 10.519 ms/op 15.216 ms/op 0.69
ssz.Root.equals 155.00 ns/op 260.00 ns/op 0.60
byteArrayEquals 144.00 ns/op 238.00 ns/op 0.61
shuffle list - 16384 els 4.7726 ms/op 7.9405 ms/op 0.60
shuffle list - 250000 els 70.056 ms/op 106.29 ms/op 0.66
processSlot - 1 slots 12.746 us/op 16.886 us/op 0.75
processSlot - 32 slots 3.3206 ms/op 3.2862 ms/op 1.01
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 46.874 ms/op 54.991 ms/op 0.85
getCommitteeAssignments - req 1 vs - 250000 vc 2.3180 ms/op 2.5900 ms/op 0.89
getCommitteeAssignments - req 100 vs - 250000 vc 3.4538 ms/op 3.8022 ms/op 0.91
getCommitteeAssignments - req 1000 vs - 250000 vc 3.8054 ms/op 4.1011 ms/op 0.93
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.8200 ns/op 4.6100 ns/op 0.83
state getBlockRootAtSlot - 250000 vs - 7PWei 468.10 ns/op 666.24 ns/op 0.70
computeProposers - vc 250000 6.3468 ms/op 9.7646 ms/op 0.65
computeEpochShuffling - vc 250000 73.958 ms/op 110.03 ms/op 0.67
getNextSyncCommittee - vc 250000 109.29 ms/op 159.65 ms/op 0.68
computeSigningRoot for AttestationData 26.970 us/op 33.416 us/op 0.81
hash AttestationData serialized data then Buffer.toString(base64) 1.2990 us/op 2.4187 us/op 0.54
toHexString serialized data 857.89 ns/op 1.1190 us/op 0.77
Buffer.toString(base64) 145.42 ns/op 241.10 ns/op 0.60

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.

3 participants