Skip to content

chore: fix test current file launch config#9429

Open
nflaig wants to merge 1 commit into
unstablefrom
nflaig/test-current-file
Open

chore: fix test current file launch config#9429
nflaig wants to merge 1 commit into
unstablefrom
nflaig/test-current-file

Conversation

@nflaig
Copy link
Copy Markdown
Member

@nflaig nflaig commented May 30, 2026

no idea what broke it but this works again

@nflaig nflaig requested a review from a team as a code owner May 30, 2026 19:43
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request modifies the VS Code launch configuration to dynamically prepend -t= to the test name input using a transform command. The reviewer pointed out that if the test name is left empty, an empty string is passed as a standalone argument, causing vitest to run all test files in the workspace. To fix this, the reviewer suggested using --testNamePattern=${input:testName} and reverting the input configuration back to the simpler promptStringRemember command.

Comment thread .vscode/launch.template.json
Comment thread .vscode/launch.template.json
@github-actions
Copy link
Copy Markdown
Contributor

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: 25481f2 Previous: b66425f Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 909.00 us/op 889.29 us/op 1.02
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 38.138 us/op 39.050 us/op 0.98
BLS verify - blst 716.28 us/op 724.10 us/op 0.99
BLS verifyMultipleSignatures 3 - blst 1.2850 ms/op 1.3644 ms/op 0.94
BLS verifyMultipleSignatures 8 - blst 2.0331 ms/op 2.1658 ms/op 0.94
BLS verifyMultipleSignatures 32 - blst 6.5743 ms/op 6.9099 ms/op 0.95
BLS verifyMultipleSignatures 64 - blst 12.420 ms/op 13.343 ms/op 0.93
BLS verifyMultipleSignatures 128 - blst 24.258 ms/op 26.009 ms/op 0.93
BLS deserializing 10000 signatures 608.58 ms/op 645.34 ms/op 0.94
BLS deserializing 100000 signatures 6.2016 s/op 6.4212 s/op 0.97
BLS verifyMultipleSignatures - same message - 3 - blst 674.26 us/op 771.62 us/op 0.87
BLS verifyMultipleSignatures - same message - 8 - blst 886.72 us/op 827.65 us/op 1.07
BLS verifyMultipleSignatures - same message - 32 - blst 1.4429 ms/op 1.4592 ms/op 0.99
BLS verifyMultipleSignatures - same message - 64 - blst 2.3090 ms/op 2.4563 ms/op 0.94
BLS verifyMultipleSignatures - same message - 128 - blst 3.9709 ms/op 4.0896 ms/op 0.97
BLS aggregatePubkeys 32 - blst 17.647 us/op 17.606 us/op 1.00
BLS aggregatePubkeys 128 - blst 63.020 us/op 62.686 us/op 1.01
getSlashingsAndExits - default max 43.948 us/op 48.489 us/op 0.91
getSlashingsAndExits - 2k 336.49 us/op 342.30 us/op 0.98
proposeBlockBody type=full, size=empty 708.03 us/op 901.61 us/op 0.79
isKnown best case - 1 super set check 163.00 ns/op 171.00 ns/op 0.95
isKnown normal case - 2 super set checks 156.00 ns/op 172.00 ns/op 0.91
isKnown worse case - 16 super set checks 157.00 ns/op 163.00 ns/op 0.96
validate api signedAggregateAndProof - struct 1.4284 ms/op 1.5055 ms/op 0.95
validate gossip signedAggregateAndProof - struct 1.4480 ms/op 1.5078 ms/op 0.96
batch validate gossip attestation - vc 640000 - chunk 32 102.17 us/op 105.18 us/op 0.97
batch validate gossip attestation - vc 640000 - chunk 64 90.331 us/op 92.231 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 128 83.801 us/op 85.236 us/op 0.98
batch validate gossip attestation - vc 640000 - chunk 256 80.683 us/op 81.480 us/op 0.99
bytes32 toHexString 279.00 ns/op 283.00 ns/op 0.99
bytes32 Buffer.toString(hex) 164.00 ns/op 158.00 ns/op 1.04
bytes32 Buffer.toString(hex) from Uint8Array 217.00 ns/op 233.00 ns/op 0.93
bytes32 Buffer.toString(hex) + 0x 164.00 ns/op 166.00 ns/op 0.99
Return object 10000 times 0.20870 ns/op 0.21030 ns/op 0.99
Throw Error 10000 times 3.2299 us/op 3.2974 us/op 0.98
toHex 85.319 ns/op 94.432 ns/op 0.90
Buffer.from 78.569 ns/op 88.756 ns/op 0.89
shared Buffer 50.677 ns/op 59.351 ns/op 0.85
fastMsgIdFn sha256 / 200 bytes 1.4330 us/op 1.4460 us/op 0.99
fastMsgIdFn h32 xxhash / 200 bytes 147.00 ns/op 152.00 ns/op 0.97
fastMsgIdFn h64 xxhash / 200 bytes 204.00 ns/op 204.00 ns/op 1.00
fastMsgIdFn sha256 / 1000 bytes 4.5940 us/op 4.7040 us/op 0.98
fastMsgIdFn h32 xxhash / 1000 bytes 245.00 ns/op 243.00 ns/op 1.01
fastMsgIdFn h64 xxhash / 1000 bytes 257.00 ns/op 244.00 ns/op 1.05
fastMsgIdFn sha256 / 10000 bytes 40.664 us/op 41.834 us/op 0.97
fastMsgIdFn h32 xxhash / 10000 bytes 1.2400 us/op 1.2580 us/op 0.99
fastMsgIdFn h64 xxhash / 10000 bytes 811.00 ns/op 820.00 ns/op 0.99
send data - 1000 256B messages 4.0284 ms/op 3.9530 ms/op 1.02
send data - 1000 512B messages 4.0762 ms/op 3.9963 ms/op 1.02
send data - 1000 1024B messages 4.3550 ms/op 4.1915 ms/op 1.04
send data - 1000 1200B messages 4.6721 ms/op 4.2883 ms/op 1.09
send data - 1000 2048B messages 4.6657 ms/op 4.4890 ms/op 1.04
send data - 1000 4096B messages 5.3813 ms/op 5.2186 ms/op 1.03
send data - 1000 16384B messages 13.216 ms/op 17.195 ms/op 0.77
send data - 1000 65536B messages 111.12 ms/op 157.35 ms/op 0.71
enrSubnets - fastDeserialize 64 bits 703.00 ns/op 737.00 ns/op 0.95
enrSubnets - ssz BitVector 64 bits 265.00 ns/op 259.00 ns/op 1.02
enrSubnets - fastDeserialize 4 bits 106.00 ns/op 96.000 ns/op 1.10
enrSubnets - ssz BitVector 4 bits 290.00 ns/op 260.00 ns/op 1.12
prioritizePeers score -10:0 att 32-0.1 sync 2-0 203.61 us/op 205.13 us/op 0.99
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 230.56 us/op 235.51 us/op 0.98
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 340.48 us/op 347.94 us/op 0.98
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 583.26 us/op 607.50 us/op 0.96
prioritizePeers score 0:0 att 64-1 sync 4-1 671.11 us/op 703.86 us/op 0.95
array of 16000 items push then shift 1.2093 us/op 1.2987 us/op 0.93
LinkedList of 16000 items push then shift 7.2170 ns/op 6.7660 ns/op 1.07
array of 16000 items push then pop 64.920 ns/op 65.819 ns/op 0.99
LinkedList of 16000 items push then pop 5.7880 ns/op 5.8850 ns/op 0.98
array of 24000 items push then shift 1.7918 us/op 1.9266 us/op 0.93
LinkedList of 24000 items push then shift 6.8930 ns/op 6.2420 ns/op 1.10
array of 24000 items push then pop 91.950 ns/op 93.098 ns/op 0.99
LinkedList of 24000 items push then pop 5.8410 ns/op 5.8960 ns/op 0.99
intersect bitArray bitLen 8 4.5620 ns/op 4.7400 ns/op 0.96
intersect array and set length 8 28.116 ns/op 29.412 ns/op 0.96
intersect bitArray bitLen 128 23.169 ns/op 23.932 ns/op 0.97
intersect array and set length 128 475.81 ns/op 503.28 ns/op 0.95
bitArray.getTrueBitIndexes() bitLen 128 1.0670 us/op 1.0470 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 248 1.7660 us/op 1.7390 us/op 1.02
bitArray.getTrueBitIndexes() bitLen 512 3.5540 us/op 3.5420 us/op 1.00
Full columns - reconstruct all 6 blobs 122.70 us/op 143.43 us/op 0.86
Full columns - reconstruct half of the blobs out of 6 118.26 us/op 63.914 us/op 1.85
Full columns - reconstruct single blob out of 6 68.114 us/op 36.470 us/op 1.87
Half columns - reconstruct all 6 blobs 364.28 ms/op 374.99 ms/op 0.97
Half columns - reconstruct half of the blobs out of 6 185.62 ms/op 188.64 ms/op 0.98
Half columns - reconstruct single blob out of 6 65.356 ms/op 65.803 ms/op 0.99
Full columns - reconstruct all 10 blobs 373.02 us/op 285.68 us/op 1.31
Full columns - reconstruct half of the blobs out of 10 129.81 us/op 88.846 us/op 1.46
Full columns - reconstruct single blob out of 10 44.644 us/op 35.676 us/op 1.25
Half columns - reconstruct all 10 blobs 620.43 ms/op 623.00 ms/op 1.00
Half columns - reconstruct half of the blobs out of 10 313.12 ms/op 314.00 ms/op 1.00
Half columns - reconstruct single blob out of 10 65.646 ms/op 65.726 ms/op 1.00
Full columns - reconstruct all 20 blobs 603.65 us/op 514.70 us/op 1.17
Full columns - reconstruct half of the blobs out of 20 350.21 us/op 252.09 us/op 1.39
Full columns - reconstruct single blob out of 20 26.281 us/op 29.754 us/op 0.88
Half columns - reconstruct all 20 blobs 1.2201 s/op 1.2356 s/op 0.99
Half columns - reconstruct half of the blobs out of 20 621.77 ms/op 621.88 ms/op 1.00
Half columns - reconstruct single blob out of 20 66.683 ms/op 65.780 ms/op 1.01
Set add up to 64 items then delete first 2.0202 us/op 2.1501 us/op 0.94
OrderedSet add up to 64 items then delete first 3.1936 us/op 3.3349 us/op 0.96
Set add up to 64 items then delete last 2.1221 us/op 2.1443 us/op 0.99
OrderedSet add up to 64 items then delete last 3.1437 us/op 3.2653 us/op 0.96
Set add up to 64 items then delete middle 3.1969 us/op 2.1349 us/op 1.50
OrderedSet add up to 64 items then delete middle 4.5931 us/op 4.7075 us/op 0.98
Set add up to 128 items then delete first 4.0598 us/op 4.2686 us/op 0.95
OrderedSet add up to 128 items then delete first 6.7783 us/op 6.4217 us/op 1.06
Set add up to 128 items then delete last 3.7572 us/op 3.9227 us/op 0.96
OrderedSet add up to 128 items then delete last 5.5511 us/op 5.7445 us/op 0.97
Set add up to 128 items then delete middle 3.6910 us/op 3.8997 us/op 0.95
OrderedSet add up to 128 items then delete middle 11.125 us/op 11.497 us/op 0.97
Set add up to 256 items then delete first 7.4894 us/op 7.9164 us/op 0.95
OrderedSet add up to 256 items then delete first 11.640 us/op 12.093 us/op 0.96
Set add up to 256 items then delete last 7.2787 us/op 7.6936 us/op 0.95
OrderedSet add up to 256 items then delete last 10.989 us/op 11.441 us/op 0.96
Set add up to 256 items then delete middle 7.2283 us/op 7.6645 us/op 0.94
OrderedSet add up to 256 items then delete middle 33.544 us/op 34.400 us/op 0.98
pass gossip attestations to forkchoice per slot 2.5308 ms/op 2.5106 ms/op 1.01
forkChoice updateHead vc 100000 bc 64 eq 0 401.36 us/op 440.15 us/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 0 2.7719 ms/op 2.6236 ms/op 1.06
forkChoice updateHead vc 1000000 bc 64 eq 0 4.0931 ms/op 4.2804 ms/op 0.96
forkChoice updateHead vc 600000 bc 320 eq 0 2.4135 ms/op 2.6277 ms/op 0.92
forkChoice updateHead vc 600000 bc 1200 eq 0 2.4559 ms/op 2.6978 ms/op 0.91
forkChoice updateHead vc 600000 bc 7200 eq 0 2.7043 ms/op 2.9602 ms/op 0.91
forkChoice updateHead vc 600000 bc 64 eq 1000 2.9184 ms/op 3.1614 ms/op 0.92
forkChoice updateHead vc 600000 bc 64 eq 10000 2.9163 ms/op 3.2679 ms/op 0.89
forkChoice updateHead vc 600000 bc 64 eq 300000 6.6288 ms/op 6.9020 ms/op 0.96
computeDeltas 1400000 validators 0% inactive 12.180 ms/op 13.340 ms/op 0.91
computeDeltas 1400000 validators 10% inactive 11.502 ms/op 12.571 ms/op 0.91
computeDeltas 1400000 validators 20% inactive 10.480 ms/op 11.471 ms/op 0.91
computeDeltas 1400000 validators 50% inactive 8.0983 ms/op 8.7390 ms/op 0.93
computeDeltas 2100000 validators 0% inactive 18.478 ms/op 19.838 ms/op 0.93
computeDeltas 2100000 validators 10% inactive 17.296 ms/op 18.868 ms/op 0.92
computeDeltas 2100000 validators 20% inactive 15.808 ms/op 17.065 ms/op 0.93
computeDeltas 2100000 validators 50% inactive 9.3249 ms/op 10.462 ms/op 0.89
altair processAttestation - 250000 vs - 7PWei normalcase 1.8824 ms/op 1.6725 ms/op 1.13
altair processAttestation - 250000 vs - 7PWei worstcase 2.5156 ms/op 2.3794 ms/op 1.06
altair processAttestation - setStatus - 1/6 committees join 95.880 us/op 95.682 us/op 1.00
altair processAttestation - setStatus - 1/3 committees join 185.68 us/op 204.27 us/op 0.91
altair processAttestation - setStatus - 1/2 committees join 273.04 us/op 290.98 us/op 0.94
altair processAttestation - setStatus - 2/3 committees join 364.20 us/op 362.83 us/op 1.00
altair processAttestation - setStatus - 4/5 committees join 505.15 us/op 498.52 us/op 1.01
altair processAttestation - setStatus - 100% committees join 596.36 us/op 588.65 us/op 1.01
altair processBlock - 250000 vs - 7PWei normalcase 3.8355 ms/op 2.8349 ms/op 1.35
altair processBlock - 250000 vs - 7PWei normalcase hashState 13.095 ms/op 11.716 ms/op 1.12
altair processBlock - 250000 vs - 7PWei worstcase 21.549 ms/op 18.937 ms/op 1.14
altair processBlock - 250000 vs - 7PWei worstcase hashState 42.880 ms/op 38.450 ms/op 1.12
phase0 processBlock - 250000 vs - 7PWei normalcase 1.3025 ms/op 1.2867 ms/op 1.01
phase0 processBlock - 250000 vs - 7PWei worstcase 17.461 ms/op 16.681 ms/op 1.05
altair processEth1Data - 250000 vs - 7PWei normalcase 291.61 us/op 302.32 us/op 0.96
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:16 2.9920 us/op 4.8240 us/op 0.62
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:220 18.990 us/op 26.795 us/op 0.71
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:43 5.4780 us/op 13.851 us/op 0.40
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:19 3.3470 us/op 3.6910 us/op 0.91
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1021 85.521 us/op 99.357 us/op 0.86
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11778 1.3372 ms/op 1.3664 ms/op 0.98
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.7582 ms/op 1.7960 ms/op 0.98
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.7290 ms/op 1.7785 ms/op 0.97
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.5748 ms/op 3.7154 ms/op 0.96
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.0085 ms/op 2.0273 ms/op 0.99
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 3.8825 ms/op 3.9620 ms/op 0.98
Tree 40 250000 create 307.96 ms/op 304.19 ms/op 1.01
Tree 40 250000 get(125000) 92.545 ns/op 99.876 ns/op 0.93
Tree 40 250000 set(125000) 993.89 ns/op 1.0724 us/op 0.93
Tree 40 250000 toArray() 11.540 ms/op 8.9851 ms/op 1.28
Tree 40 250000 iterate all - toArray() + loop 11.407 ms/op 9.1366 ms/op 1.25
Tree 40 250000 iterate all - get(i) 35.515 ms/op 35.325 ms/op 1.01
Array 250000 create 2.1690 ms/op 1.9679 ms/op 1.10
Array 250000 clone - spread 666.80 us/op 626.85 us/op 1.06
Array 250000 get(125000) 0.29600 ns/op 0.29000 ns/op 1.02
Array 250000 set(125000) 0.30300 ns/op 0.29400 ns/op 1.03
Array 250000 iterate all - loop 57.969 us/op 56.210 us/op 1.03
phase0 afterProcessEpoch - 250000 vs - 7PWei 40.695 ms/op 38.291 ms/op 1.06
Array.fill - length 1000000 2.0604 ms/op 2.3479 ms/op 0.88
Array push - length 1000000 8.9011 ms/op 7.6978 ms/op 1.16
Array.get 0.20950 ns/op 0.20643 ns/op 1.01
Uint8Array.get 0.23463 ns/op 0.23845 ns/op 0.98
phase0 beforeProcessEpoch - 250000 vs - 7PWei 15.950 ms/op 13.964 ms/op 1.14
altair processEpoch - mainnet_e81889 254.72 ms/op 226.57 ms/op 1.12
mainnet_e81889 - altair beforeProcessEpoch 14.291 ms/op 13.410 ms/op 1.07
mainnet_e81889 - altair processJustificationAndFinalization 5.5310 us/op 4.7690 us/op 1.16
mainnet_e81889 - altair processInactivityUpdates 3.4453 ms/op 3.4583 ms/op 1.00
mainnet_e81889 - altair processRewardsAndPenalties 19.469 ms/op 16.353 ms/op 1.19
mainnet_e81889 - altair processRegistryUpdates 527.00 ns/op 512.00 ns/op 1.03
mainnet_e81889 - altair processSlashings 134.00 ns/op 127.00 ns/op 1.06
mainnet_e81889 - altair processEth1DataReset 130.00 ns/op 125.00 ns/op 1.04
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.8653 ms/op 1.6420 ms/op 1.75
mainnet_e81889 - altair processSlashingsReset 708.00 ns/op 677.00 ns/op 1.05
mainnet_e81889 - altair processRandaoMixesReset 1.0230 us/op 941.00 ns/op 1.09
mainnet_e81889 - altair processHistoricalRootsUpdate 132.00 ns/op 126.00 ns/op 1.05
mainnet_e81889 - altair processParticipationFlagUpdates 418.00 ns/op 427.00 ns/op 0.98
mainnet_e81889 - altair processSyncCommitteeUpdates 105.00 ns/op 100.00 ns/op 1.05
mainnet_e81889 - altair afterProcessEpoch 42.077 ms/op 40.546 ms/op 1.04
capella processEpoch - mainnet_e217614 799.09 ms/op 697.48 ms/op 1.15
mainnet_e217614 - capella beforeProcessEpoch 60.596 ms/op 52.617 ms/op 1.15
mainnet_e217614 - capella processJustificationAndFinalization 6.0440 us/op 4.9850 us/op 1.21
mainnet_e217614 - capella processInactivityUpdates 15.212 ms/op 11.439 ms/op 1.33
mainnet_e217614 - capella processRewardsAndPenalties 86.097 ms/op 87.340 ms/op 0.99
mainnet_e217614 - capella processRegistryUpdates 4.5020 us/op 4.5380 us/op 0.99
mainnet_e217614 - capella processSlashings 141.00 ns/op 125.00 ns/op 1.13
mainnet_e217614 - capella processEth1DataReset 131.00 ns/op 123.00 ns/op 1.07
mainnet_e217614 - capella processEffectiveBalanceUpdates 12.692 ms/op 5.2351 ms/op 2.42
mainnet_e217614 - capella processSlashingsReset 674.00 ns/op 657.00 ns/op 1.03
mainnet_e217614 - capella processRandaoMixesReset 1.0400 us/op 1.0340 us/op 1.01
mainnet_e217614 - capella processHistoricalRootsUpdate 130.00 ns/op 126.00 ns/op 1.03
mainnet_e217614 - capella processParticipationFlagUpdates 417.00 ns/op 434.00 ns/op 0.96
mainnet_e217614 - capella afterProcessEpoch 108.50 ms/op 106.49 ms/op 1.02
phase0 processEpoch - mainnet_e58758 297.99 ms/op 241.78 ms/op 1.23
mainnet_e58758 - phase0 beforeProcessEpoch 61.118 ms/op 45.236 ms/op 1.35
mainnet_e58758 - phase0 processJustificationAndFinalization 6.1320 us/op 4.8500 us/op 1.26
mainnet_e58758 - phase0 processRewardsAndPenalties 16.103 ms/op 14.262 ms/op 1.13
mainnet_e58758 - phase0 processRegistryUpdates 2.2490 us/op 2.2840 us/op 0.98
mainnet_e58758 - phase0 processSlashings 134.00 ns/op 126.00 ns/op 1.06
mainnet_e58758 - phase0 processEth1DataReset 125.00 ns/op 123.00 ns/op 1.02
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 814.89 us/op 844.91 us/op 0.96
mainnet_e58758 - phase0 processSlashingsReset 1.2230 us/op 766.00 ns/op 1.60
mainnet_e58758 - phase0 processRandaoMixesReset 1.1180 us/op 1.0400 us/op 1.07
mainnet_e58758 - phase0 processHistoricalRootsUpdate 128.00 ns/op 130.00 ns/op 0.98
mainnet_e58758 - phase0 processParticipationRecordUpdates 1.0070 us/op 928.00 ns/op 1.09
mainnet_e58758 - phase0 afterProcessEpoch 33.854 ms/op 32.608 ms/op 1.04
phase0 processEffectiveBalanceUpdates - 250000 normalcase 986.54 us/op 1.0071 ms/op 0.98
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.5534 ms/op 1.5600 ms/op 1.00
altair processInactivityUpdates - 250000 normalcase 11.061 ms/op 10.379 ms/op 1.07
altair processInactivityUpdates - 250000 worstcase 11.319 ms/op 10.406 ms/op 1.09
phase0 processRegistryUpdates - 250000 normalcase 2.2850 us/op 2.2040 us/op 1.04
phase0 processRegistryUpdates - 250000 badcase_full_deposits 143.60 us/op 144.08 us/op 1.00
phase0 processRegistryUpdates - 250000 worstcase 0.5 58.673 ms/op 53.701 ms/op 1.09
altair processRewardsAndPenalties - 250000 normalcase 15.362 ms/op 12.832 ms/op 1.20
altair processRewardsAndPenalties - 250000 worstcase 14.964 ms/op 12.404 ms/op 1.21
phase0 getAttestationDeltas - 250000 normalcase 5.2476 ms/op 5.2949 ms/op 0.99
phase0 getAttestationDeltas - 250000 worstcase 5.3245 ms/op 5.3283 ms/op 1.00
phase0 processSlashings - 250000 worstcase 59.464 us/op 60.346 us/op 0.99
altair processSyncCommitteeUpdates - 250000 9.8144 ms/op 10.051 ms/op 0.98
BeaconState.hashTreeRoot - No change 172.00 ns/op 161.00 ns/op 1.07
BeaconState.hashTreeRoot - 1 full validator 67.285 us/op 58.666 us/op 1.15
BeaconState.hashTreeRoot - 32 full validator 790.57 us/op 653.82 us/op 1.21
BeaconState.hashTreeRoot - 512 full validator 6.6334 ms/op 6.3549 ms/op 1.04
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 85.303 us/op 70.998 us/op 1.20
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.3611 ms/op 1.0654 ms/op 1.28
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 13.860 ms/op 12.486 ms/op 1.11
BeaconState.hashTreeRoot - 1 balances 63.215 us/op 57.533 us/op 1.10
BeaconState.hashTreeRoot - 32 balances 685.59 us/op 577.64 us/op 1.19
BeaconState.hashTreeRoot - 512 balances 4.8405 ms/op 4.8371 ms/op 1.00
BeaconState.hashTreeRoot - 250000 balances 113.24 ms/op 134.46 ms/op 0.84
aggregationBits - 2048 els - zipIndexesInBitList 19.316 us/op 19.439 us/op 0.99
regular array get 100000 times 23.147 us/op 22.851 us/op 1.01
wrappedArray get 100000 times 23.096 us/op 22.742 us/op 1.02
arrayWithProxy get 100000 times 17.262 ms/op 10.378 ms/op 1.66
ssz.Root.equals 21.558 ns/op 21.422 ns/op 1.01
byteArrayEquals 21.402 ns/op 21.224 ns/op 1.01
Buffer.compare 9.3390 ns/op 8.8100 ns/op 1.06
processSlot - 1 slots 7.8680 us/op 9.0220 us/op 0.87
processSlot - 32 slots 1.6832 ms/op 1.5610 ms/op 1.08
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 4.1922 ms/op 2.8137 ms/op 1.49
getCommitteeAssignments - req 1 vs - 250000 vc 1.6849 ms/op 1.6888 ms/op 1.00
getCommitteeAssignments - req 100 vs - 250000 vc 3.4423 ms/op 3.4089 ms/op 1.01
getCommitteeAssignments - req 1000 vs - 250000 vc 3.7342 ms/op 3.6645 ms/op 1.02
findModifiedValidators - 10000 modified validators 729.84 ms/op 731.62 ms/op 1.00
findModifiedValidators - 1000 modified validators 505.09 ms/op 463.06 ms/op 1.09
findModifiedValidators - 100 modified validators 277.19 ms/op 275.52 ms/op 1.01
findModifiedValidators - 10 modified validators 234.78 ms/op 240.34 ms/op 0.98
findModifiedValidators - 1 modified validators 157.31 ms/op 156.83 ms/op 1.00
findModifiedValidators - no difference 147.73 ms/op 162.03 ms/op 0.91
migrate state 1500000 validators, 3400 modified, 2000 new 3.0986 s/op 2.6624 s/op 1.16
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 3.6700 ns/op 3.6600 ns/op 1.00
state getBlockRootAtSlot - 250000 vs - 7PWei 379.62 ns/op 273.47 ns/op 1.39
computeProposerIndex 100000 validators 1.3382 ms/op 1.3023 ms/op 1.03
getNextSyncCommitteeIndices 1000 validators 2.8523 ms/op 2.8427 ms/op 1.00
getNextSyncCommitteeIndices 10000 validators 25.795 ms/op 24.971 ms/op 1.03
getNextSyncCommitteeIndices 100000 validators 83.761 ms/op 82.898 ms/op 1.01
computeProposers - vc 250000 557.25 us/op 543.52 us/op 1.03
computeEpochShuffling - vc 250000 41.296 ms/op 38.867 ms/op 1.06
getNextSyncCommittee - vc 250000 9.6455 ms/op 9.4363 ms/op 1.02
nodejs block root to RootHex using toHex 91.470 ns/op 95.186 ns/op 0.96
nodejs block root to RootHex using toRootHex 54.165 ns/op 59.436 ns/op 0.91
nodejs fromHex(blob) 783.55 us/op 744.72 us/op 1.05
nodejs fromHexInto(blob) 636.48 us/op 659.34 us/op 0.97
nodejs block root to RootHex using the deprecated toHexString 470.66 ns/op 485.83 ns/op 0.97
nodejs byteArrayEquals 32 bytes (block root) 26.467 ns/op 25.741 ns/op 1.03
nodejs byteArrayEquals 48 bytes (pubkey) 38.191 ns/op 36.998 ns/op 1.03
nodejs byteArrayEquals 96 bytes (signature) 33.780 ns/op 39.249 ns/op 0.86
nodejs byteArrayEquals 1024 bytes 42.274 ns/op 44.508 ns/op 0.95
nodejs byteArrayEquals 131072 bytes (blob) 1.8181 us/op 1.7548 us/op 1.04
browser block root to RootHex using toHex 146.47 ns/op 143.94 ns/op 1.02
browser block root to RootHex using toRootHex 133.21 ns/op 129.42 ns/op 1.03
browser fromHex(blob) 1.5680 ms/op 1.5367 ms/op 1.02
browser fromHexInto(blob) 607.95 us/op 641.60 us/op 0.95
browser block root to RootHex using the deprecated toHexString 315.40 ns/op 341.98 ns/op 0.92
browser byteArrayEquals 32 bytes (block root) 27.276 ns/op 27.544 ns/op 0.99
browser byteArrayEquals 48 bytes (pubkey) 38.573 ns/op 38.802 ns/op 0.99
browser byteArrayEquals 96 bytes (signature) 71.037 ns/op 72.665 ns/op 0.98
browser byteArrayEquals 1024 bytes 731.21 ns/op 740.25 ns/op 0.99
browser byteArrayEquals 131072 bytes (blob) 92.365 us/op 93.633 us/op 0.99

by benchmarkbot/action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant