Skip to content

Commit

Permalink
docs: add crawler verification (#6234)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkeil authored Jan 2, 2024
1 parent 051b249 commit 42baaeb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/google0c42298b7ec08b7e.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-site-verification: google0c42298b7ec08b7e.html

1 comment on commit 42baaeb

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for some benchmarks.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold.

Benchmark suite Current: 42baaeb Previous: c86a669 Ratio
forkChoice updateHead vc 600000 bc 64 eq 300000 54.009 ms/op 15.650 ms/op 3.45
Full benchmark results
Benchmark suite Current: 42baaeb Previous: c86a669 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 621.39 us/op 1.0013 ms/op 0.62
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 133.45 us/op 80.514 us/op 1.66
BLS verify - blst-native 1.4017 ms/op 1.2720 ms/op 1.10
BLS verifyMultipleSignatures 3 - blst-native 2.8881 ms/op 2.7043 ms/op 1.07
BLS verifyMultipleSignatures 8 - blst-native 6.4981 ms/op 5.9309 ms/op 1.10
BLS verifyMultipleSignatures 32 - blst-native 23.909 ms/op 21.395 ms/op 1.12
BLS verifyMultipleSignatures 64 - blst-native 46.719 ms/op 42.765 ms/op 1.09
BLS verifyMultipleSignatures 128 - blst-native 90.315 ms/op 84.775 ms/op 1.07
BLS deserializing 10000 signatures 985.84 ms/op 921.04 ms/op 1.07
BLS deserializing 100000 signatures 9.3542 s/op 9.2817 s/op 1.01
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3617 ms/op 1.2832 ms/op 1.06
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.5273 ms/op 1.5048 ms/op 1.01
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.3318 ms/op 2.3138 ms/op 1.01
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.4978 ms/op 4.5690 ms/op 0.77
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.7421 ms/op 7.4194 ms/op 0.77
BLS aggregatePubkeys 32 - blst-native 26.314 us/op 26.821 us/op 0.98
BLS aggregatePubkeys 128 - blst-native 103.48 us/op 97.923 us/op 1.06
getAttestationsForBlock 57.862 ms/op 48.881 ms/op 1.18
getSlashingsAndExits - default max 228.47 us/op 147.63 us/op 1.55
getSlashingsAndExits - 2k 414.74 us/op 321.29 us/op 1.29
proposeBlockBody type=full, size=empty 5.6356 ms/op 5.5346 ms/op 1.02
isKnown best case - 1 super set check 346.00 ns/op 307.00 ns/op 1.13
isKnown normal case - 2 super set checks 324.00 ns/op 294.00 ns/op 1.10
isKnown worse case - 16 super set checks 318.00 ns/op 293.00 ns/op 1.09
CheckpointStateCache - add get delete 5.2830 us/op 5.0300 us/op 1.05
validate api signedAggregateAndProof - struct 2.7978 ms/op 2.7618 ms/op 1.01
validate gossip signedAggregateAndProof - struct 2.8096 ms/op 2.7656 ms/op 1.02
validate gossip attestation - vc 640000 1.3856 ms/op 1.3607 ms/op 1.02
batch validate gossip attestation - vc 640000 - chunk 32 173.60 us/op 159.98 us/op 1.09
batch validate gossip attestation - vc 640000 - chunk 64 159.87 us/op 141.31 us/op 1.13
batch validate gossip attestation - vc 640000 - chunk 128 156.00 us/op 137.66 us/op 1.13
batch validate gossip attestation - vc 640000 - chunk 256 151.28 us/op 131.04 us/op 1.15
pickEth1Vote - no votes 1.4776 ms/op 1.2689 ms/op 1.16
pickEth1Vote - max votes 15.932 ms/op 11.684 ms/op 1.36
pickEth1Vote - Eth1Data hashTreeRoot value x2048 26.395 ms/op 25.325 ms/op 1.04
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 34.638 ms/op 29.666 ms/op 1.17
pickEth1Vote - Eth1Data fastSerialize value x2048 870.53 us/op 606.14 us/op 1.44
pickEth1Vote - Eth1Data fastSerialize tree x2048 10.171 ms/op 5.4716 ms/op 1.86
bytes32 toHexString 942.00 ns/op 501.00 ns/op 1.88
bytes32 Buffer.toString(hex) 333.00 ns/op 290.00 ns/op 1.15
bytes32 Buffer.toString(hex) from Uint8Array 681.00 ns/op 414.00 ns/op 1.64
bytes32 Buffer.toString(hex) + 0x 344.00 ns/op 287.00 ns/op 1.20
Object access 1 prop 0.24800 ns/op 0.15100 ns/op 1.64
Map access 1 prop 0.15900 ns/op 0.14000 ns/op 1.14
Object get x1000 8.7530 ns/op 7.1260 ns/op 1.23
Map get x1000 0.92300 ns/op 0.74800 ns/op 1.23
Object set x1000 88.626 ns/op 49.368 ns/op 1.80
Map set x1000 61.975 ns/op 38.755 ns/op 1.60
Return object 10000 times 0.30790 ns/op 0.23710 ns/op 1.30
Throw Error 10000 times 4.7938 us/op 3.9159 us/op 1.22
fastMsgIdFn sha256 / 200 bytes 3.8320 us/op 3.2960 us/op 1.16
fastMsgIdFn h32 xxhash / 200 bytes 423.00 ns/op 283.00 ns/op 1.49
fastMsgIdFn h64 xxhash / 200 bytes 432.00 ns/op 345.00 ns/op 1.25
fastMsgIdFn sha256 / 1000 bytes 12.103 us/op 11.364 us/op 1.07
fastMsgIdFn h32 xxhash / 1000 bytes 564.00 ns/op 398.00 ns/op 1.42
fastMsgIdFn h64 xxhash / 1000 bytes 536.00 ns/op 414.00 ns/op 1.29
fastMsgIdFn sha256 / 10000 bytes 113.23 us/op 103.71 us/op 1.09
fastMsgIdFn h32 xxhash / 10000 bytes 2.2230 us/op 1.9070 us/op 1.17
fastMsgIdFn h64 xxhash / 10000 bytes 1.5110 us/op 1.3020 us/op 1.16
send data - 1000 256B messages 25.012 ms/op 18.367 ms/op 1.36
send data - 1000 512B messages 42.697 ms/op 25.561 ms/op 1.67
send data - 1000 1024B messages 54.766 ms/op 41.218 ms/op 1.33
send data - 1000 1200B messages 52.126 ms/op 40.286 ms/op 1.29
send data - 1000 2048B messages 57.863 ms/op 48.757 ms/op 1.19
send data - 1000 4096B messages 52.355 ms/op 45.859 ms/op 1.14
send data - 1000 16384B messages 149.34 ms/op 116.91 ms/op 1.28
send data - 1000 65536B messages 541.15 ms/op 489.70 ms/op 1.11
enrSubnets - fastDeserialize 64 bits 1.8180 us/op 1.2630 us/op 1.44
enrSubnets - ssz BitVector 64 bits 587.00 ns/op 430.00 ns/op 1.37
enrSubnets - fastDeserialize 4 bits 250.00 ns/op 165.00 ns/op 1.52
enrSubnets - ssz BitVector 4 bits 528.00 ns/op 424.00 ns/op 1.25
prioritizePeers score -10:0 att 32-0.1 sync 2-0 121.02 us/op 113.09 us/op 1.07
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 154.05 us/op 138.79 us/op 1.11
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 255.06 us/op 193.77 us/op 1.32
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 412.85 us/op 321.20 us/op 1.29
prioritizePeers score 0:0 att 64-1 sync 4-1 393.19 us/op 379.12 us/op 1.04
array of 16000 items push then shift 1.7944 us/op 1.7024 us/op 1.05
LinkedList of 16000 items push then shift 12.025 ns/op 9.0170 ns/op 1.33
array of 16000 items push then pop 159.28 ns/op 75.478 ns/op 2.11
LinkedList of 16000 items push then pop 10.486 ns/op 8.6940 ns/op 1.21
array of 24000 items push then shift 2.5510 us/op 2.4177 us/op 1.06
LinkedList of 24000 items push then shift 11.740 ns/op 8.8080 ns/op 1.33
array of 24000 items push then pop 202.80 ns/op 95.438 ns/op 2.12
LinkedList of 24000 items push then pop 9.8600 ns/op 9.5560 ns/op 1.03
intersect bitArray bitLen 8 6.8860 ns/op 6.6200 ns/op 1.04
intersect array and set length 8 109.89 ns/op 63.335 ns/op 1.74
intersect bitArray bitLen 128 36.540 ns/op 34.205 ns/op 1.07
intersect array and set length 128 1.3405 us/op 863.59 ns/op 1.55
bitArray.getTrueBitIndexes() bitLen 128 2.8180 us/op 1.4630 us/op 1.93
bitArray.getTrueBitIndexes() bitLen 248 4.1330 us/op 2.4430 us/op 1.69
bitArray.getTrueBitIndexes() bitLen 512 9.4590 us/op 4.8950 us/op 1.93
Buffer.concat 32 items 1.1920 us/op 976.00 ns/op 1.22
Uint8Array.set 32 items 2.7190 us/op 2.0480 us/op 1.33
Set add up to 64 items then delete first 5.6782 us/op 4.3196 us/op 1.31
OrderedSet add up to 64 items then delete first 7.7262 us/op 5.4544 us/op 1.42
Set add up to 64 items then delete last 5.8899 us/op 4.6678 us/op 1.26
OrderedSet add up to 64 items then delete last 8.3658 us/op 5.7938 us/op 1.44
Set add up to 64 items then delete middle 5.9426 us/op 4.6130 us/op 1.29
OrderedSet add up to 64 items then delete middle 9.6007 us/op 7.0664 us/op 1.36
Set add up to 128 items then delete first 12.150 us/op 9.3970 us/op 1.29
OrderedSet add up to 128 items then delete first 16.703 us/op 12.402 us/op 1.35
Set add up to 128 items then delete last 11.661 us/op 9.1226 us/op 1.28
OrderedSet add up to 128 items then delete last 16.845 us/op 11.654 us/op 1.45
Set add up to 128 items then delete middle 12.077 us/op 9.0634 us/op 1.33
OrderedSet add up to 128 items then delete middle 22.702 us/op 17.242 us/op 1.32
Set add up to 256 items then delete first 25.417 us/op 18.668 us/op 1.36
OrderedSet add up to 256 items then delete first 35.347 us/op 25.403 us/op 1.39
Set add up to 256 items then delete last 23.895 us/op 18.291 us/op 1.31
OrderedSet add up to 256 items then delete last 33.442 us/op 23.337 us/op 1.43
Set add up to 256 items then delete middle 24.162 us/op 18.107 us/op 1.33
OrderedSet add up to 256 items then delete middle 56.997 us/op 46.104 us/op 1.24
transfer serialized Status (84 B) 2.5330 us/op 1.8420 us/op 1.38
copy serialized Status (84 B) 2.0900 us/op 1.5550 us/op 1.34
transfer serialized SignedVoluntaryExit (112 B) 2.7690 us/op 2.0460 us/op 1.35
copy serialized SignedVoluntaryExit (112 B) 2.2150 us/op 1.7640 us/op 1.26
transfer serialized ProposerSlashing (416 B) 3.7010 us/op 2.8460 us/op 1.30
copy serialized ProposerSlashing (416 B) 3.0230 us/op 2.6060 us/op 1.16
transfer serialized Attestation (485 B) 3.7570 us/op 2.1850 us/op 1.72
copy serialized Attestation (485 B) 4.2160 us/op 2.6120 us/op 1.61
transfer serialized AttesterSlashing (33232 B) 4.3180 us/op 3.2390 us/op 1.33
copy serialized AttesterSlashing (33232 B) 14.373 us/op 6.8080 us/op 2.11
transfer serialized Small SignedBeaconBlock (128000 B) 4.8680 us/op 3.2250 us/op 1.51
copy serialized Small SignedBeaconBlock (128000 B) 33.981 us/op 15.118 us/op 2.25
transfer serialized Avg SignedBeaconBlock (200000 B) 5.3230 us/op 3.5540 us/op 1.50
copy serialized Avg SignedBeaconBlock (200000 B) 60.087 us/op 21.002 us/op 2.86
transfer serialized BlobsSidecar (524380 B) 5.6820 us/op 3.2490 us/op 1.75
copy serialized BlobsSidecar (524380 B) 196.67 us/op 85.162 us/op 2.31
transfer serialized Big SignedBeaconBlock (1000000 B) 7.6700 us/op 3.5460 us/op 2.16
copy serialized Big SignedBeaconBlock (1000000 B) 465.64 us/op 165.10 us/op 2.82
pass gossip attestations to forkchoice per slot 4.8253 ms/op 4.3066 ms/op 1.12
forkChoice updateHead vc 100000 bc 64 eq 0 732.87 us/op 753.28 us/op 0.97
forkChoice updateHead vc 600000 bc 64 eq 0 5.2078 ms/op 4.7464 ms/op 1.10
forkChoice updateHead vc 1000000 bc 64 eq 0 9.0718 ms/op 7.6895 ms/op 1.18
forkChoice updateHead vc 600000 bc 320 eq 0 4.9182 ms/op 4.2081 ms/op 1.17
forkChoice updateHead vc 600000 bc 1200 eq 0 5.4926 ms/op 4.2929 ms/op 1.28
forkChoice updateHead vc 600000 bc 7200 eq 0 7.5107 ms/op 5.4192 ms/op 1.39
forkChoice updateHead vc 600000 bc 64 eq 1000 12.098 ms/op 11.154 ms/op 1.08
forkChoice updateHead vc 600000 bc 64 eq 10000 14.995 ms/op 11.938 ms/op 1.26
forkChoice updateHead vc 600000 bc 64 eq 300000 54.009 ms/op 15.650 ms/op 3.45
computeDeltas 500000 validators 300 proto nodes 7.3314 ms/op 6.7802 ms/op 1.08
computeDeltas 500000 validators 1200 proto nodes 7.3972 ms/op 6.6605 ms/op 1.11
computeDeltas 500000 validators 7200 proto nodes 6.8952 ms/op 6.4679 ms/op 1.07
computeDeltas 750000 validators 300 proto nodes 9.9135 ms/op 9.8126 ms/op 1.01
computeDeltas 750000 validators 1200 proto nodes 10.173 ms/op 9.9022 ms/op 1.03
computeDeltas 750000 validators 7200 proto nodes 10.050 ms/op 10.092 ms/op 1.00
computeDeltas 1400000 validators 300 proto nodes 19.386 ms/op 18.873 ms/op 1.03
computeDeltas 1400000 validators 1200 proto nodes 19.364 ms/op 19.823 ms/op 0.98
computeDeltas 1400000 validators 7200 proto nodes 19.599 ms/op 19.947 ms/op 0.98
computeDeltas 2100000 validators 300 proto nodes 28.570 ms/op 29.383 ms/op 0.97
computeDeltas 2100000 validators 1200 proto nodes 29.309 ms/op 29.273 ms/op 1.00
computeDeltas 2100000 validators 7200 proto nodes 29.251 ms/op 29.582 ms/op 0.99
computeProposerBoostScoreFromBalances 500000 validators 3.8521 ms/op 3.8248 ms/op 1.01
computeProposerBoostScoreFromBalances 750000 validators 3.8009 ms/op 3.9294 ms/op 0.97
computeProposerBoostScoreFromBalances 1400000 validators 3.7863 ms/op 3.8013 ms/op 1.00
computeProposerBoostScoreFromBalances 2100000 validators 3.8821 ms/op 3.7712 ms/op 1.03
altair processAttestation - 250000 vs - 7PWei normalcase 3.5339 ms/op 2.2958 ms/op 1.54
altair processAttestation - 250000 vs - 7PWei worstcase 3.6096 ms/op 3.3763 ms/op 1.07
altair processAttestation - setStatus - 1/6 committees join 187.94 us/op 181.34 us/op 1.04
altair processAttestation - setStatus - 1/3 committees join 364.72 us/op 351.31 us/op 1.04
altair processAttestation - setStatus - 1/2 committees join 532.05 us/op 466.63 us/op 1.14
altair processAttestation - setStatus - 2/3 committees join 646.32 us/op 587.50 us/op 1.10
altair processAttestation - setStatus - 4/5 committees join 843.30 us/op 796.04 us/op 1.06
altair processAttestation - setStatus - 100% committees join 1.0479 ms/op 936.49 us/op 1.12
altair processBlock - 250000 vs - 7PWei normalcase 11.475 ms/op 11.077 ms/op 1.04
altair processBlock - 250000 vs - 7PWei normalcase hashState 42.873 ms/op 35.191 ms/op 1.22
altair processBlock - 250000 vs - 7PWei worstcase 42.720 ms/op 41.109 ms/op 1.04
altair processBlock - 250000 vs - 7PWei worstcase hashState 98.208 ms/op 93.941 ms/op 1.05
phase0 processBlock - 250000 vs - 7PWei normalcase 3.0760 ms/op 3.5141 ms/op 0.88
phase0 processBlock - 250000 vs - 7PWei worstcase 35.414 ms/op 34.296 ms/op 1.03
altair processEth1Data - 250000 vs - 7PWei normalcase 645.59 us/op 492.01 us/op 1.31
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 15.260 us/op 18.361 us/op 0.83
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 68.228 us/op 81.237 us/op 0.84
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 27.785 us/op 27.784 us/op 1.00
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 16.211 us/op 18.027 us/op 0.90
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 221.58 us/op 209.52 us/op 1.06
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.3844 ms/op 2.3670 ms/op 0.58
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.1431 ms/op 2.8323 ms/op 0.76
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.9322 ms/op 2.5983 ms/op 0.74
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.8144 ms/op 3.3465 ms/op 1.44
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.1101 ms/op 2.1000 ms/op 1.48
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 7.1908 ms/op 4.9051 ms/op 1.47
Tree 40 250000 create 635.00 ms/op 351.03 ms/op 1.81
Tree 40 250000 get(125000) 222.10 ns/op 196.44 ns/op 1.13
Tree 40 250000 set(125000) 1.0487 us/op 985.11 ns/op 1.06
Tree 40 250000 toArray() 23.642 ms/op 18.295 ms/op 1.29
Tree 40 250000 iterate all - toArray() + loop 21.750 ms/op 18.331 ms/op 1.19
Tree 40 250000 iterate all - get(i) 71.313 ms/op 65.472 ms/op 1.09
MutableVector 250000 create 12.161 ms/op 18.986 ms/op 0.64
MutableVector 250000 get(125000) 6.8090 ns/op 6.9130 ns/op 0.98
MutableVector 250000 set(125000) 386.81 ns/op 265.02 ns/op 1.46
MutableVector 250000 toArray() 4.2269 ms/op 3.1487 ms/op 1.34
MutableVector 250000 iterate all - toArray() + loop 4.3790 ms/op 3.3260 ms/op 1.32
MutableVector 250000 iterate all - get(i) 1.6082 ms/op 1.5715 ms/op 1.02
Array 250000 create 3.5898 ms/op 2.8531 ms/op 1.26
Array 250000 clone - spread 1.8366 ms/op 1.3348 ms/op 1.38
Array 250000 get(125000) 1.4130 ns/op 1.0830 ns/op 1.30
Array 250000 set(125000) 5.7910 ns/op 4.1320 ns/op 1.40
Array 250000 iterate all - loop 196.15 us/op 170.46 us/op 1.15
effectiveBalanceIncrements clone Uint8Array 300000 56.277 us/op 30.115 us/op 1.87
effectiveBalanceIncrements clone MutableVector 300000 266.00 ns/op 406.00 ns/op 0.66
effectiveBalanceIncrements rw all Uint8Array 300000 208.94 us/op 209.86 us/op 1.00
effectiveBalanceIncrements rw all MutableVector 300000 115.61 ms/op 86.125 ms/op 1.34
phase0 afterProcessEpoch - 250000 vs - 7PWei 120.49 ms/op 109.94 ms/op 1.10
phase0 beforeProcessEpoch - 250000 vs - 7PWei 58.870 ms/op 53.327 ms/op 1.10
altair processEpoch - mainnet_e81889 547.20 ms/op 568.63 ms/op 0.96
mainnet_e81889 - altair beforeProcessEpoch 99.299 ms/op 87.997 ms/op 1.13
mainnet_e81889 - altair processJustificationAndFinalization 21.077 us/op 23.904 us/op 0.88
mainnet_e81889 - altair processInactivityUpdates 6.7829 ms/op 6.1034 ms/op 1.11
mainnet_e81889 - altair processRewardsAndPenalties 72.178 ms/op 72.614 ms/op 0.99
mainnet_e81889 - altair processRegistryUpdates 4.9400 us/op 3.9300 us/op 1.26
mainnet_e81889 - altair processSlashings 720.00 ns/op 759.00 ns/op 0.95
mainnet_e81889 - altair processEth1DataReset 899.00 ns/op 800.00 ns/op 1.12
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6156 ms/op 2.6628 ms/op 0.61
mainnet_e81889 - altair processSlashingsReset 4.6790 us/op 6.1950 us/op 0.76
mainnet_e81889 - altair processRandaoMixesReset 6.2570 us/op 6.4500 us/op 0.97
mainnet_e81889 - altair processHistoricalRootsUpdate 1.2620 us/op 1.2290 us/op 1.03
mainnet_e81889 - altair processParticipationFlagUpdates 2.0840 us/op 2.4930 us/op 0.84
mainnet_e81889 - altair processSyncCommitteeUpdates 715.00 ns/op 660.00 ns/op 1.08
mainnet_e81889 - altair afterProcessEpoch 127.08 ms/op 118.04 ms/op 1.08
capella processEpoch - mainnet_e217614 2.4877 s/op 2.3809 s/op 1.04
mainnet_e217614 - capella beforeProcessEpoch 509.87 ms/op 493.95 ms/op 1.03
mainnet_e217614 - capella processJustificationAndFinalization 21.410 us/op 20.616 us/op 1.04
mainnet_e217614 - capella processInactivityUpdates 23.787 ms/op 21.273 ms/op 1.12
mainnet_e217614 - capella processRewardsAndPenalties 476.82 ms/op 498.27 ms/op 0.96
mainnet_e217614 - capella processRegistryUpdates 26.404 us/op 25.327 us/op 1.04
mainnet_e217614 - capella processSlashings 539.00 ns/op 981.00 ns/op 0.55
mainnet_e217614 - capella processEth1DataReset 474.00 ns/op 683.00 ns/op 0.69
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.0941 ms/op 4.6248 ms/op 1.10
mainnet_e217614 - capella processSlashingsReset 2.9320 us/op 4.6660 us/op 0.63
mainnet_e217614 - capella processRandaoMixesReset 4.4110 us/op 7.7560 us/op 0.57
mainnet_e217614 - capella processHistoricalRootsUpdate 673.00 ns/op 934.00 ns/op 0.72
mainnet_e217614 - capella processParticipationFlagUpdates 1.8630 us/op 2.4740 us/op 0.75
mainnet_e217614 - capella afterProcessEpoch 321.46 ms/op 333.78 ms/op 0.96
phase0 processEpoch - mainnet_e58758 512.25 ms/op 543.29 ms/op 0.94
mainnet_e58758 - phase0 beforeProcessEpoch 157.70 ms/op 170.34 ms/op 0.93
mainnet_e58758 - phase0 processJustificationAndFinalization 27.130 us/op 24.199 us/op 1.12
mainnet_e58758 - phase0 processRewardsAndPenalties 62.019 ms/op 52.534 ms/op 1.18
mainnet_e58758 - phase0 processRegistryUpdates 18.871 us/op 9.6780 us/op 1.95
mainnet_e58758 - phase0 processSlashings 1.0430 us/op 781.00 ns/op 1.34
mainnet_e58758 - phase0 processEth1DataReset 767.00 ns/op 687.00 ns/op 1.12
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.4391 ms/op 2.1331 ms/op 0.67
mainnet_e58758 - phase0 processSlashingsReset 4.1770 us/op 5.3280 us/op 0.78
mainnet_e58758 - phase0 processRandaoMixesReset 8.2770 us/op 6.7050 us/op 1.23
mainnet_e58758 - phase0 processHistoricalRootsUpdate 906.00 ns/op 778.00 ns/op 1.16
mainnet_e58758 - phase0 processParticipationRecordUpdates 8.0660 us/op 5.9960 us/op 1.35
mainnet_e58758 - phase0 afterProcessEpoch 101.31 ms/op 93.401 ms/op 1.08
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4777 ms/op 1.3284 ms/op 1.11
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.7393 ms/op 2.9375 ms/op 0.59
altair processInactivityUpdates - 250000 normalcase 27.679 ms/op 36.460 ms/op 0.76
altair processInactivityUpdates - 250000 worstcase 24.339 ms/op 33.445 ms/op 0.73
phase0 processRegistryUpdates - 250000 normalcase 13.787 us/op 15.777 us/op 0.87
phase0 processRegistryUpdates - 250000 badcase_full_deposits 431.43 us/op 625.89 us/op 0.69
phase0 processRegistryUpdates - 250000 worstcase 0.5 167.18 ms/op 150.53 ms/op 1.11
altair processRewardsAndPenalties - 250000 normalcase 64.789 ms/op 63.400 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 65.412 ms/op 69.216 ms/op 0.95
phase0 getAttestationDeltas - 250000 normalcase 13.073 ms/op 9.3928 ms/op 1.39
phase0 getAttestationDeltas - 250000 worstcase 12.832 ms/op 8.9028 ms/op 1.44
phase0 processSlashings - 250000 worstcase 123.69 us/op 130.97 us/op 0.94
altair processSyncCommitteeUpdates - 250000 190.53 ms/op 156.50 ms/op 1.22
BeaconState.hashTreeRoot - No change 319.00 ns/op 250.00 ns/op 1.28
BeaconState.hashTreeRoot - 1 full validator 193.75 us/op 175.10 us/op 1.11
BeaconState.hashTreeRoot - 32 full validator 1.6020 ms/op 1.8913 ms/op 0.85
BeaconState.hashTreeRoot - 512 full validator 17.121 ms/op 16.342 ms/op 1.05
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 200.19 us/op 198.81 us/op 1.01
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.5241 ms/op 2.3867 ms/op 1.06
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 30.857 ms/op 30.722 ms/op 1.00
BeaconState.hashTreeRoot - 1 balances 135.69 us/op 150.25 us/op 0.90
BeaconState.hashTreeRoot - 32 balances 1.3132 ms/op 1.5611 ms/op 0.84
BeaconState.hashTreeRoot - 512 balances 13.335 ms/op 12.152 ms/op 1.10
BeaconState.hashTreeRoot - 250000 balances 212.22 ms/op 232.71 ms/op 0.91
aggregationBits - 2048 els - zipIndexesInBitList 20.716 us/op 16.982 us/op 1.22
byteArrayEquals 32 84.064 ns/op 75.209 ns/op 1.12
Buffer.compare 32 60.109 ns/op 55.746 ns/op 1.08
byteArrayEquals 1024 2.1559 us/op 2.0593 us/op 1.05
Buffer.compare 1024 74.933 ns/op 73.164 ns/op 1.02
byteArrayEquals 16384 33.845 us/op 32.804 us/op 1.03
Buffer.compare 16384 285.21 ns/op 289.17 ns/op 0.99
byteArrayEquals 123687377 290.29 ms/op 249.78 ms/op 1.16
Buffer.compare 123687377 9.4306 ms/op 6.1100 ms/op 1.54
byteArrayEquals 32 - diff last byte 83.152 ns/op 75.191 ns/op 1.11
Buffer.compare 32 - diff last byte 63.098 ns/op 58.546 ns/op 1.08
byteArrayEquals 1024 - diff last byte 2.1836 us/op 2.1184 us/op 1.03
Buffer.compare 1024 - diff last byte 79.284 ns/op 72.315 ns/op 1.10
byteArrayEquals 16384 - diff last byte 37.136 us/op 33.848 us/op 1.10
Buffer.compare 16384 - diff last byte 307.70 ns/op 266.18 ns/op 1.16
byteArrayEquals 123687377 - diff last byte 263.78 ms/op 246.76 ms/op 1.07
Buffer.compare 123687377 - diff last byte 15.994 ms/op 6.1720 ms/op 2.59
byteArrayEquals 32 - random bytes 8.6190 ns/op 5.4020 ns/op 1.60
Buffer.compare 32 - random bytes 68.981 ns/op 61.061 ns/op 1.13
byteArrayEquals 1024 - random bytes 6.9090 ns/op 5.2750 ns/op 1.31
Buffer.compare 1024 - random bytes 68.008 ns/op 60.710 ns/op 1.12
byteArrayEquals 16384 - random bytes 7.0040 ns/op 5.2500 ns/op 1.33
Buffer.compare 16384 - random bytes 66.986 ns/op 60.235 ns/op 1.11
byteArrayEquals 123687377 - random bytes 15.170 ns/op 8.6900 ns/op 1.75
Buffer.compare 123687377 - random bytes 86.150 ns/op 64.040 ns/op 1.35
regular array get 100000 times 50.518 us/op 44.541 us/op 1.13
wrappedArray get 100000 times 51.000 us/op 44.555 us/op 1.14
arrayWithProxy get 100000 times 16.228 ms/op 14.154 ms/op 1.15
ssz.Root.equals 62.728 ns/op 54.070 ns/op 1.16
byteArrayEquals 57.309 ns/op 53.362 ns/op 1.07
Buffer.compare 13.144 ns/op 10.992 ns/op 1.20
shuffle list - 16384 els 7.4993 ms/op 7.1279 ms/op 1.05
shuffle list - 250000 els 110.06 ms/op 103.46 ms/op 1.06
processSlot - 1 slots 22.458 us/op 22.352 us/op 1.00
processSlot - 32 slots 4.5276 ms/op 4.3697 ms/op 1.04
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 76.088 ms/op 65.871 ms/op 1.16
getCommitteeAssignments - req 1 vs - 250000 vc 2.6446 ms/op 2.5690 ms/op 1.03
getCommitteeAssignments - req 100 vs - 250000 vc 3.9810 ms/op 3.7535 ms/op 1.06
getCommitteeAssignments - req 1000 vs - 250000 vc 4.4898 ms/op 4.1162 ms/op 1.09
findModifiedValidators - 10000 modified validators 741.02 ms/op 539.94 ms/op 1.37
findModifiedValidators - 1000 modified validators 616.97 ms/op 456.31 ms/op 1.35
findModifiedValidators - 100 modified validators 676.30 ms/op 444.99 ms/op 1.52
findModifiedValidators - 10 modified validators 680.20 ms/op 456.64 ms/op 1.49
findModifiedValidators - 1 modified validators 622.40 ms/op 433.24 ms/op 1.44
findModifiedValidators - no difference 519.99 ms/op 434.79 ms/op 1.20
compare ViewDUs 5.3687 s/op 5.0234 s/op 1.07
compare each validator Uint8Array 1.6576 s/op 1.7948 s/op 0.92
compare ViewDU to Uint8Array 1.2989 s/op 1.1384 s/op 1.14
migrate state 1000000 validators, 24 modified, 0 new 795.93 ms/op 910.84 ms/op 0.87
migrate state 1000000 validators, 1700 modified, 1000 new 1.0845 s/op 1.2245 s/op 0.89
migrate state 1000000 validators, 3400 modified, 2000 new 1.3458 s/op 1.4652 s/op 0.92
migrate state 1500000 validators, 24 modified, 0 new 794.61 ms/op 907.78 ms/op 0.88
migrate state 1500000 validators, 1700 modified, 1000 new 1.0686 s/op 1.2166 s/op 0.88
migrate state 1500000 validators, 3400 modified, 2000 new 1.3146 s/op 1.4677 s/op 0.90
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.1000 ns/op 4.3200 ns/op 0.95
state getBlockRootAtSlot - 250000 vs - 7PWei 828.64 ns/op 941.89 ns/op 0.88
computeProposers - vc 250000 9.1044 ms/op 9.5729 ms/op 0.95
computeEpochShuffling - vc 250000 100.89 ms/op 110.74 ms/op 0.91
getNextSyncCommittee - vc 250000 154.83 ms/op 154.57 ms/op 1.00
computeSigningRoot for AttestationData 26.774 us/op 27.009 us/op 0.99
hash AttestationData serialized data then Buffer.toString(base64) 2.3031 us/op 2.2850 us/op 1.01
toHexString serialized data 1.0436 us/op 1.0559 us/op 0.99
Buffer.toString(base64) 207.73 ns/op 232.39 ns/op 0.89

Please sign in to comment.