Skip to content

Commit

Permalink
chore(deps): bump path-to-regexp from 6.2.2 to 6.3.0 (#7082)
Browse files Browse the repository at this point in the history
Bumps [path-to-regexp](https://github.com/pillarjs/path-to-regexp) from 6.2.2 to 6.3.0.
- [Release notes](https://github.com/pillarjs/path-to-regexp/releases)
- [Changelog](https://github.com/pillarjs/path-to-regexp/blob/master/History.md)
- [Commits](pillarjs/path-to-regexp@v6.2.2...v6.3.0)

---
updated-dependencies:
- dependency-name: path-to-regexp
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Sep 16, 2024
1 parent 43b41af commit d3d61af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10647,9 +10647,9 @@ path-scurry@^1.11.1:
minipass "^5.0.0 || ^6.0.2 || ^7.0.0"

path-to-regexp@^6.2.0:
version "6.2.2"
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.2.2.tgz#324377a83e5049cbecadc5554d6a63a9a4866b36"
integrity sha512-GQX3SSMokngb36+whdpRXE+3f9V8UzyAorlYvOGx87ufGHehNTn5lCxrKtLyZ4Yl/wEKnNnr98ZzOwwDZV5ogw==
version "6.3.0"
resolved "https://registry.yarnpkg.com/path-to-regexp/-/path-to-regexp-6.3.0.tgz#2b6a26a337737a8e1416f9272ed0766b1c0389f4"
integrity sha512-Yhpw4T9C6hPpgPeA28us07OJeqZ5EzQTkbfwuhsUg0c237RomFoETJgmp2sa3F/41gfLE6G5cqcYwznmeEeOlQ==

path-type@^3.0.0:
version "3.0.0"
Expand Down

1 comment on commit d3d61af

@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: d3d61af Previous: 43b41af Ratio
getSlashingsAndExits - default max 379.61 us/op 66.499 us/op 5.71
altair processAttestation - 250000 vs - 7PWei normalcase 5.1376 ms/op 1.3925 ms/op 3.69
altair processAttestation - setStatus - 1/6 committees join 288.80 us/op 68.407 us/op 4.22
altair processAttestation - setStatus - 1/3 committees join 537.80 us/op 133.63 us/op 4.02
altair processEth1Data - 250000 vs - 7PWei normalcase 881.58 us/op 251.93 us/op 3.50
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 13.763 us/op 4.2350 us/op 3.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 23.863 us/op 7.6860 us/op 3.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 17.717 us/op 3.0420 us/op 5.82
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 9.3974 ms/op 2.8360 ms/op 3.31
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.6487 ms/op 1.1104 ms/op 3.29
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.8022 ms/op 2.7365 ms/op 3.58
Array.fill - length 1000000 12.510 ms/op 2.4914 ms/op 5.02
Array push - length 1000000 64.313 ms/op 14.499 ms/op 4.44
phase0 beforeProcessEpoch - 250000 vs - 7PWei 49.922 ms/op 12.573 ms/op 3.97
Full benchmark results
Benchmark suite Current: d3d61af Previous: 43b41af Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.9185 ms/op 1.7832 ms/op 1.08
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 60.686 us/op 36.853 us/op 1.65
BLS verify - blst 866.60 us/op 927.74 us/op 0.93
BLS verifyMultipleSignatures 3 - blst 1.1980 ms/op 1.2962 ms/op 0.92
BLS verifyMultipleSignatures 8 - blst 1.6735 ms/op 2.0796 ms/op 0.80
BLS verifyMultipleSignatures 32 - blst 5.0299 ms/op 4.5001 ms/op 1.12
BLS verifyMultipleSignatures 64 - blst 9.0634 ms/op 8.3271 ms/op 1.09
BLS verifyMultipleSignatures 128 - blst 17.268 ms/op 16.035 ms/op 1.08
BLS deserializing 10000 signatures 675.30 ms/op 623.07 ms/op 1.08
BLS deserializing 100000 signatures 7.0226 s/op 6.2119 s/op 1.13
BLS verifyMultipleSignatures - same message - 3 - blst 984.31 us/op 956.27 us/op 1.03
BLS verifyMultipleSignatures - same message - 8 - blst 1.0943 ms/op 1.1133 ms/op 0.98
BLS verifyMultipleSignatures - same message - 32 - blst 1.7771 ms/op 1.7016 ms/op 1.04
BLS verifyMultipleSignatures - same message - 64 - blst 2.6833 ms/op 2.5854 ms/op 1.04
BLS verifyMultipleSignatures - same message - 128 - blst 4.5001 ms/op 4.0572 ms/op 1.11
BLS aggregatePubkeys 32 - blst 20.547 us/op 18.040 us/op 1.14
BLS aggregatePubkeys 128 - blst 71.082 us/op 63.091 us/op 1.13
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 76.487 ms/op 43.673 ms/op 1.75
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 71.071 ms/op 37.826 ms/op 1.88
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 45.426 ms/op 31.944 ms/op 1.42
getSlashingsAndExits - default max 379.61 us/op 66.499 us/op 5.71
getSlashingsAndExits - 2k 460.41 us/op 303.61 us/op 1.52
proposeBlockBody type=full, size=empty 7.1577 ms/op 4.9962 ms/op 1.43
isKnown best case - 1 super set check 645.00 ns/op 632.00 ns/op 1.02
isKnown normal case - 2 super set checks 663.00 ns/op 627.00 ns/op 1.06
isKnown worse case - 16 super set checks 640.00 ns/op 608.00 ns/op 1.05
InMemoryCheckpointStateCache - add get delete 5.0930 us/op 4.3440 us/op 1.17
updateUnfinalizedPubkeys - updating 10 pubkeys 1.9320 ms/op 1.1996 ms/op 1.61
updateUnfinalizedPubkeys - updating 100 pubkeys 5.4730 ms/op 3.5370 ms/op 1.55
updateUnfinalizedPubkeys - updating 1000 pubkeys 59.635 ms/op 44.288 ms/op 1.35
validate api signedAggregateAndProof - struct 1.6162 ms/op 1.5278 ms/op 1.06
validate gossip signedAggregateAndProof - struct 1.7319 ms/op 1.4146 ms/op 1.22
validate gossip attestation - vc 640000 1.1089 ms/op 961.54 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 32 150.45 us/op 115.95 us/op 1.30
batch validate gossip attestation - vc 640000 - chunk 64 118.31 us/op 98.965 us/op 1.20
batch validate gossip attestation - vc 640000 - chunk 128 106.53 us/op 95.559 us/op 1.11
batch validate gossip attestation - vc 640000 - chunk 256 102.16 us/op 92.941 us/op 1.10
pickEth1Vote - no votes 1.0907 ms/op 859.60 us/op 1.27
pickEth1Vote - max votes 5.7713 ms/op 5.8384 ms/op 0.99
pickEth1Vote - Eth1Data hashTreeRoot value x2048 11.631 ms/op 17.289 ms/op 0.67
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.807 ms/op 19.356 ms/op 1.02
pickEth1Vote - Eth1Data fastSerialize value x2048 527.98 us/op 365.72 us/op 1.44
pickEth1Vote - Eth1Data fastSerialize tree x2048 2.8856 ms/op 3.2114 ms/op 0.90
bytes32 toHexString 434.00 ns/op 565.00 ns/op 0.77
bytes32 Buffer.toString(hex) 254.00 ns/op 423.00 ns/op 0.60
bytes32 Buffer.toString(hex) from Uint8Array 362.00 ns/op 511.00 ns/op 0.71
bytes32 Buffer.toString(hex) + 0x 257.00 ns/op 423.00 ns/op 0.61
Object access 1 prop 0.14400 ns/op 0.31900 ns/op 0.45
Map access 1 prop 0.13900 ns/op 0.31700 ns/op 0.44
Object get x1000 5.8130 ns/op 5.0370 ns/op 1.15
Map get x1000 6.3190 ns/op 5.7570 ns/op 1.10
Object set x1000 33.002 ns/op 24.715 ns/op 1.34
Map set x1000 24.043 ns/op 18.873 ns/op 1.27
Return object 10000 times 0.29370 ns/op 0.29400 ns/op 1.00
Throw Error 10000 times 3.3794 us/op 2.6542 us/op 1.27
toHex 141.68 ns/op 107.66 ns/op 1.32
Buffer.from 133.44 ns/op 101.25 ns/op 1.32
shared Buffer 86.258 ns/op 71.231 ns/op 1.21
fastMsgIdFn sha256 / 200 bytes 2.2010 us/op 1.9550 us/op 1.13
fastMsgIdFn h32 xxhash / 200 bytes 236.00 ns/op 394.00 ns/op 0.60
fastMsgIdFn h64 xxhash / 200 bytes 271.00 ns/op 436.00 ns/op 0.62
fastMsgIdFn sha256 / 1000 bytes 7.4330 us/op 5.8530 us/op 1.27
fastMsgIdFn h32 xxhash / 1000 bytes 364.00 ns/op 515.00 ns/op 0.71
fastMsgIdFn h64 xxhash / 1000 bytes 340.00 ns/op 507.00 ns/op 0.67
fastMsgIdFn sha256 / 10000 bytes 64.007 us/op 48.673 us/op 1.32
fastMsgIdFn h32 xxhash / 10000 bytes 1.8730 us/op 1.8610 us/op 1.01
fastMsgIdFn h64 xxhash / 10000 bytes 1.2170 us/op 1.2950 us/op 0.94
send data - 1000 256B messages 11.630 ms/op 10.548 ms/op 1.10
send data - 1000 512B messages 16.757 ms/op 13.514 ms/op 1.24
send data - 1000 1024B messages 26.991 ms/op 20.822 ms/op 1.30
send data - 1000 1200B messages 24.445 ms/op 23.949 ms/op 1.02
send data - 1000 2048B messages 30.941 ms/op 29.278 ms/op 1.06
send data - 1000 4096B messages 32.547 ms/op 27.408 ms/op 1.19
send data - 1000 16384B messages 72.298 ms/op 61.569 ms/op 1.17
send data - 1000 65536B messages 217.44 ms/op 250.65 ms/op 0.87
enrSubnets - fastDeserialize 64 bits 1.1000 us/op 1.1100 us/op 0.99
enrSubnets - ssz BitVector 64 bits 353.00 ns/op 512.00 ns/op 0.69
enrSubnets - fastDeserialize 4 bits 146.00 ns/op 333.00 ns/op 0.44
enrSubnets - ssz BitVector 4 bits 349.00 ns/op 510.00 ns/op 0.68
prioritizePeers score -10:0 att 32-0.1 sync 2-0 171.50 us/op 125.67 us/op 1.36
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 159.57 us/op 135.07 us/op 1.18
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 274.77 us/op 268.63 us/op 1.02
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 398.43 us/op 352.13 us/op 1.13
prioritizePeers score 0:0 att 64-1 sync 4-1 721.82 us/op 534.32 us/op 1.35
array of 16000 items push then shift 1.7034 us/op 1.2356 us/op 1.38
LinkedList of 16000 items push then shift 7.6830 ns/op 7.2980 ns/op 1.05
array of 16000 items push then pop 130.44 ns/op 77.521 ns/op 1.68
LinkedList of 16000 items push then pop 7.4380 ns/op 6.2250 ns/op 1.19
array of 24000 items push then shift 2.4633 us/op 1.8743 us/op 1.31
LinkedList of 24000 items push then shift 7.3560 ns/op 6.3970 ns/op 1.15
array of 24000 items push then pop 159.93 ns/op 106.76 ns/op 1.50
LinkedList of 24000 items push then pop 7.1510 ns/op 6.3010 ns/op 1.13
intersect bitArray bitLen 8 6.2890 ns/op 5.3550 ns/op 1.17
intersect array and set length 8 47.552 ns/op 39.151 ns/op 1.21
intersect bitArray bitLen 128 29.152 ns/op 26.374 ns/op 1.11
intersect array and set length 128 811.09 ns/op 577.23 ns/op 1.41
bitArray.getTrueBitIndexes() bitLen 128 2.2230 us/op 2.0530 us/op 1.08
bitArray.getTrueBitIndexes() bitLen 248 3.9740 us/op 3.7300 us/op 1.07
bitArray.getTrueBitIndexes() bitLen 512 7.9980 us/op 6.8290 us/op 1.17
Buffer.concat 32 items 1.0090 us/op 1.0180 us/op 0.99
Uint8Array.set 32 items 1.6690 us/op 1.9760 us/op 0.84
Buffer.copy 1.7990 us/op 2.1100 us/op 0.85
Uint8Array.set - with subarray 3.0610 us/op 2.6970 us/op 1.13
Uint8Array.set - without subarray 1.7440 us/op 1.9270 us/op 0.91
getUint32 - dataview 314.00 ns/op 394.00 ns/op 0.80
getUint32 - manual 265.00 ns/op 330.00 ns/op 0.80
Set add up to 64 items then delete first 2.9035 us/op 1.7654 us/op 1.64
OrderedSet add up to 64 items then delete first 3.8321 us/op 2.7350 us/op 1.40
Set add up to 64 items then delete last 2.6590 us/op 2.0352 us/op 1.31
OrderedSet add up to 64 items then delete last 4.1752 us/op 3.0222 us/op 1.38
Set add up to 64 items then delete middle 2.8397 us/op 2.0205 us/op 1.41
OrderedSet add up to 64 items then delete middle 5.9938 us/op 4.4228 us/op 1.36
Set add up to 128 items then delete first 5.2179 us/op 3.9971 us/op 1.31
OrderedSet add up to 128 items then delete first 7.2847 us/op 6.2002 us/op 1.17
Set add up to 128 items then delete last 5.2163 us/op 3.8567 us/op 1.35
OrderedSet add up to 128 items then delete last 8.0003 us/op 5.8257 us/op 1.37
Set add up to 128 items then delete middle 5.5356 us/op 3.8589 us/op 1.43
OrderedSet add up to 128 items then delete middle 15.172 us/op 11.379 us/op 1.33
Set add up to 256 items then delete first 10.244 us/op 7.8049 us/op 1.31
OrderedSet add up to 256 items then delete first 16.011 us/op 12.260 us/op 1.31
Set add up to 256 items then delete last 11.238 us/op 7.5688 us/op 1.48
OrderedSet add up to 256 items then delete last 17.411 us/op 11.542 us/op 1.51
Set add up to 256 items then delete middle 13.275 us/op 7.5225 us/op 1.76
OrderedSet add up to 256 items then delete middle 42.343 us/op 34.009 us/op 1.25
transfer serialized Status (84 B) 1.3960 us/op 1.5360 us/op 0.91
copy serialized Status (84 B) 1.2510 us/op 1.3250 us/op 0.94
transfer serialized SignedVoluntaryExit (112 B) 1.6670 us/op 1.7470 us/op 0.95
copy serialized SignedVoluntaryExit (112 B) 1.3800 us/op 1.4370 us/op 0.96
transfer serialized ProposerSlashing (416 B) 2.6520 us/op 2.2840 us/op 1.16
copy serialized ProposerSlashing (416 B) 2.3720 us/op 2.4280 us/op 0.98
transfer serialized Attestation (485 B) 2.3140 us/op 2.3740 us/op 0.97
copy serialized Attestation (485 B) 2.7530 us/op 2.4100 us/op 1.14
transfer serialized AttesterSlashing (33232 B) 2.6300 us/op 2.4320 us/op 1.08
copy serialized AttesterSlashing (33232 B) 6.9910 us/op 5.1540 us/op 1.36
transfer serialized Small SignedBeaconBlock (128000 B) 3.1930 us/op 2.9330 us/op 1.09
copy serialized Small SignedBeaconBlock (128000 B) 22.770 us/op 15.060 us/op 1.51
transfer serialized Avg SignedBeaconBlock (200000 B) 4.1810 us/op 2.6850 us/op 1.56
copy serialized Avg SignedBeaconBlock (200000 B) 30.846 us/op 12.269 us/op 2.51
transfer serialized BlobsSidecar (524380 B) 3.2260 us/op 2.6250 us/op 1.23
copy serialized BlobsSidecar (524380 B) 96.299 us/op 115.78 us/op 0.83
transfer serialized Big SignedBeaconBlock (1000000 B) 3.5100 us/op 2.9470 us/op 1.19
copy serialized Big SignedBeaconBlock (1000000 B) 166.47 us/op 126.11 us/op 1.32
pass gossip attestations to forkchoice per slot 2.8458 ms/op 2.2525 ms/op 1.26
forkChoice updateHead vc 100000 bc 64 eq 0 499.68 us/op 370.70 us/op 1.35
forkChoice updateHead vc 600000 bc 64 eq 0 3.2872 ms/op 2.2925 ms/op 1.43
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4603 ms/op 3.9781 ms/op 1.37
forkChoice updateHead vc 600000 bc 320 eq 0 3.3091 ms/op 2.3253 ms/op 1.42
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3051 ms/op 2.3392 ms/op 1.41
forkChoice updateHead vc 600000 bc 7200 eq 0 5.0183 ms/op 2.8654 ms/op 1.75
forkChoice updateHead vc 600000 bc 64 eq 1000 10.848 ms/op 8.8416 ms/op 1.23
forkChoice updateHead vc 600000 bc 64 eq 10000 10.859 ms/op 9.4236 ms/op 1.15
forkChoice updateHead vc 600000 bc 64 eq 300000 15.063 ms/op 11.726 ms/op 1.28
computeDeltas 500000 validators 300 proto nodes 3.6948 ms/op 2.8711 ms/op 1.29
computeDeltas 500000 validators 1200 proto nodes 6.5159 ms/op 2.8834 ms/op 2.26
computeDeltas 500000 validators 7200 proto nodes 7.0164 ms/op 2.8902 ms/op 2.43
computeDeltas 750000 validators 300 proto nodes 10.293 ms/op 4.3962 ms/op 2.34
computeDeltas 750000 validators 1200 proto nodes 8.6320 ms/op 4.3092 ms/op 2.00
computeDeltas 750000 validators 7200 proto nodes 7.0364 ms/op 4.2734 ms/op 1.65
computeDeltas 1400000 validators 300 proto nodes 18.393 ms/op 9.7922 ms/op 1.88
computeDeltas 1400000 validators 1200 proto nodes 19.145 ms/op 8.0614 ms/op 2.37
computeDeltas 1400000 validators 7200 proto nodes 17.768 ms/op 7.9139 ms/op 2.25
computeDeltas 2100000 validators 300 proto nodes 27.674 ms/op 14.074 ms/op 1.97
computeDeltas 2100000 validators 1200 proto nodes 30.653 ms/op 12.412 ms/op 2.47
computeDeltas 2100000 validators 7200 proto nodes 26.880 ms/op 12.121 ms/op 2.22
altair processAttestation - 250000 vs - 7PWei normalcase 5.1376 ms/op 1.3925 ms/op 3.69
altair processAttestation - 250000 vs - 7PWei worstcase 6.1593 ms/op 2.0903 ms/op 2.95
altair processAttestation - setStatus - 1/6 committees join 288.80 us/op 68.407 us/op 4.22
altair processAttestation - setStatus - 1/3 committees join 537.80 us/op 133.63 us/op 4.02
altair processAttestation - setStatus - 1/2 committees join 592.80 us/op 207.40 us/op 2.86
altair processAttestation - setStatus - 2/3 committees join 729.49 us/op 268.79 us/op 2.71
altair processAttestation - setStatus - 4/5 committees join 1.1816 ms/op 401.77 us/op 2.94
altair processAttestation - setStatus - 100% committees join 999.03 us/op 472.16 us/op 2.12
altair processBlock - 250000 vs - 7PWei normalcase 9.8796 ms/op 3.8779 ms/op 2.55
altair processBlock - 250000 vs - 7PWei normalcase hashState 31.324 ms/op 27.179 ms/op 1.15
altair processBlock - 250000 vs - 7PWei worstcase 40.946 ms/op 36.271 ms/op 1.13
altair processBlock - 250000 vs - 7PWei worstcase hashState 88.119 ms/op 66.063 ms/op 1.33
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6391 ms/op 1.6267 ms/op 1.62
phase0 processBlock - 250000 vs - 7PWei worstcase 38.231 ms/op 23.133 ms/op 1.65
altair processEth1Data - 250000 vs - 7PWei normalcase 881.58 us/op 251.93 us/op 3.50
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 13.763 us/op 4.2350 us/op 3.25
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 66.943 us/op 27.233 us/op 2.46
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 23.863 us/op 7.6860 us/op 3.10
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 17.717 us/op 3.0420 us/op 5.82
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 240.38 us/op 126.48 us/op 1.90
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.9119 ms/op 790.76 us/op 2.42
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.9592 ms/op 1.2099 ms/op 2.45
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 3.1146 ms/op 1.1009 ms/op 2.83
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 9.3974 ms/op 2.8360 ms/op 3.31
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.6487 ms/op 1.1104 ms/op 3.29
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 9.8022 ms/op 2.7365 ms/op 3.58
Tree 40 250000 create 774.31 ms/op 189.23 ms/op 4.09
Tree 40 250000 get(125000) 276.38 ns/op 107.75 ns/op 2.57
Tree 40 250000 set(125000) 2.9650 us/op 529.10 ns/op 5.60
Tree 40 250000 toArray() 42.308 ms/op 17.217 ms/op 2.46
Tree 40 250000 iterate all - toArray() + loop 40.425 ms/op 16.896 ms/op 2.39
Tree 40 250000 iterate all - get(i) 108.86 ms/op 42.047 ms/op 2.59
Array 250000 create 5.8997 ms/op 2.5353 ms/op 2.33
Array 250000 clone - spread 6.4922 ms/op 1.2485 ms/op 5.20
Array 250000 get(125000) 0.58600 ns/op 0.56800 ns/op 1.03
Array 250000 set(125000) 0.80100 ns/op 0.58000 ns/op 1.38
Array 250000 iterate all - loop 150.98 us/op 76.854 us/op 1.96
phase0 afterProcessEpoch - 250000 vs - 7PWei 156.85 ms/op 74.066 ms/op 2.12
Array.fill - length 1000000 12.510 ms/op 2.4914 ms/op 5.02
Array push - length 1000000 64.313 ms/op 14.499 ms/op 4.44
Array.get 0.61163 ns/op 0.25257 ns/op 2.42
Uint8Array.get 0.80348 ns/op 0.33719 ns/op 2.38
phase0 beforeProcessEpoch - 250000 vs - 7PWei 49.922 ms/op 12.573 ms/op 3.97
altair processEpoch - mainnet_e81889 472.84 ms/op 295.13 ms/op 1.60
mainnet_e81889 - altair beforeProcessEpoch 26.612 ms/op 16.210 ms/op 1.64
mainnet_e81889 - altair processJustificationAndFinalization 29.453 us/op 8.4270 us/op 3.50
mainnet_e81889 - altair processInactivityUpdates 9.2959 ms/op 4.4476 ms/op 2.09
mainnet_e81889 - altair processRewardsAndPenalties 50.033 ms/op 53.097 ms/op 0.94
mainnet_e81889 - altair processRegistryUpdates 2.8150 us/op 1.7330 us/op 1.62
mainnet_e81889 - altair processSlashings 749.00 ns/op 711.00 ns/op 1.05
mainnet_e81889 - altair processEth1DataReset 693.00 ns/op 676.00 ns/op 1.03
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.6791 ms/op 1.6576 ms/op 1.01
mainnet_e81889 - altair processSlashingsReset 5.1750 us/op 2.3620 us/op 2.19
mainnet_e81889 - altair processRandaoMixesReset 5.4060 us/op 2.4550 us/op 2.20
mainnet_e81889 - altair processHistoricalRootsUpdate 754.00 ns/op 669.00 ns/op 1.13
mainnet_e81889 - altair processParticipationFlagUpdates 2.9810 us/op 1.4880 us/op 2.00
mainnet_e81889 - altair processSyncCommitteeUpdates 683.00 ns/op 608.00 ns/op 1.12
mainnet_e81889 - altair afterProcessEpoch 100.77 ms/op 76.785 ms/op 1.31
capella processEpoch - mainnet_e217614 1.1555 s/op 1.0930 s/op 1.06
mainnet_e217614 - capella beforeProcessEpoch 68.726 ms/op 63.415 ms/op 1.08
mainnet_e217614 - capella processJustificationAndFinalization 15.803 us/op 10.968 us/op 1.44
mainnet_e217614 - capella processInactivityUpdates 18.109 ms/op 14.034 ms/op 1.29
mainnet_e217614 - capella processRewardsAndPenalties 231.33 ms/op 254.80 ms/op 0.91
mainnet_e217614 - capella processRegistryUpdates 15.557 us/op 10.334 us/op 1.51
mainnet_e217614 - capella processSlashings 545.00 ns/op 718.00 ns/op 0.76
mainnet_e217614 - capella processEth1DataReset 599.00 ns/op 683.00 ns/op 0.88
mainnet_e217614 - capella processEffectiveBalanceUpdates 14.749 ms/op 5.9587 ms/op 2.48
mainnet_e217614 - capella processSlashingsReset 4.6010 us/op 1.2850 us/op 3.58
mainnet_e217614 - capella processRandaoMixesReset 7.4010 us/op 2.8650 us/op 2.58
mainnet_e217614 - capella processHistoricalRootsUpdate 528.00 ns/op 678.00 ns/op 0.78
mainnet_e217614 - capella processParticipationFlagUpdates 2.1520 us/op 1.3540 us/op 1.59
mainnet_e217614 - capella afterProcessEpoch 247.81 ms/op 197.16 ms/op 1.26
phase0 processEpoch - mainnet_e58758 392.66 ms/op 335.70 ms/op 1.17
mainnet_e58758 - phase0 beforeProcessEpoch 84.737 ms/op 72.663 ms/op 1.17
mainnet_e58758 - phase0 processJustificationAndFinalization 14.571 us/op 11.958 us/op 1.22
mainnet_e58758 - phase0 processRewardsAndPenalties 33.141 ms/op 33.533 ms/op 0.99
mainnet_e58758 - phase0 processRegistryUpdates 8.8420 us/op 5.4360 us/op 1.63
mainnet_e58758 - phase0 processSlashings 601.00 ns/op 727.00 ns/op 0.83
mainnet_e58758 - phase0 processEth1DataReset 485.00 ns/op 673.00 ns/op 0.72
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.2030 ms/op 891.90 us/op 1.35
mainnet_e58758 - phase0 processSlashingsReset 4.4150 us/op 2.2120 us/op 2.00
mainnet_e58758 - phase0 processRandaoMixesReset 6.8070 us/op 2.9720 us/op 2.29
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.1970 us/op 649.00 ns/op 1.84
mainnet_e58758 - phase0 processParticipationRecordUpdates 5.5380 us/op 2.9440 us/op 1.88
mainnet_e58758 - phase0 afterProcessEpoch 89.177 ms/op 63.827 ms/op 1.40
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.8409 ms/op 1.0443 ms/op 1.76
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 4.0481 ms/op 1.7837 ms/op 2.27
altair processInactivityUpdates - 250000 normalcase 20.500 ms/op 15.606 ms/op 1.31
altair processInactivityUpdates - 250000 worstcase 17.481 ms/op 15.131 ms/op 1.16
phase0 processRegistryUpdates - 250000 normalcase 8.5180 us/op 4.5040 us/op 1.89
phase0 processRegistryUpdates - 250000 badcase_full_deposits 372.92 us/op 309.60 us/op 1.20
phase0 processRegistryUpdates - 250000 worstcase 0.5 161.26 ms/op 91.045 ms/op 1.77
altair processRewardsAndPenalties - 250000 normalcase 56.178 ms/op 38.313 ms/op 1.47
altair processRewardsAndPenalties - 250000 worstcase 51.543 ms/op 37.513 ms/op 1.37
phase0 getAttestationDeltas - 250000 normalcase 11.761 ms/op 6.3644 ms/op 1.85
phase0 getAttestationDeltas - 250000 worstcase 11.815 ms/op 6.3517 ms/op 1.86
phase0 processSlashings - 250000 worstcase 129.50 us/op 87.612 us/op 1.48
altair processSyncCommitteeUpdates - 250000 149.68 ms/op 100.55 ms/op 1.49
BeaconState.hashTreeRoot - No change 511.00 ns/op 490.00 ns/op 1.04
BeaconState.hashTreeRoot - 1 full validator 172.06 us/op 126.57 us/op 1.36
BeaconState.hashTreeRoot - 32 full validator 1.3311 ms/op 1.4440 ms/op 0.92
BeaconState.hashTreeRoot - 512 full validator 15.264 ms/op 15.324 ms/op 1.00
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 161.54 us/op 144.93 us/op 1.11
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.9327 ms/op 1.9587 ms/op 1.50
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 29.799 ms/op 25.340 ms/op 1.18
BeaconState.hashTreeRoot - 1 balances 109.82 us/op 108.89 us/op 1.01
BeaconState.hashTreeRoot - 32 balances 1.0526 ms/op 1.0317 ms/op 1.02
BeaconState.hashTreeRoot - 512 balances 9.8108 ms/op 8.5688 ms/op 1.14
BeaconState.hashTreeRoot - 250000 balances 175.63 ms/op 175.93 ms/op 1.00
aggregationBits - 2048 els - zipIndexesInBitList 39.527 us/op 19.222 us/op 2.06
byteArrayEquals 32 57.686 ns/op 45.820 ns/op 1.26
Buffer.compare 32 19.569 ns/op 15.225 ns/op 1.29
byteArrayEquals 1024 1.6941 us/op 1.2199 us/op 1.39
Buffer.compare 1024 27.544 ns/op 21.735 ns/op 1.27
byteArrayEquals 16384 25.981 us/op 19.337 us/op 1.34
Buffer.compare 16384 192.78 ns/op 190.54 ns/op 1.01
byteArrayEquals 123687377 195.58 ms/op 149.33 ms/op 1.31
Buffer.compare 123687377 8.5337 ms/op 3.6902 ms/op 2.31
byteArrayEquals 32 - diff last byte 52.187 ns/op 46.838 ns/op 1.11
Buffer.compare 32 - diff last byte 16.961 ns/op 15.692 ns/op 1.08
byteArrayEquals 1024 - diff last byte 1.5922 us/op 1.2491 us/op 1.27
Buffer.compare 1024 - diff last byte 25.134 ns/op 23.146 ns/op 1.09
byteArrayEquals 16384 - diff last byte 25.466 us/op 19.830 us/op 1.28
Buffer.compare 16384 - diff last byte 195.21 ns/op 182.96 ns/op 1.07
byteArrayEquals 123687377 - diff last byte 188.60 ms/op 148.90 ms/op 1.27
Buffer.compare 123687377 - diff last byte 6.1816 ms/op 5.3309 ms/op 1.16
byteArrayEquals 32 - random bytes 4.9170 ns/op 4.3330 ns/op 1.13
Buffer.compare 32 - random bytes 16.376 ns/op 14.153 ns/op 1.16
byteArrayEquals 1024 - random bytes 4.9130 ns/op 4.2880 ns/op 1.15
Buffer.compare 1024 - random bytes 16.376 ns/op 13.913 ns/op 1.18
byteArrayEquals 16384 - random bytes 4.8940 ns/op 4.3350 ns/op 1.13
Buffer.compare 16384 - random bytes 16.495 ns/op 13.944 ns/op 1.18
byteArrayEquals 123687377 - random bytes 6.2300 ns/op 6.8200 ns/op 0.91
Buffer.compare 123687377 - random bytes 17.710 ns/op 16.200 ns/op 1.09
regular array get 100000 times 32.010 us/op 26.774 us/op 1.20
wrappedArray get 100000 times 32.022 us/op 26.745 us/op 1.20
arrayWithProxy get 100000 times 13.020 ms/op 10.509 ms/op 1.24
ssz.Root.equals 45.474 ns/op 39.950 ns/op 1.14
byteArrayEquals 44.972 ns/op 39.518 ns/op 1.14
Buffer.compare 10.407 ns/op 8.2690 ns/op 1.26
shuffle list - 16384 els 6.1137 ms/op 4.8381 ms/op 1.26
shuffle list - 250000 els 87.923 ms/op 71.407 ms/op 1.23
processSlot - 1 slots 12.268 us/op 14.323 us/op 0.86
processSlot - 32 slots 2.9331 ms/op 2.8882 ms/op 1.02
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 35.660 ms/op 43.380 ms/op 0.82
getCommitteeAssignments - req 1 vs - 250000 vc 2.1089 ms/op 1.7001 ms/op 1.24
getCommitteeAssignments - req 100 vs - 250000 vc 4.0264 ms/op 3.4079 ms/op 1.18
getCommitteeAssignments - req 1000 vs - 250000 vc 4.3716 ms/op 3.6762 ms/op 1.19
findModifiedValidators - 10000 modified validators 248.55 ms/op 224.35 ms/op 1.11
findModifiedValidators - 1000 modified validators 160.21 ms/op 147.07 ms/op 1.09
findModifiedValidators - 100 modified validators 146.98 ms/op 142.55 ms/op 1.03
findModifiedValidators - 10 modified validators 155.23 ms/op 134.22 ms/op 1.16
findModifiedValidators - 1 modified validators 166.59 ms/op 159.09 ms/op 1.05
findModifiedValidators - no difference 154.82 ms/op 154.85 ms/op 1.00
compare ViewDUs 2.9547 s/op 3.4324 s/op 0.86
compare each validator Uint8Array 1.6017 s/op 1.4519 s/op 1.10
compare ViewDU to Uint8Array 1.1217 s/op 644.77 ms/op 1.74
migrate state 1000000 validators, 24 modified, 0 new 588.07 ms/op 599.39 ms/op 0.98
migrate state 1000000 validators, 1700 modified, 1000 new 816.42 ms/op 806.91 ms/op 1.01
migrate state 1000000 validators, 3400 modified, 2000 new 1.1095 s/op 988.12 ms/op 1.12
migrate state 1500000 validators, 24 modified, 0 new 679.87 ms/op 591.46 ms/op 1.15
migrate state 1500000 validators, 1700 modified, 1000 new 817.09 ms/op 805.69 ms/op 1.01
migrate state 1500000 validators, 3400 modified, 2000 new 971.17 ms/op 1.0544 s/op 0.92
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.4100 ns/op 5.9400 ns/op 0.74
state getBlockRootAtSlot - 250000 vs - 7PWei 696.86 ns/op 763.32 ns/op 0.91
computeProposers - vc 250000 7.7600 ms/op 6.6971 ms/op 1.16
computeEpochShuffling - vc 250000 91.927 ms/op 79.611 ms/op 1.15
getNextSyncCommittee - vc 250000 123.95 ms/op 112.24 ms/op 1.10
computeSigningRoot for AttestationData 18.310 us/op 16.462 us/op 1.11
hash AttestationData serialized data then Buffer.toString(base64) 1.5657 us/op 1.1701 us/op 1.34
toHexString serialized data 882.96 ns/op 822.06 ns/op 1.07
Buffer.toString(base64) 189.18 ns/op 130.12 ns/op 1.45
nodejs block root to RootHex using toHex 147.70 ns/op 105.40 ns/op 1.40
nodejs block root to RootHex using toRootHex 96.000 ns/op 70.528 ns/op 1.36
browser block root to RootHex using the deprecated toHexString 225.60 ns/op 205.98 ns/op 1.10
browser block root to RootHex using toHex 192.51 ns/op 168.99 ns/op 1.14
browser block root to RootHex using toRootHex 166.10 ns/op 147.18 ns/op 1.13

Please sign in to comment.