Skip to content

Commit

Permalink
deps: update systeminformation to 5.22.9 (#6823)
Browse files Browse the repository at this point in the history
  • Loading branch information
nflaig authored May 28, 2024
1 parent deafa4f commit 8b6ecc4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/beacon-node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@
"qs": "^6.11.1",
"snappyjs": "^0.7.0",
"strict-event-emitter-types": "^2.0.0",
"systeminformation": "^5.17.12",
"systeminformation": "^5.22.9",
"uint8arraylist": "^2.4.7",
"xxhash-wasm": "1.0.2"
},
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12003,10 +12003,10 @@ synckit@^0.8.6:
"@pkgr/core" "^0.1.0"
tslib "^2.6.2"

systeminformation@^5.17.12:
version "5.21.7"
resolved "https://registry.yarnpkg.com/systeminformation/-/systeminformation-5.21.7.tgz#53ef75daaf5d756d015f4bb02e059126ccac74f2"
integrity sha512-K3LjnajrazTLTD61+87DFg8IXFk5ljx6nSBqB8pQLtC1UPivAjDtTYGPZ8jaBFxcesPaCOkvLRtBq+RFscrsLw==
systeminformation@^5.22.9:
version "5.22.9"
resolved "https://registry.yarnpkg.com/systeminformation/-/systeminformation-5.22.9.tgz#68700a895a48cbf96e2cd6a34c5027d1fe58f053"
integrity sha512-qUWJhQ9JSBhdjzNUQywpvc0icxUAjMY3sZqUoS0GOtaJV9Ijq8s9zEP8Gaqmymn1dOefcICyPXK1L3kgKxlUpg==

tapable@^2.2.0:
version "2.2.1"
Expand Down

1 comment on commit 8b6ecc4

@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: 8b6ecc4 Previous: 1831d47 Ratio
Map get x1000 7.0500 ns/op 0.82900 ns/op 8.50

🚀🚀 Significant benchmark improvement detected

