Skip to content

Commit

Permalink
chore(deps): bump nanoid from 3.3.7 to 3.3.8 in /docs (#7292)
Browse files Browse the repository at this point in the history
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](ai/nanoid@3.3.7...3.3.8)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jan 8, 2025
1 parent c9bb826 commit cb1c695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7089,9 +7089,9 @@ multicast-dns@^7.2.5:
thunky "^1.0.2"

nanoid@^3.3.7:
version "3.3.7"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.7.tgz#d0c301a691bc8d54efa0a2226ccf3fe2fd656bd8"
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
version "3.3.8"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.8.tgz#b1be3030bee36aaff18bacb375e5cce521684baf"
integrity sha512-WNLf5Sd8oZxOm+TzppcYk8gVOgP+l58xNy58D0nbUnOxOWRWvlcCV4kUF7ltmI6PsrLl/BgKEyS4mqsGChFN0w==

[email protected]:
version "0.6.3"
Expand Down

1 comment on commit cb1c695

@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: cb1c695 Previous: c9bb826 Ratio
Map access 1 prop 0.41700 ns/op 0.13500 ns/op 3.09

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: cb1c695 Previous: c9bb826 Ratio
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.2315 ms/op 4.0246 ms/op 0.31
Full benchmark results
Benchmark suite Current: cb1c695 Previous: c9bb826 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.6601 ms/op 1.6969 ms/op 0.98
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 39.860 us/op 47.307 us/op 0.84
BLS verify - blst 826.45 us/op 757.53 us/op 1.09
BLS verifyMultipleSignatures 3 - blst 1.3456 ms/op 1.1607 ms/op 1.16
BLS verifyMultipleSignatures 8 - blst 1.7238 ms/op 1.6154 ms/op 1.07
BLS verifyMultipleSignatures 32 - blst 4.3089 ms/op 4.7655 ms/op 0.90
BLS verifyMultipleSignatures 64 - blst 8.2713 ms/op 8.8640 ms/op 0.93
BLS verifyMultipleSignatures 128 - blst 16.435 ms/op 16.643 ms/op 0.99
BLS deserializing 10000 signatures 664.89 ms/op 672.37 ms/op 0.99
BLS deserializing 100000 signatures 6.3698 s/op 6.7565 s/op 0.94
BLS verifyMultipleSignatures - same message - 3 - blst 918.41 us/op 967.46 us/op 0.95
BLS verifyMultipleSignatures - same message - 8 - blst 1.1009 ms/op 1.0105 ms/op 1.09
BLS verifyMultipleSignatures - same message - 32 - blst 1.7223 ms/op 1.8006 ms/op 0.96
BLS verifyMultipleSignatures - same message - 64 - blst 2.6255 ms/op 2.6133 ms/op 1.00
BLS verifyMultipleSignatures - same message - 128 - blst 4.1633 ms/op 4.3381 ms/op 0.96
BLS aggregatePubkeys 32 - blst 20.053 us/op 19.413 us/op 1.03
BLS aggregatePubkeys 128 - blst 68.946 us/op 68.202 us/op 1.01
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 62.047 ms/op 87.076 ms/op 0.71
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 52.831 ms/op 59.144 ms/op 0.89
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 50.154 ms/op 50.029 ms/op 1.00
getSlashingsAndExits - default max 103.19 us/op 152.38 us/op 0.68
getSlashingsAndExits - 2k 569.84 us/op 453.56 us/op 1.26
proposeBlockBody type=full, size=empty 6.4607 ms/op 6.7630 ms/op 0.96
isKnown best case - 1 super set check 742.00 ns/op 338.00 ns/op 2.20
isKnown normal case - 2 super set checks 837.00 ns/op 339.00 ns/op 2.47
isKnown worse case - 16 super set checks 745.00 ns/op 336.00 ns/op 2.22
InMemoryCheckpointStateCache - add get delete 4.2870 us/op 3.9680 us/op 1.08
validate api signedAggregateAndProof - struct 1.5309 ms/op 1.6799 ms/op 0.91
validate gossip signedAggregateAndProof - struct 1.5070 ms/op 1.6337 ms/op 0.92
batch validate gossip attestation - vc 640000 - chunk 32 144.01 us/op 158.65 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 64 130.14 us/op 131.19 us/op 0.99
batch validate gossip attestation - vc 640000 - chunk 128 118.34 us/op 111.82 us/op 1.06
batch validate gossip attestation - vc 640000 - chunk 256 115.15 us/op 101.85 us/op 1.13
pickEth1Vote - no votes 1.0891 ms/op 1.0275 ms/op 1.06
pickEth1Vote - max votes 8.0975 ms/op 5.5818 ms/op 1.45
pickEth1Vote - Eth1Data hashTreeRoot value x2048 23.771 ms/op 12.132 ms/op 1.96
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 34.667 ms/op 15.220 ms/op 2.28
pickEth1Vote - Eth1Data fastSerialize value x2048 649.35 us/op 450.55 us/op 1.44
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.5708 ms/op 2.3751 ms/op 1.92
bytes32 toHexString 1.0550 us/op 424.00 ns/op 2.49
bytes32 Buffer.toString(hex) 471.00 ns/op 236.00 ns/op 2.00
bytes32 Buffer.toString(hex) from Uint8Array 674.00 ns/op 378.00 ns/op 1.78
bytes32 Buffer.toString(hex) + 0x 483.00 ns/op 234.00 ns/op 2.06
Object access 1 prop 0.38700 ns/op 0.13600 ns/op 2.85
Map access 1 prop 0.41700 ns/op 0.13500 ns/op 3.09
Object get x1000 5.8110 ns/op 6.0940 ns/op 0.95
Map get x1000 6.1190 ns/op 6.3920 ns/op 0.96
Object set x1000 52.040 ns/op 33.330 ns/op 1.56
Map set x1000 35.970 ns/op 22.079 ns/op 1.63
Return object 10000 times 0.33020 ns/op 0.30030 ns/op 1.10
Throw Error 10000 times 2.8615 us/op 3.3322 us/op 0.86
toHex 157.50 ns/op 144.47 ns/op 1.09
Buffer.from 137.64 ns/op 126.82 ns/op 1.09
shared Buffer 92.941 ns/op 83.023 ns/op 1.12
fastMsgIdFn sha256 / 200 bytes 2.3930 us/op 2.1970 us/op 1.09
fastMsgIdFn h32 xxhash / 200 bytes 530.00 ns/op 244.00 ns/op 2.17
fastMsgIdFn h64 xxhash / 200 bytes 494.00 ns/op 289.00 ns/op 1.71
fastMsgIdFn sha256 / 1000 bytes 6.6290 us/op 7.3970 us/op 0.90
fastMsgIdFn h32 xxhash / 1000 bytes 672.00 ns/op 388.00 ns/op 1.73
fastMsgIdFn h64 xxhash / 1000 bytes 606.00 ns/op 357.00 ns/op 1.70
fastMsgIdFn sha256 / 10000 bytes 57.444 us/op 64.046 us/op 0.90
fastMsgIdFn h32 xxhash / 10000 bytes 2.1050 us/op 1.9290 us/op 1.09
fastMsgIdFn h64 xxhash / 10000 bytes 1.3990 us/op 1.2520 us/op 1.12
send data - 1000 256B messages 13.167 ms/op 13.182 ms/op 1.00
send data - 1000 512B messages 21.847 ms/op 18.199 ms/op 1.20
send data - 1000 1024B messages 26.800 ms/op 28.759 ms/op 0.93
send data - 1000 1200B messages 19.199 ms/op 26.692 ms/op 0.72
send data - 1000 2048B messages 33.474 ms/op 32.465 ms/op 1.03
send data - 1000 4096B messages 29.572 ms/op 30.664 ms/op 0.96
send data - 1000 16384B messages 70.779 ms/op 74.127 ms/op 0.95
send data - 1000 65536B messages 244.00 ms/op 199.16 ms/op 1.23
enrSubnets - fastDeserialize 64 bits 1.1830 us/op 1.0500 us/op 1.13
enrSubnets - ssz BitVector 64 bits 629.00 ns/op 343.00 ns/op 1.83
enrSubnets - fastDeserialize 4 bits 393.00 ns/op 147.00 ns/op 2.67
enrSubnets - ssz BitVector 4 bits 649.00 ns/op 367.00 ns/op 1.77
prioritizePeers score -10:0 att 32-0.1 sync 2-0 151.99 us/op 132.24 us/op 1.15
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 149.88 us/op 153.77 us/op 0.97
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 229.09 us/op 221.13 us/op 1.04
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 361.46 us/op 393.07 us/op 0.92
prioritizePeers score 0:0 att 64-1 sync 4-1 477.53 us/op 490.28 us/op 0.97
array of 16000 items push then shift 1.3750 us/op 1.6372 us/op 0.84
LinkedList of 16000 items push then shift 6.9760 ns/op 7.0890 ns/op 0.98
array of 16000 items push then pop 118.98 ns/op 105.84 ns/op 1.12
LinkedList of 16000 items push then pop 6.6040 ns/op 6.9190 ns/op 0.95
array of 24000 items push then shift 2.0040 us/op 2.4314 us/op 0.82
LinkedList of 24000 items push then shift 7.1330 ns/op 7.0200 ns/op 1.02
array of 24000 items push then pop 148.62 ns/op 132.16 ns/op 1.12
LinkedList of 24000 items push then pop 7.9040 ns/op 6.9210 ns/op 1.14
intersect bitArray bitLen 8 5.4050 ns/op 6.3260 ns/op 0.85
intersect array and set length 8 55.098 ns/op 43.172 ns/op 1.28
intersect bitArray bitLen 128 26.484 ns/op 29.351 ns/op 0.90
intersect array and set length 128 633.82 ns/op 654.00 ns/op 0.97
bitArray.getTrueBitIndexes() bitLen 128 1.9220 us/op 1.2870 us/op 1.49
bitArray.getTrueBitIndexes() bitLen 248 3.0990 us/op 2.0610 us/op 1.50
bitArray.getTrueBitIndexes() bitLen 512 4.7510 us/op 4.2750 us/op 1.11
Buffer.concat 32 items 1.0850 us/op 772.00 ns/op 1.41
Uint8Array.set 32 items 2.1130 us/op 1.7170 us/op 1.23
Buffer.copy 2.8990 us/op 2.7120 us/op 1.07
Uint8Array.set - with subarray 3.0370 us/op 1.9510 us/op 1.56
Uint8Array.set - without subarray 2.0910 us/op 1.4310 us/op 1.46
getUint32 - dataview 455.00 ns/op 250.00 ns/op 1.82
getUint32 - manual 405.00 ns/op 168.00 ns/op 2.41
Set add up to 64 items then delete first 1.8229 us/op 2.4094 us/op 0.76
OrderedSet add up to 64 items then delete first 2.7979 us/op 3.4570 us/op 0.81
Set add up to 64 items then delete last 2.0589 us/op 2.7275 us/op 0.75
OrderedSet add up to 64 items then delete last 3.1210 us/op 3.9137 us/op 0.80
Set add up to 64 items then delete middle 2.1337 us/op 2.5937 us/op 0.82
OrderedSet add up to 64 items then delete middle 4.9066 us/op 5.3427 us/op 0.92
Set add up to 128 items then delete first 4.2465 us/op 5.1295 us/op 0.83
OrderedSet add up to 128 items then delete first 6.6944 us/op 7.0469 us/op 0.95
Set add up to 128 items then delete last 4.0376 us/op 4.9002 us/op 0.82
OrderedSet add up to 128 items then delete last 6.0265 us/op 7.3775 us/op 0.82
Set add up to 128 items then delete middle 4.0094 us/op 4.7692 us/op 0.84
OrderedSet add up to 128 items then delete middle 12.619 us/op 14.705 us/op 0.86
Set add up to 256 items then delete first 8.3477 us/op 9.8881 us/op 0.84
OrderedSet add up to 256 items then delete first 13.287 us/op 14.553 us/op 0.91
Set add up to 256 items then delete last 8.2710 us/op 9.8974 us/op 0.84
OrderedSet add up to 256 items then delete last 12.535 us/op 15.683 us/op 0.80
Set add up to 256 items then delete middle 7.6165 us/op 9.3693 us/op 0.81
OrderedSet add up to 256 items then delete middle 35.660 us/op 40.593 us/op 0.88
transfer serialized Status (84 B) 2.6420 us/op 2.7160 us/op 0.97
copy serialized Status (84 B) 1.6150 us/op 1.4620 us/op 1.10
transfer serialized SignedVoluntaryExit (112 B) 2.7080 us/op 2.8540 us/op 0.95
copy serialized SignedVoluntaryExit (112 B) 1.5510 us/op 1.4330 us/op 1.08
transfer serialized ProposerSlashing (416 B) 2.5420 us/op 3.6700 us/op 0.69
copy serialized ProposerSlashing (416 B) 2.1510 us/op 2.5950 us/op 0.83
transfer serialized Attestation (485 B) 3.0270 us/op 3.6790 us/op 0.82
copy serialized Attestation (485 B) 2.2630 us/op 2.4390 us/op 0.93
transfer serialized AttesterSlashing (33232 B) 3.6510 us/op 3.6020 us/op 1.01
copy serialized AttesterSlashing (33232 B) 5.3610 us/op 6.3480 us/op 0.84
transfer serialized Small SignedBeaconBlock (128000 B) 3.4700 us/op 3.5930 us/op 0.97
copy serialized Small SignedBeaconBlock (128000 B) 11.235 us/op 13.520 us/op 0.83
transfer serialized Avg SignedBeaconBlock (200000 B) 3.4520 us/op 3.9410 us/op 0.88
copy serialized Avg SignedBeaconBlock (200000 B) 16.287 us/op 19.794 us/op 0.82
transfer serialized BlobsSidecar (524380 B) 4.5440 us/op 4.1080 us/op 1.11
copy serialized BlobsSidecar (524380 B) 74.461 us/op 131.83 us/op 0.56
transfer serialized Big SignedBeaconBlock (1000000 B) 5.1180 us/op 4.1220 us/op 1.24
copy serialized Big SignedBeaconBlock (1000000 B) 214.99 us/op 149.78 us/op 1.44
pass gossip attestations to forkchoice per slot 2.3342 ms/op 2.8312 ms/op 0.82
forkChoice updateHead vc 100000 bc 64 eq 0 428.93 us/op 555.37 us/op 0.77
forkChoice updateHead vc 600000 bc 64 eq 0 2.3517 ms/op 3.9684 ms/op 0.59
forkChoice updateHead vc 1000000 bc 64 eq 0 3.4103 ms/op 5.4007 ms/op 0.63
forkChoice updateHead vc 600000 bc 320 eq 0 2.0128 ms/op 2.5507 ms/op 0.79
forkChoice updateHead vc 600000 bc 1200 eq 0 2.1008 ms/op 2.7008 ms/op 0.78
forkChoice updateHead vc 600000 bc 7200 eq 0 2.5505 ms/op 3.6365 ms/op 0.70
forkChoice updateHead vc 600000 bc 64 eq 1000 9.5955 ms/op 10.560 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 10000 9.5008 ms/op 10.495 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 300000 11.599 ms/op 15.428 ms/op 0.75
computeDeltas 500000 validators 300 proto nodes 3.3909 ms/op 4.3747 ms/op 0.78
computeDeltas 500000 validators 1200 proto nodes 3.3520 ms/op 4.4969 ms/op 0.75
computeDeltas 500000 validators 7200 proto nodes 3.3739 ms/op 4.5438 ms/op 0.74
computeDeltas 750000 validators 300 proto nodes 5.2176 ms/op 6.6693 ms/op 0.78
computeDeltas 750000 validators 1200 proto nodes 5.0503 ms/op 7.1227 ms/op 0.71
computeDeltas 750000 validators 7200 proto nodes 4.9978 ms/op 7.6007 ms/op 0.66
computeDeltas 1400000 validators 300 proto nodes 9.2617 ms/op 16.867 ms/op 0.55
computeDeltas 1400000 validators 1200 proto nodes 9.3861 ms/op 18.680 ms/op 0.50
computeDeltas 1400000 validators 7200 proto nodes 9.3479 ms/op 17.147 ms/op 0.55
computeDeltas 2100000 validators 300 proto nodes 14.281 ms/op 20.205 ms/op 0.71
computeDeltas 2100000 validators 1200 proto nodes 14.046 ms/op 22.352 ms/op 0.63
computeDeltas 2100000 validators 7200 proto nodes 14.141 ms/op 19.078 ms/op 0.74
altair processAttestation - 250000 vs - 7PWei normalcase 1.8524 ms/op 2.8811 ms/op 0.64
altair processAttestation - 250000 vs - 7PWei worstcase 2.3555 ms/op 3.5728 ms/op 0.66
altair processAttestation - setStatus - 1/6 committees join 96.613 us/op 135.84 us/op 0.71
altair processAttestation - setStatus - 1/3 committees join 186.50 us/op 272.15 us/op 0.69
altair processAttestation - setStatus - 1/2 committees join 273.94 us/op 357.61 us/op 0.77
altair processAttestation - setStatus - 2/3 committees join 365.68 us/op 455.83 us/op 0.80
altair processAttestation - setStatus - 4/5 committees join 495.37 us/op 609.17 us/op 0.81
altair processAttestation - setStatus - 100% committees join 614.64 us/op 751.10 us/op 0.82
altair processBlock - 250000 vs - 7PWei normalcase 3.4936 ms/op 4.9135 ms/op 0.71
altair processBlock - 250000 vs - 7PWei normalcase hashState 28.181 ms/op 27.470 ms/op 1.03
altair processBlock - 250000 vs - 7PWei worstcase 35.396 ms/op 38.006 ms/op 0.93
altair processBlock - 250000 vs - 7PWei worstcase hashState 68.471 ms/op 75.232 ms/op 0.91
phase0 processBlock - 250000 vs - 7PWei normalcase 1.7083 ms/op 2.4939 ms/op 0.68
phase0 processBlock - 250000 vs - 7PWei worstcase 21.847 ms/op 28.900 ms/op 0.76
altair processEth1Data - 250000 vs - 7PWei normalcase 270.93 us/op 590.20 us/op 0.46
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 5.5670 us/op 12.327 us/op 0.45
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 49.161 us/op 70.951 us/op 0.69
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 11.336 us/op 21.284 us/op 0.53
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.288 us/op 13.002 us/op 0.87
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 134.96 us/op 225.64 us/op 0.60
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 791.78 us/op 1.0568 ms/op 0.75
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.3730 ms/op 1.8442 ms/op 0.74
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.1481 ms/op 1.4553 ms/op 0.79
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.2688 ms/op 4.5338 ms/op 0.72
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.2488 ms/op 1.8552 ms/op 0.67
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.4647 ms/op 4.5896 ms/op 0.75
Tree 40 250000 create 216.32 ms/op 275.87 ms/op 0.78
Tree 40 250000 get(125000) 116.78 ns/op 165.84 ns/op 0.70
Tree 40 250000 set(125000) 517.92 ns/op 957.23 ns/op 0.54
Tree 40 250000 toArray() 18.608 ms/op 21.959 ms/op 0.85
Tree 40 250000 iterate all - toArray() + loop 18.396 ms/op 20.759 ms/op 0.89
Tree 40 250000 iterate all - get(i) 54.684 ms/op 61.103 ms/op 0.89
Array 250000 create 3.2831 ms/op 4.1391 ms/op 0.79
Array 250000 clone - spread 1.1857 ms/op 1.6871 ms/op 0.70
Array 250000 get(125000) 0.58200 ns/op 0.43400 ns/op 1.34
Array 250000 set(125000) 0.58500 ns/op 0.46200 ns/op 1.27
Array 250000 iterate all - loop 76.217 us/op 83.939 us/op 0.91
phase0 afterProcessEpoch - 250000 vs - 7PWei 43.932 ms/op 55.004 ms/op 0.80
Array.fill - length 1000000 2.4142 ms/op 4.9367 ms/op 0.49
Array push - length 1000000 15.186 ms/op 23.921 ms/op 0.63
Array.get 0.30320 ns/op 0.29004 ns/op 1.05
Uint8Array.get 0.36000 ns/op 0.45357 ns/op 0.79
phase0 beforeProcessEpoch - 250000 vs - 7PWei 18.932 ms/op 21.397 ms/op 0.88
altair processEpoch - mainnet_e81889 292.62 ms/op 317.20 ms/op 0.92
mainnet_e81889 - altair beforeProcessEpoch 21.380 ms/op 20.801 ms/op 1.03
mainnet_e81889 - altair processJustificationAndFinalization 15.141 us/op 19.606 us/op 0.77
mainnet_e81889 - altair processInactivityUpdates 5.6589 ms/op 7.4073 ms/op 0.76
mainnet_e81889 - altair processRewardsAndPenalties 40.068 ms/op 53.101 ms/op 0.75
mainnet_e81889 - altair processRegistryUpdates 2.3040 us/op 3.0190 us/op 0.76
mainnet_e81889 - altair processSlashings 969.00 ns/op 857.00 ns/op 1.13
mainnet_e81889 - altair processEth1DataReset 1.0520 us/op 626.00 ns/op 1.68
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.1557 ms/op 1.4442 ms/op 0.80
mainnet_e81889 - altair processSlashingsReset 7.2830 us/op 7.7590 us/op 0.94
mainnet_e81889 - altair processRandaoMixesReset 5.3930 us/op 8.1820 us/op 0.66
mainnet_e81889 - altair processHistoricalRootsUpdate 1.4620 us/op 1.4150 us/op 1.03
mainnet_e81889 - altair processParticipationFlagUpdates 2.9300 us/op 2.9140 us/op 1.01
mainnet_e81889 - altair processSyncCommitteeUpdates 1.0210 us/op 1.0510 us/op 0.97
mainnet_e81889 - altair afterProcessEpoch 43.468 ms/op 55.344 ms/op 0.79
capella processEpoch - mainnet_e217614 1.0252 s/op 1.1873 s/op 0.86
mainnet_e217614 - capella beforeProcessEpoch 69.582 ms/op 70.980 ms/op 0.98
mainnet_e217614 - capella processJustificationAndFinalization 14.662 us/op 19.759 us/op 0.74
mainnet_e217614 - capella processInactivityUpdates 14.813 ms/op 18.989 ms/op 0.78
mainnet_e217614 - capella processRewardsAndPenalties 238.03 ms/op 220.95 ms/op 1.08
mainnet_e217614 - capella processRegistryUpdates 20.680 us/op 27.992 us/op 0.74
mainnet_e217614 - capella processSlashings 1.1810 us/op 747.00 ns/op 1.58
mainnet_e217614 - capella processEth1DataReset 927.00 ns/op 730.00 ns/op 1.27
mainnet_e217614 - capella processEffectiveBalanceUpdates 16.528 ms/op 15.543 ms/op 1.06
mainnet_e217614 - capella processSlashingsReset 3.3540 us/op 4.6900 us/op 0.72
mainnet_e217614 - capella processRandaoMixesReset 5.1690 us/op 17.867 us/op 0.29
mainnet_e217614 - capella processHistoricalRootsUpdate 1.6190 us/op 677.00 ns/op 2.39
mainnet_e217614 - capella processParticipationFlagUpdates 2.0860 us/op 1.8610 us/op 1.12
mainnet_e217614 - capella afterProcessEpoch 109.62 ms/op 124.66 ms/op 0.88
phase0 processEpoch - mainnet_e58758 312.38 ms/op 372.60 ms/op 0.84
mainnet_e58758 - phase0 beforeProcessEpoch 82.763 ms/op 88.574 ms/op 0.93
mainnet_e58758 - phase0 processJustificationAndFinalization 17.400 us/op 18.999 us/op 0.92
mainnet_e58758 - phase0 processRewardsAndPenalties 30.080 ms/op 29.250 ms/op 1.03
mainnet_e58758 - phase0 processRegistryUpdates 6.9750 us/op 15.453 us/op 0.45
mainnet_e58758 - phase0 processSlashings 959.00 ns/op 800.00 ns/op 1.20
mainnet_e58758 - phase0 processEth1DataReset 514.00 ns/op 660.00 ns/op 0.78
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 842.18 us/op 1.2013 ms/op 0.70
mainnet_e58758 - phase0 processSlashingsReset 2.5420 us/op 4.0580 us/op 0.63
mainnet_e58758 - phase0 processRandaoMixesReset 3.3040 us/op 8.0630 us/op 0.41
mainnet_e58758 - phase0 processHistoricalRootsUpdate 786.00 ns/op 919.00 ns/op 0.86
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.3420 us/op 5.9240 us/op 0.56
mainnet_e58758 - phase0 afterProcessEpoch 36.050 ms/op 47.644 ms/op 0.76
phase0 processEffectiveBalanceUpdates - 250000 normalcase 944.37 us/op 1.7435 ms/op 0.54
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.2315 ms/op 4.0246 ms/op 0.31
altair processInactivityUpdates - 250000 normalcase 15.363 ms/op 19.563 ms/op 0.79
altair processInactivityUpdates - 250000 worstcase 17.510 ms/op 18.849 ms/op 0.93
phase0 processRegistryUpdates - 250000 normalcase 8.0930 us/op 16.239 us/op 0.50
phase0 processRegistryUpdates - 250000 badcase_full_deposits 347.20 us/op 389.43 us/op 0.89
phase0 processRegistryUpdates - 250000 worstcase 0.5 98.950 ms/op 141.96 ms/op 0.70
altair processRewardsAndPenalties - 250000 normalcase 42.646 ms/op 41.906 ms/op 1.02
altair processRewardsAndPenalties - 250000 worstcase 40.237 ms/op 38.296 ms/op 1.05
phase0 getAttestationDeltas - 250000 normalcase 6.4492 ms/op 8.1544 ms/op 0.79
phase0 getAttestationDeltas - 250000 worstcase 5.9690 ms/op 8.6993 ms/op 0.69
phase0 processSlashings - 250000 worstcase 86.443 us/op 139.57 us/op 0.62
altair processSyncCommitteeUpdates - 250000 99.377 ms/op 147.43 ms/op 0.67
BeaconState.hashTreeRoot - No change 475.00 ns/op 284.00 ns/op 1.67
BeaconState.hashTreeRoot - 1 full validator 106.08 us/op 133.82 us/op 0.79
BeaconState.hashTreeRoot - 32 full validator 1.3410 ms/op 1.4599 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 10.996 ms/op 13.762 ms/op 0.80
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 142.22 us/op 182.07 us/op 0.78
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.7867 ms/op 2.3828 ms/op 0.75
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 22.385 ms/op 33.655 ms/op 0.67
BeaconState.hashTreeRoot - 1 balances 105.24 us/op 136.50 us/op 0.77
BeaconState.hashTreeRoot - 32 balances 1.0660 ms/op 1.0635 ms/op 1.00
BeaconState.hashTreeRoot - 512 balances 7.4403 ms/op 10.955 ms/op 0.68
BeaconState.hashTreeRoot - 250000 balances 175.77 ms/op 195.53 ms/op 0.90
aggregationBits - 2048 els - zipIndexesInBitList 22.464 us/op 35.522 us/op 0.63
byteArrayEquals 32 45.647 ns/op 54.868 ns/op 0.83
Buffer.compare 32 14.572 ns/op 17.885 ns/op 0.81
byteArrayEquals 1024 1.2699 us/op 1.6306 us/op 0.78
Buffer.compare 1024 23.413 ns/op 26.451 ns/op 0.89
byteArrayEquals 16384 19.331 us/op 26.716 us/op 0.72
Buffer.compare 16384 272.68 ns/op 202.99 ns/op 1.34
byteArrayEquals 123687377 149.25 ms/op 193.01 ms/op 0.77
Buffer.compare 123687377 4.3620 ms/op 6.8083 ms/op 0.64
byteArrayEquals 32 - diff last byte 48.180 ns/op 51.793 ns/op 0.93
Buffer.compare 32 - diff last byte 16.037 ns/op 16.749 ns/op 0.96
byteArrayEquals 1024 - diff last byte 1.2792 us/op 1.5613 us/op 0.82
Buffer.compare 1024 - diff last byte 24.734 ns/op 24.789 ns/op 1.00
byteArrayEquals 16384 - diff last byte 20.360 us/op 24.933 us/op 0.82
Buffer.compare 16384 - diff last byte 201.49 ns/op 192.91 ns/op 1.04
byteArrayEquals 123687377 - diff last byte 152.42 ms/op 188.39 ms/op 0.81
Buffer.compare 123687377 - diff last byte 5.8992 ms/op 9.8617 ms/op 0.60
byteArrayEquals 32 - random bytes 4.8280 ns/op 5.3730 ns/op 0.90
Buffer.compare 32 - random bytes 15.144 ns/op 18.336 ns/op 0.83
byteArrayEquals 1024 - random bytes 4.8090 ns/op 5.5020 ns/op 0.87
Buffer.compare 1024 - random bytes 15.057 ns/op 18.181 ns/op 0.83
byteArrayEquals 16384 - random bytes 4.7880 ns/op 5.3980 ns/op 0.89
Buffer.compare 16384 - random bytes 15.013 ns/op 18.189 ns/op 0.83
byteArrayEquals 123687377 - random bytes 7.5900 ns/op 6.9300 ns/op 1.10
Buffer.compare 123687377 - random bytes 17.830 ns/op 19.870 ns/op 0.90
regular array get 100000 times 29.858 us/op 35.067 us/op 0.85
wrappedArray get 100000 times 29.893 us/op 35.442 us/op 0.84
arrayWithProxy get 100000 times 8.5698 ms/op 12.511 ms/op 0.68
ssz.Root.equals 42.190 ns/op 47.034 ns/op 0.90
byteArrayEquals 41.742 ns/op 45.960 ns/op 0.91
Buffer.compare 8.7890 ns/op 11.020 ns/op 0.80
processSlot - 1 slots 11.011 us/op 14.888 us/op 0.74
processSlot - 32 slots 2.3516 ms/op 3.1620 ms/op 0.74
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 37.239 ms/op 37.775 ms/op 0.99
getCommitteeAssignments - req 1 vs - 250000 vc 1.8215 ms/op 2.1811 ms/op 0.84
getCommitteeAssignments - req 100 vs - 250000 vc 3.6278 ms/op 4.2177 ms/op 0.86
getCommitteeAssignments - req 1000 vs - 250000 vc 3.8025 ms/op 4.4633 ms/op 0.85
findModifiedValidators - 10000 modified validators 226.78 ms/op 296.19 ms/op 0.77
findModifiedValidators - 1000 modified validators 159.47 ms/op 197.96 ms/op 0.81
findModifiedValidators - 100 modified validators 147.15 ms/op 169.32 ms/op 0.87
findModifiedValidators - 10 modified validators 144.72 ms/op 153.15 ms/op 0.94
findModifiedValidators - 1 modified validators 147.72 ms/op 150.16 ms/op 0.98
findModifiedValidators - no difference 125.99 ms/op 240.17 ms/op 0.52
compare ViewDUs 3.5398 s/op 3.2610 s/op 1.09
compare each validator Uint8Array 1.7312 s/op 1.3951 s/op 1.24
compare ViewDU to Uint8Array 775.00 ms/op 962.70 ms/op 0.81
migrate state 1000000 validators, 24 modified, 0 new 647.54 ms/op 662.87 ms/op 0.98
migrate state 1000000 validators, 1700 modified, 1000 new 862.31 ms/op 894.68 ms/op 0.96
migrate state 1000000 validators, 3400 modified, 2000 new 1.0304 s/op 1.2290 s/op 0.84
migrate state 1500000 validators, 24 modified, 0 new 673.41 ms/op 1.1601 s/op 0.58
migrate state 1500000 validators, 1700 modified, 1000 new 856.64 ms/op 1.5029 s/op 0.57
migrate state 1500000 validators, 3400 modified, 2000 new 1.0148 s/op 1.4257 s/op 0.71
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 6.4600 ns/op 5.2000 ns/op 1.24
state getBlockRootAtSlot - 250000 vs - 7PWei 549.86 ns/op 636.66 ns/op 0.86
computeProposers - vc 250000 7.2922 ms/op 7.3903 ms/op 0.99
computeEpochShuffling - vc 250000 35.840 ms/op 44.390 ms/op 0.81
getNextSyncCommittee - vc 250000 111.27 ms/op 130.94 ms/op 0.85
computeSigningRoot for AttestationData 24.093 us/op 27.674 us/op 0.87
hash AttestationData serialized data then Buffer.toString(base64) 1.2396 us/op 1.7037 us/op 0.73
toHexString serialized data 765.73 ns/op 1.0420 us/op 0.73
Buffer.toString(base64) 144.00 ns/op 220.67 ns/op 0.65
nodejs block root to RootHex using toHex 115.12 ns/op 165.54 ns/op 0.70
nodejs block root to RootHex using toRootHex 74.475 ns/op 97.283 ns/op 0.77
browser block root to RootHex using the deprecated toHexString 206.35 ns/op 362.98 ns/op 0.57
browser block root to RootHex using toHex 164.95 ns/op 259.43 ns/op 0.64
browser block root to RootHex using toRootHex 150.85 ns/op 204.91 ns/op 0.74

Please sign in to comment.