Benchmark suite Current: 8b6ecc4 Previous: 1831d47 Ratio
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 6.5370 us/op 20.016 us/op 0.33
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 24.866 us/op 78.520 us/op 0.32
Full benchmark results
Benchmark suite Current: 8b6ecc4 Previous: 1831d47 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 938.75 us/op 1.0257 ms/op 0.92
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 48.287 us/op 91.813 us/op 0.53
BLS verify - blst-native 1.1825 ms/op 1.1944 ms/op 0.99
BLS verifyMultipleSignatures 3 - blst-native 2.4792 ms/op 2.5098 ms/op 0.99
BLS verifyMultipleSignatures 8 - blst-native 5.3882 ms/op 5.5071 ms/op 0.98
BLS verifyMultipleSignatures 32 - blst-native 19.694 ms/op 20.004 ms/op 0.98
BLS verifyMultipleSignatures 64 - blst-native 38.632 ms/op 39.836 ms/op 0.97
BLS verifyMultipleSignatures 128 - blst-native 75.759 ms/op 77.788 ms/op 0.97
BLS deserializing 10000 signatures 860.86 ms/op 890.53 ms/op 0.97
BLS deserializing 100000 signatures 8.8004 s/op 8.9152 s/op 0.99
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.2651 ms/op 1.2771 ms/op 0.99
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4332 ms/op 1.4502 ms/op 0.99
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.2299 ms/op 2.2828 ms/op 0.98
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.3273 ms/op 3.3959 ms/op 0.98
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.4543 ms/op 5.6055 ms/op 0.97
BLS aggregatePubkeys 32 - blst-native 27.016 us/op 28.328 us/op 0.95
BLS aggregatePubkeys 128 - blst-native 105.64 us/op 110.16 us/op 0.96
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 50.345 ms/op 63.617 ms/op 0.79
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 48.830 ms/op 51.832 ms/op 0.94
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 29.092 ms/op 31.658 ms/op 0.92
getSlashingsAndExits - default max 89.072 us/op 206.36 us/op 0.43
getSlashingsAndExits - 2k 258.60 us/op 526.77 us/op 0.49
proposeBlockBody type=full, size=empty 5.1887 ms/op 5.6800 ms/op 0.91
isKnown best case - 1 super set check 298.00 ns/op 469.00 ns/op 0.64
isKnown normal case - 2 super set checks 288.00 ns/op 401.00 ns/op 0.72
isKnown worse case - 16 super set checks 301.00 ns/op 403.00 ns/op 0.75
InMemoryCheckpointStateCache - add get delete 4.3630 us/op 6.4700 us/op 0.67
validate api signedAggregateAndProof - struct 2.4355 ms/op 2.5282 ms/op 0.96
validate gossip signedAggregateAndProof - struct 2.4335 ms/op 2.5318 ms/op 0.96
validate gossip attestation - vc 640000 1.1844 ms/op 1.2302 ms/op 0.96
batch validate gossip attestation - vc 640000 - chunk 32 152.42 us/op 169.82 us/op 0.90
batch validate gossip attestation - vc 640000 - chunk 64 134.15 us/op 154.43 us/op 0.87
batch validate gossip attestation - vc 640000 - chunk 128 135.13 us/op 147.94 us/op 0.91
batch validate gossip attestation - vc 640000 - chunk 256 135.43 us/op 138.31 us/op 0.98
pickEth1Vote - no votes 1.1063 ms/op 1.3061 ms/op 0.85
pickEth1Vote - max votes 9.7620 ms/op 7.5759 ms/op 1.29
pickEth1Vote - Eth1Data hashTreeRoot value x2048 20.370 ms/op 17.163 ms/op 1.19
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 19.802 ms/op 18.817 ms/op 1.05
pickEth1Vote - Eth1Data fastSerialize value x2048 513.50 us/op 629.05 us/op 0.82
pickEth1Vote - Eth1Data fastSerialize tree x2048 7.5258 ms/op 4.0735 ms/op 1.85
bytes32 toHexString 533.00 ns/op 454.00 ns/op 1.17
bytes32 Buffer.toString(hex) 249.00 ns/op 280.00 ns/op 0.89
bytes32 Buffer.toString(hex) from Uint8Array 380.00 ns/op 410.00 ns/op 0.93
bytes32 Buffer.toString(hex) + 0x 266.00 ns/op 282.00 ns/op 0.94
Object access 1 prop 0.14700 ns/op 0.16000 ns/op 0.92
Map access 1 prop 0.13300 ns/op 0.14400 ns/op 0.92
Object get x1000 6.0840 ns/op 7.3090 ns/op 0.83
Map get x1000 7.0500 ns/op 0.82900 ns/op 8.50
Object set x1000 35.508 ns/op 46.375 ns/op 0.77
Map set x1000 24.734 ns/op 26.952 ns/op 0.92
Return object 10000 times 0.29970 ns/op 0.25260 ns/op 1.19
Throw Error 10000 times 3.5739 us/op 3.5376 us/op 1.01
fastMsgIdFn sha256 / 200 bytes 2.2180 us/op 2.4420 us/op 0.91
fastMsgIdFn h32 xxhash / 200 bytes 233.00 ns/op 316.00 ns/op 0.74
fastMsgIdFn h64 xxhash / 200 bytes 265.00 ns/op 365.00 ns/op 0.73
fastMsgIdFn sha256 / 1000 bytes 7.6520 us/op 7.7160 us/op 0.99
fastMsgIdFn h32 xxhash / 1000 bytes 391.00 ns/op 452.00 ns/op 0.87
fastMsgIdFn h64 xxhash / 1000 bytes 349.00 ns/op 439.00 ns/op 0.79
fastMsgIdFn sha256 / 10000 bytes 66.804 us/op 66.973 us/op 1.00
fastMsgIdFn h32 xxhash / 10000 bytes 1.9370 us/op 1.9620 us/op 0.99
fastMsgIdFn h64 xxhash / 10000 bytes 1.2560 us/op 1.3320 us/op 0.94
send data - 1000 256B messages 13.367 ms/op 15.178 ms/op 0.88
send data - 1000 512B messages 19.066 ms/op 19.989 ms/op 0.95
send data - 1000 1024B messages 27.968 ms/op 27.936 ms/op 1.00
send data - 1000 1200B messages 28.272 ms/op 21.489 ms/op 1.32
send data - 1000 2048B messages 32.347 ms/op 38.635 ms/op 0.84
send data - 1000 4096B messages 33.821 ms/op 38.485 ms/op 0.88
send data - 1000 16384B messages 78.672 ms/op 84.417 ms/op 0.93
send data - 1000 65536B messages 221.38 ms/op 322.70 ms/op 0.69
enrSubnets - fastDeserialize 64 bits 1.1220 us/op 1.2680 us/op 0.88
enrSubnets - ssz BitVector 64 bits 351.00 ns/op 513.00 ns/op 0.68
enrSubnets - fastDeserialize 4 bits 151.00 ns/op 204.00 ns/op 0.74
enrSubnets - ssz BitVector 4 bits 375.00 ns/op 506.00 ns/op 0.74
prioritizePeers score -10:0 att 32-0.1 sync 2-0 157.00 us/op 202.45 us/op 0.78
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 152.62 us/op 257.98 us/op 0.59
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 271.88 us/op 340.46 us/op 0.80
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 404.83 us/op 519.15 us/op 0.78
prioritizePeers score 0:0 att 64-1 sync 4-1 602.36 us/op 620.46 us/op 0.97
array of 16000 items push then shift 1.7163 us/op 1.7221 us/op 1.00
LinkedList of 16000 items push then shift 7.5930 ns/op 8.4480 ns/op 0.90
array of 16000 items push then pop 122.57 ns/op 143.64 ns/op 0.85
LinkedList of 16000 items push then pop 7.1560 ns/op 7.4310 ns/op 0.96
array of 24000 items push then shift 2.4802 us/op 2.7020 us/op 0.92
LinkedList of 24000 items push then shift 7.3270 ns/op 7.5680 ns/op 0.97
array of 24000 items push then pop 137.18 ns/op 178.29 ns/op 0.77
LinkedList of 24000 items push then pop 7.6490 ns/op 6.7180 ns/op 1.14
intersect bitArray bitLen 8 6.7810 ns/op 6.0160 ns/op 1.13
intersect array and set length 8 48.769 ns/op 57.157 ns/op 0.85
intersect bitArray bitLen 128 31.000 ns/op 36.208 ns/op 0.86
intersect array and set length 128 738.23 ns/op 811.92 ns/op 0.91
bitArray.getTrueBitIndexes() bitLen 128 1.9830 us/op 1.3180 us/op 1.50
bitArray.getTrueBitIndexes() bitLen 248 3.8110 us/op 2.0960 us/op 1.82
bitArray.getTrueBitIndexes() bitLen 512 7.7020 us/op 4.1650 us/op 1.85
Buffer.concat 32 items 1.0040 us/op 860.00 ns/op 1.17
Uint8Array.set 32 items 1.4950 us/op 1.7580 us/op 0.85
Buffer.copy 1.6940 us/op 1.9350 us/op 0.88
Uint8Array.set - with subarray 2.9030 us/op 2.4580 us/op 1.18
Uint8Array.set - without subarray 1.4940 us/op 1.7020 us/op 0.88
Set add up to 64 items then delete first 2.6886 us/op 2.4258 us/op 1.11
OrderedSet add up to 64 items then delete first 3.8843 us/op 3.3601 us/op 1.16
Set add up to 64 items then delete last 3.0223 us/op 2.5285 us/op 1.20
OrderedSet add up to 64 items then delete last 3.9977 us/op 3.7789 us/op 1.06
Set add up to 64 items then delete middle 2.5951 us/op 2.6221 us/op 0.99
OrderedSet add up to 64 items then delete middle 5.5474 us/op 4.8645 us/op 1.14
Set add up to 128 items then delete first 5.2599 us/op 5.2343 us/op 1.00
OrderedSet add up to 128 items then delete first 7.6838 us/op 8.4389 us/op 0.91
Set add up to 128 items then delete last 5.1576 us/op 6.4213 us/op 0.80
OrderedSet add up to 128 items then delete last 7.9401 us/op 11.490 us/op 0.69
Set add up to 128 items then delete middle 5.2871 us/op 7.3960 us/op 0.71
OrderedSet add up to 128 items then delete middle 14.662 us/op 17.591 us/op 0.83
Set add up to 256 items then delete first 10.655 us/op 16.320 us/op 0.65
OrderedSet add up to 256 items then delete first 16.337 us/op 25.965 us/op 0.63
Set add up to 256 items then delete last 9.7729 us/op 17.377 us/op 0.56
OrderedSet add up to 256 items then delete last 14.910 us/op 26.055 us/op 0.57
Set add up to 256 items then delete middle 9.9254 us/op 12.880 us/op 0.77
OrderedSet add up to 256 items then delete middle 42.476 us/op 45.374 us/op 0.94
transfer serialized Status (84 B) 1.5230 us/op 1.9850 us/op 0.77
copy serialized Status (84 B) 1.2640 us/op 1.3290 us/op 0.95
transfer serialized SignedVoluntaryExit (112 B) 1.6770 us/op 2.0340 us/op 0.82
copy serialized SignedVoluntaryExit (112 B) 1.3630 us/op 1.6760 us/op 0.81
transfer serialized ProposerSlashing (416 B) 2.3350 us/op 2.4480 us/op 0.95
copy serialized ProposerSlashing (416 B) 2.3290 us/op 2.1600 us/op 1.08
transfer serialized Attestation (485 B) 1.7670 us/op 2.9640 us/op 0.60
copy serialized Attestation (485 B) 1.6200 us/op 1.9820 us/op 0.82
transfer serialized AttesterSlashing (33232 B) 1.7960 us/op 2.3240 us/op 0.77
copy serialized AttesterSlashing (33232 B) 5.3770 us/op 11.485 us/op 0.47
transfer serialized Small SignedBeaconBlock (128000 B) 2.5500 us/op 3.1210 us/op 0.82
copy serialized Small SignedBeaconBlock (128000 B) 17.098 us/op 36.542 us/op 0.47
transfer serialized Avg SignedBeaconBlock (200000 B) 3.1060 us/op 4.0810 us/op 0.76
copy serialized Avg SignedBeaconBlock (200000 B) 22.921 us/op 51.741 us/op 0.44
transfer serialized BlobsSidecar (524380 B) 3.1200 us/op 5.3190 us/op 0.59
copy serialized BlobsSidecar (524380 B) 81.207 us/op 170.88 us/op 0.48
transfer serialized Big SignedBeaconBlock (1000000 B) 2.8550 us/op 5.5620 us/op 0.51
copy serialized Big SignedBeaconBlock (1000000 B) 157.49 us/op 391.14 us/op 0.40
pass gossip attestations to forkchoice per slot 3.1808 ms/op 3.5228 ms/op 0.90
forkChoice updateHead vc 100000 bc 64 eq 0 507.21 us/op 577.32 us/op 0.88
forkChoice updateHead vc 600000 bc 64 eq 0 3.1880 ms/op 5.9359 ms/op 0.54
forkChoice updateHead vc 1000000 bc 64 eq 0 5.4507 ms/op 7.2292 ms/op 0.75
forkChoice updateHead vc 600000 bc 320 eq 0 3.0998 ms/op 3.9336 ms/op 0.79
forkChoice updateHead vc 600000 bc 1200 eq 0 3.3082 ms/op 4.3957 ms/op 0.75
forkChoice updateHead vc 600000 bc 7200 eq 0 3.9695 ms/op 5.9561 ms/op 0.67
forkChoice updateHead vc 600000 bc 64 eq 1000 11.389 ms/op 11.262 ms/op 1.01
forkChoice updateHead vc 600000 bc 64 eq 10000 11.522 ms/op 11.498 ms/op 1.00
forkChoice updateHead vc 600000 bc 64 eq 300000 15.355 ms/op 27.811 ms/op 0.55
computeDeltas 500000 validators 300 proto nodes 3.7209 ms/op 4.7317 ms/op 0.79
computeDeltas 500000 validators 1200 proto nodes 3.8218 ms/op 4.4011 ms/op 0.87
computeDeltas 500000 validators 7200 proto nodes 4.1058 ms/op 4.3780 ms/op 0.94
computeDeltas 750000 validators 300 proto nodes 6.5951 ms/op 5.8905 ms/op 1.12
computeDeltas 750000 validators 1200 proto nodes 6.1981 ms/op 6.2860 ms/op 0.99
computeDeltas 750000 validators 7200 proto nodes 5.9281 ms/op 5.7938 ms/op 1.02
computeDeltas 1400000 validators 300 proto nodes 10.811 ms/op 10.666 ms/op 1.01
computeDeltas 1400000 validators 1200 proto nodes 10.407 ms/op 10.422 ms/op 1.00
computeDeltas 1400000 validators 7200 proto nodes 10.135 ms/op 9.8196 ms/op 1.03
computeDeltas 2100000 validators 300 proto nodes 14.836 ms/op 14.477 ms/op 1.02
computeDeltas 2100000 validators 1200 proto nodes 14.403 ms/op 14.634 ms/op 0.98
computeDeltas 2100000 validators 7200 proto nodes 14.908 ms/op 15.341 ms/op 0.97
altair processAttestation - 250000 vs - 7PWei normalcase 1.7732 ms/op 1.8005 ms/op 0.98
altair processAttestation - 250000 vs - 7PWei worstcase 2.6951 ms/op 3.3565 ms/op 0.80
altair processAttestation - setStatus - 1/6 committees join 88.826 us/op 138.49 us/op 0.64
altair processAttestation - setStatus - 1/3 committees join 184.30 us/op 279.08 us/op 0.66
altair processAttestation - setStatus - 1/2 committees join 246.23 us/op 403.35 us/op 0.61
altair processAttestation - setStatus - 2/3 committees join 334.35 us/op 478.24 us/op 0.70
altair processAttestation - setStatus - 4/5 committees join 469.32 us/op 663.75 us/op 0.71
altair processAttestation - setStatus - 100% committees join 567.62 us/op 828.05 us/op 0.69
altair processBlock - 250000 vs - 7PWei normalcase 4.3318 ms/op 9.1828 ms/op 0.47
altair processBlock - 250000 vs - 7PWei normalcase hashState 26.430 ms/op 38.930 ms/op 0.68
altair processBlock - 250000 vs - 7PWei worstcase 39.800 ms/op 33.732 ms/op 1.18
altair processBlock - 250000 vs - 7PWei worstcase hashState 85.064 ms/op 99.842 ms/op 0.85
phase0 processBlock - 250000 vs - 7PWei normalcase 2.2540 ms/op 2.8316 ms/op 0.80
phase0 processBlock - 250000 vs - 7PWei worstcase 26.556 ms/op 31.345 ms/op 0.85
altair processEth1Data - 250000 vs - 7PWei normalcase 409.92 us/op 575.72 us/op 0.71
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 6.5370 us/op 20.016 us/op 0.33
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 24.866 us/op 78.520 us/op 0.32
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 9.0260 us/op 24.386 us/op 0.37
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 6.1080 us/op 16.203 us/op 0.38
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 118.29 us/op 232.44 us/op 0.51
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 706.45 us/op 1.4294 ms/op 0.49
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 954.76 us/op 1.6577 ms/op 0.58
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 977.66 us/op 1.6281 ms/op 0.60
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 2.2173 ms/op 3.4342 ms/op 0.65
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 1.5585 ms/op 3.0323 ms/op 0.51
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.6733 ms/op 4.2436 ms/op 0.87
Tree 40 250000 create 265.84 ms/op 226.50 ms/op 1.17
Tree 40 250000 get(125000) 158.84 ns/op 151.80 ns/op 1.05
Tree 40 250000 set(125000) 760.55 ns/op 689.21 ns/op 1.10
Tree 40 250000 toArray() 21.602 ms/op 18.327 ms/op 1.18
Tree 40 250000 iterate all - toArray() + loop 22.924 ms/op 16.471 ms/op 1.39
Tree 40 250000 iterate all - get(i) 58.627 ms/op 59.284 ms/op 0.99
MutableVector 250000 create 10.938 ms/op 8.3733 ms/op 1.31
MutableVector 250000 get(125000) 6.3670 ns/op 6.8270 ns/op 0.93
MutableVector 250000 set(125000) 220.73 ns/op 235.54 ns/op 0.94
MutableVector 250000 toArray() 3.8434 ms/op 4.1303 ms/op 0.93
MutableVector 250000 iterate all - toArray() + loop 4.4589 ms/op 4.9632 ms/op 0.90
MutableVector 250000 iterate all - get(i) 1.6040 ms/op 1.7527 ms/op 0.92
Array 250000 create 3.7210 ms/op 3.9852 ms/op 0.93
Array 250000 clone - spread 1.4920 ms/op 1.4409 ms/op 1.04
Array 250000 get(125000) 0.43800 ns/op 0.99800 ns/op 0.44
Array 250000 set(125000) 0.46200 ns/op 1.2290 ns/op 0.38
Array 250000 iterate all - loop 95.067 us/op 168.16 us/op 0.57
effectiveBalanceIncrements clone Uint8Array 300000 39.069 us/op 33.614 us/op 1.16
effectiveBalanceIncrements clone MutableVector 300000 132.00 ns/op 311.00 ns/op 0.42
effectiveBalanceIncrements rw all Uint8Array 300000 200.81 us/op 202.44 us/op 0.99
effectiveBalanceIncrements rw all MutableVector 300000 71.587 ms/op 77.851 ms/op 0.92
phase0 afterProcessEpoch - 250000 vs - 7PWei 91.639 ms/op 92.217 ms/op 0.99
phase0 beforeProcessEpoch - 250000 vs - 7PWei 44.203 ms/op 47.568 ms/op 0.93
altair processEpoch - mainnet_e81889 426.31 ms/op 407.61 ms/op 1.05
mainnet_e81889 - altair beforeProcessEpoch 71.217 ms/op 75.233 ms/op 0.95
mainnet_e81889 - altair processJustificationAndFinalization 16.760 us/op 17.173 us/op 0.98
mainnet_e81889 - altair processInactivityUpdates 6.7589 ms/op 5.6221 ms/op 1.20
mainnet_e81889 - altair processRewardsAndPenalties 44.483 ms/op 40.128 ms/op 1.11
mainnet_e81889 - altair processRegistryUpdates 2.9110 us/op 2.4800 us/op 1.17
mainnet_e81889 - altair processSlashings 472.00 ns/op 477.00 ns/op 0.99
mainnet_e81889 - altair processEth1DataReset 484.00 ns/op 931.00 ns/op 0.52
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.1177 ms/op 1.4703 ms/op 0.76
mainnet_e81889 - altair processSlashingsReset 3.8280 us/op 4.8730 us/op 0.79
mainnet_e81889 - altair processRandaoMixesReset 5.7230 us/op 6.2030 us/op 0.92
mainnet_e81889 - altair processHistoricalRootsUpdate 1.1660 us/op 983.00 ns/op 1.19
mainnet_e81889 - altair processParticipationFlagUpdates 3.4650 us/op 2.2730 us/op 1.52
mainnet_e81889 - altair processSyncCommitteeUpdates 770.00 ns/op 1.0150 us/op 0.76
mainnet_e81889 - altair afterProcessEpoch 100.10 ms/op 100.33 ms/op 1.00
capella processEpoch - mainnet_e217614 2.0809 s/op 1.5443 s/op 1.35
mainnet_e217614 - capella beforeProcessEpoch 337.65 ms/op 299.30 ms/op 1.13
mainnet_e217614 - capella processJustificationAndFinalization 42.337 us/op 18.902 us/op 2.24
mainnet_e217614 - capella processInactivityUpdates 35.901 ms/op 17.245 ms/op 2.08
mainnet_e217614 - capella processRewardsAndPenalties 289.96 ms/op 250.60 ms/op 1.16
mainnet_e217614 - capella processRegistryUpdates 14.420 us/op 31.322 us/op 0.46
mainnet_e217614 - capella processSlashings 735.00 ns/op 649.00 ns/op 1.13
mainnet_e217614 - capella processEth1DataReset 467.00 ns/op 430.00 ns/op 1.09
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.8323 ms/op 4.3153 ms/op 0.89
mainnet_e217614 - capella processSlashingsReset 5.3130 us/op 3.8000 us/op 1.40
mainnet_e217614 - capella processRandaoMixesReset 10.147 us/op 6.0340 us/op 1.68
mainnet_e217614 - capella processHistoricalRootsUpdate 1.3510 us/op 992.00 ns/op 1.36
mainnet_e217614 - capella processParticipationFlagUpdates 4.7550 us/op 1.9630 us/op 2.42
mainnet_e217614 - capella afterProcessEpoch 284.38 ms/op 275.25 ms/op 1.03
phase0 processEpoch - mainnet_e58758 426.22 ms/op 498.36 ms/op 0.86
mainnet_e58758 - phase0 beforeProcessEpoch 117.85 ms/op 156.95 ms/op 0.75
mainnet_e58758 - phase0 processJustificationAndFinalization 13.725 us/op 22.245 us/op 0.62
mainnet_e58758 - phase0 processRewardsAndPenalties 21.140 ms/op 22.159 ms/op 0.95
mainnet_e58758 - phase0 processRegistryUpdates 7.3030 us/op 13.971 us/op 0.52
mainnet_e58758 - phase0 processSlashings 327.00 ns/op 588.00 ns/op 0.56
mainnet_e58758 - phase0 processEth1DataReset 459.00 ns/op 432.00 ns/op 1.06
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 938.17 us/op 1.1432 ms/op 0.82
mainnet_e58758 - phase0 processSlashingsReset 3.7790 us/op 4.0090 us/op 0.94
mainnet_e58758 - phase0 processRandaoMixesReset 5.2320 us/op 4.9280 us/op 1.06
mainnet_e58758 - phase0 processHistoricalRootsUpdate 624.00 ns/op 430.00 ns/op 1.45
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.8340 us/op 4.7500 us/op 0.81
mainnet_e58758 - phase0 afterProcessEpoch 84.475 ms/op 84.735 ms/op 1.00
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.1501 ms/op 1.3000 ms/op 0.88
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 2.0175 ms/op 5.3494 ms/op 0.38
altair processInactivityUpdates - 250000 normalcase 17.222 ms/op 17.397 ms/op 0.99
altair processInactivityUpdates - 250000 worstcase 17.050 ms/op 17.093 ms/op 1.00
phase0 processRegistryUpdates - 250000 normalcase 7.4830 us/op 12.195 us/op 0.61
phase0 processRegistryUpdates - 250000 badcase_full_deposits 293.97 us/op 374.11 us/op 0.79
phase0 processRegistryUpdates - 250000 worstcase 0.5 137.08 ms/op 144.93 ms/op 0.95
altair processRewardsAndPenalties - 250000 normalcase 37.847 ms/op 45.625 ms/op 0.83
altair processRewardsAndPenalties - 250000 worstcase 37.862 ms/op 44.668 ms/op 0.85
phase0 getAttestationDeltas - 250000 normalcase 8.1059 ms/op 8.6649 ms/op 0.94
phase0 getAttestationDeltas - 250000 worstcase 10.539 ms/op 9.3644 ms/op 1.13
phase0 processSlashings - 250000 worstcase 114.35 us/op 90.393 us/op 1.27
altair processSyncCommitteeUpdates - 250000 145.04 ms/op 137.11 ms/op 1.06
BeaconState.hashTreeRoot - No change 329.00 ns/op 484.00 ns/op 0.68
BeaconState.hashTreeRoot - 1 full validator 101.07 us/op 139.48 us/op 0.72
BeaconState.hashTreeRoot - 32 full validator 1.0721 ms/op 1.5793 ms/op 0.68
BeaconState.hashTreeRoot - 512 full validator 14.460 ms/op 14.521 ms/op 1.00
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 161.74 us/op 154.61 us/op 1.05
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.4683 ms/op 2.1347 ms/op 1.16
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.247 ms/op 22.629 ms/op 1.12
BeaconState.hashTreeRoot - 1 balances 103.76 us/op 119.33 us/op 0.87
BeaconState.hashTreeRoot - 32 balances 1.4518 ms/op 1.3224 ms/op 1.10
BeaconState.hashTreeRoot - 512 balances 9.8096 ms/op 10.348 ms/op 0.95
BeaconState.hashTreeRoot - 250000 balances 186.78 ms/op 188.35 ms/op 0.99
aggregationBits - 2048 els - zipIndexesInBitList 31.803 us/op 26.606 us/op 1.20
byteArrayEquals 32 58.200 ns/op 76.758 ns/op 0.76
Buffer.compare 32 52.358 ns/op 52.083 ns/op 1.01
byteArrayEquals 1024 1.7325 us/op 2.0902 us/op 0.83
Buffer.compare 1024 62.227 ns/op 53.031 ns/op 1.17
byteArrayEquals 16384 27.618 us/op 33.277 us/op 0.83
Buffer.compare 16384 252.49 ns/op 240.68 ns/op 1.05
byteArrayEquals 123687377 196.27 ms/op 258.62 ms/op 0.76
Buffer.compare 123687377 8.0961 ms/op 8.5620 ms/op 0.95
byteArrayEquals 32 - diff last byte 53.400 ns/op 76.409 ns/op 0.70
Buffer.compare 32 - diff last byte 47.230 ns/op 52.859 ns/op 0.89
byteArrayEquals 1024 - diff last byte 1.6079 us/op 2.2269 us/op 0.72
Buffer.compare 1024 - diff last byte 56.020 ns/op 56.932 ns/op 0.98
byteArrayEquals 16384 - diff last byte 25.853 us/op 33.224 us/op 0.78
Buffer.compare 16384 - diff last byte 250.56 ns/op 232.68 ns/op 1.08
byteArrayEquals 123687377 - diff last byte 193.15 ms/op 251.80 ms/op 0.77
Buffer.compare 123687377 - diff last byte 7.3294 ms/op 8.0219 ms/op 0.91
byteArrayEquals 32 - random bytes 5.4360 ns/op 5.7060 ns/op 0.95
Buffer.compare 32 - random bytes 48.696 ns/op 52.205 ns/op 0.93
byteArrayEquals 1024 - random bytes 5.2320 ns/op 5.5290 ns/op 0.95
Buffer.compare 1024 - random bytes 47.178 ns/op 51.235 ns/op 0.92
byteArrayEquals 16384 - random bytes 5.1980 ns/op 5.5270 ns/op 0.94
Buffer.compare 16384 - random bytes 46.831 ns/op 51.360 ns/op 0.91
byteArrayEquals 123687377 - random bytes 6.5500 ns/op 8.3900 ns/op 0.78
Buffer.compare 123687377 - random bytes 48.330 ns/op 55.650 ns/op 0.87
regular array get 100000 times 34.529 us/op 45.339 us/op 0.76
wrappedArray get 100000 times 33.163 us/op 45.599 us/op 0.73
arrayWithProxy get 100000 times 13.856 ms/op 14.268 ms/op 0.97
ssz.Root.equals 46.477 ns/op 57.033 ns/op 0.81
byteArrayEquals 46.021 ns/op 53.686 ns/op 0.86
Buffer.compare 10.719 ns/op 10.997 ns/op 0.97
shuffle list - 16384 els 6.6723 ms/op 6.6871 ms/op 1.00
shuffle list - 250000 els 97.445 ms/op 99.323 ms/op 0.98
processSlot - 1 slots 17.303 us/op 15.135 us/op 1.14
processSlot - 32 slots 2.8729 ms/op 3.4792 ms/op 0.83
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 34.746 ms/op 47.169 ms/op 0.74
getCommitteeAssignments - req 1 vs - 250000 vc 2.2612 ms/op 2.6829 ms/op 0.84
getCommitteeAssignments - req 100 vs - 250000 vc 4.3363 ms/op 3.8575 ms/op 1.12
getCommitteeAssignments - req 1000 vs - 250000 vc 4.5972 ms/op 4.2412 ms/op 1.08
findModifiedValidators - 10000 modified validators 281.96 ms/op 311.01 ms/op 0.91
findModifiedValidators - 1000 modified validators 177.21 ms/op 220.13 ms/op 0.81
findModifiedValidators - 100 modified validators 193.84 ms/op 217.60 ms/op 0.89
findModifiedValidators - 10 modified validators 176.08 ms/op 191.80 ms/op 0.92
findModifiedValidators - 1 modified validators 188.97 ms/op 184.59 ms/op 1.02
findModifiedValidators - no difference 165.16 ms/op 194.63 ms/op 0.85
compare ViewDUs 3.0163 s/op 4.1051 s/op 0.73
compare each validator Uint8Array 1.2934 s/op 1.5573 s/op 0.83
compare ViewDU to Uint8Array 1.2452 s/op 1.2889 s/op 0.97
migrate state 1000000 validators, 24 modified, 0 new 559.07 ms/op 642.52 ms/op 0.87
migrate state 1000000 validators, 1700 modified, 1000 new 862.84 ms/op 916.66 ms/op 0.94
migrate state 1000000 validators, 3400 modified, 2000 new 919.95 ms/op 1.1687 s/op 0.79
migrate state 1500000 validators, 24 modified, 0 new 577.46 ms/op 675.94 ms/op 0.85
migrate state 1500000 validators, 1700 modified, 1000 new 819.79 ms/op 877.72 ms/op 0.93
migrate state 1500000 validators, 3400 modified, 2000 new 971.28 ms/op 1.1449 s/op 0.85
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9400 ns/op 4.0300 ns/op 1.23
state getBlockRootAtSlot - 250000 vs - 7PWei 929.97 ns/op 658.45 ns/op 1.41
computeProposers - vc 250000 8.3208 ms/op 8.6700 ms/op 0.96
computeEpochShuffling - vc 250000 94.436 ms/op 97.930 ms/op 0.96
getNextSyncCommittee - vc 250000 148.82 ms/op 139.76 ms/op 1.06
computeSigningRoot for AttestationData 23.739 us/op 26.015 us/op 0.91
hash AttestationData serialized data then Buffer.toString(base64) 1.5761 us/op 1.6037 us/op 0.98
toHexString serialized data 1.4616 us/op 957.76 ns/op 1.53
Buffer.toString(base64) 277.38 ns/op 215.65 ns/op 1.29

Please sign in to comment.