Skip to content

Commit

Permalink
chore: use regular env for docs publishing (#6561)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard authored Mar 18, 2024
1 parent 534c4cc commit e840ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:

jobs:
docs:
runs-on: buildjet-4vcpu-ubuntu-2204
runs-on: ubuntu-latest
env:
DEPLOY_REF: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ref || 'stable' }}
steps:
Expand Down

1 comment on commit e840ea0

@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: e840ea0 Previous: 0a7aa46 Ratio
Map set x1000 55.839 ns/op 18.508 ns/op 3.02
Set add up to 64 items then delete first 6.1391 us/op 1.8027 us/op 3.41
OrderedSet add up to 64 items then delete first 8.6880 us/op 2.6932 us/op 3.23
Set add up to 64 items then delete last 7.0903 us/op 2.0155 us/op 3.52
Set add up to 128 items then delete last 12.260 us/op 3.8956 us/op 3.15
Set add up to 128 items then delete middle 12.029 us/op 3.8485 us/op 3.13
Set add up to 256 items then delete middle 26.034 us/op 7.6836 us/op 3.39
Full benchmark results
Benchmark suite Current: e840ea0 Previous: 0a7aa46 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 675.97 us/op 441.31 us/op 1.53
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 146.09 us/op 54.662 us/op 2.67
BLS verify - blst-native 1.4865 ms/op 1.1485 ms/op 1.29
BLS verifyMultipleSignatures 3 - blst-native 3.5509 ms/op 2.4583 ms/op 1.44
BLS verifyMultipleSignatures 8 - blst-native 7.0712 ms/op 5.3749 ms/op 1.32
BLS verifyMultipleSignatures 32 - blst-native 27.119 ms/op 19.709 ms/op 1.38
BLS verifyMultipleSignatures 64 - blst-native 49.296 ms/op 38.717 ms/op 1.27
BLS verifyMultipleSignatures 128 - blst-native 119.99 ms/op 78.086 ms/op 1.54
BLS deserializing 10000 signatures 1.0595 s/op 799.57 ms/op 1.33
BLS deserializing 100000 signatures 9.9573 s/op 8.5656 s/op 1.16
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.5742 ms/op 1.1726 ms/op 1.34
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.7211 ms/op 1.3407 ms/op 1.28
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.6327 ms/op 2.0924 ms/op 1.26
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.8282 ms/op 4.3035 ms/op 0.89
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.5426 ms/op 7.6507 ms/op 0.86
BLS aggregatePubkeys 32 - blst-native 29.366 us/op 23.576 us/op 1.25
BLS aggregatePubkeys 128 - blst-native 110.89 us/op 91.736 us/op 1.21
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 86.506 ms/op 58.761 ms/op 1.47
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 79.836 ms/op 54.174 ms/op 1.47
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 63.903 ms/op 28.999 ms/op 2.20
getSlashingsAndExits - default max 336.44 us/op 176.03 us/op 1.91
getSlashingsAndExits - 2k 708.66 us/op 383.73 us/op 1.85
proposeBlockBody type=full, size=empty 8.0713 ms/op 3.9120 ms/op 2.06
isKnown best case - 1 super set check 689.00 ns/op 295.00 ns/op 2.34
isKnown normal case - 2 super set checks 707.00 ns/op 318.00 ns/op 2.22
isKnown worse case - 16 super set checks 710.00 ns/op 308.00 ns/op 2.31
CheckpointStateCache - add get delete 8.2800 us/op 4.4660 us/op 1.85
validate api signedAggregateAndProof - struct 3.0693 ms/op 2.4128 ms/op 1.27
validate gossip signedAggregateAndProof - struct 3.3025 ms/op 2.4246 ms/op 1.36
validate gossip attestation - vc 640000 1.5606 ms/op 1.1550 ms/op 1.35
batch validate gossip attestation - vc 640000 - chunk 32 210.31 us/op 145.62 us/op 1.44
batch validate gossip attestation - vc 640000 - chunk 64 186.19 us/op 127.35 us/op 1.46
batch validate gossip attestation - vc 640000 - chunk 128 168.63 us/op 127.71 us/op 1.32
batch validate gossip attestation - vc 640000 - chunk 256 148.94 us/op 118.41 us/op 1.26
pickEth1Vote - no votes 1.5482 ms/op 861.78 us/op 1.80
pickEth1Vote - max votes 12.485 ms/op 7.4021 ms/op 1.69
pickEth1Vote - Eth1Data hashTreeRoot value x2048 20.224 ms/op 19.368 ms/op 1.04
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.504 ms/op 28.129 ms/op 0.98
pickEth1Vote - Eth1Data fastSerialize value x2048 775.46 us/op 464.74 us/op 1.67
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.3884 ms/op 8.9110 ms/op 0.60
bytes32 toHexString 649.00 ns/op 499.00 ns/op 1.30
bytes32 Buffer.toString(hex) 340.00 ns/op 395.00 ns/op 0.86
bytes32 Buffer.toString(hex) from Uint8Array 558.00 ns/op 465.00 ns/op 1.20
bytes32 Buffer.toString(hex) + 0x 332.00 ns/op 363.00 ns/op 0.91
Object access 1 prop 0.22500 ns/op 0.22700 ns/op 0.99
Map access 1 prop 0.16800 ns/op 0.20100 ns/op 0.84
Object get x1000 8.4450 ns/op 5.3750 ns/op 1.57
Map get x1000 0.94700 ns/op 0.85600 ns/op 1.11
Object set x1000 74.935 ns/op 30.452 ns/op 2.46
Map set x1000 55.839 ns/op 18.508 ns/op 3.02
Return object 10000 times 0.27380 ns/op 0.24890 ns/op 1.10
Throw Error 10000 times 4.3656 us/op 2.9736 us/op 1.47
fastMsgIdFn sha256 / 200 bytes 3.8480 us/op 2.4540 us/op 1.57
fastMsgIdFn h32 xxhash / 200 bytes 373.00 ns/op 421.00 ns/op 0.89
fastMsgIdFn h64 xxhash / 200 bytes 422.00 ns/op 412.00 ns/op 1.02
fastMsgIdFn sha256 / 1000 bytes 12.630 us/op 6.4240 us/op 1.97
fastMsgIdFn h32 xxhash / 1000 bytes 518.00 ns/op 457.00 ns/op 1.13
fastMsgIdFn h64 xxhash / 1000 bytes 519.00 ns/op 430.00 ns/op 1.21
fastMsgIdFn sha256 / 10000 bytes 115.46 us/op 58.076 us/op 1.99
fastMsgIdFn h32 xxhash / 10000 bytes 2.2540 us/op 1.8830 us/op 1.20
fastMsgIdFn h64 xxhash / 10000 bytes 1.4660 us/op 1.2930 us/op 1.13
send data - 1000 256B messages 24.311 ms/op 13.489 ms/op 1.80
send data - 1000 512B messages 26.947 ms/op 16.616 ms/op 1.62
send data - 1000 1024B messages 48.477 ms/op 26.656 ms/op 1.82
send data - 1000 1200B messages 45.135 ms/op 28.719 ms/op 1.57
send data - 1000 2048B messages 58.508 ms/op 38.371 ms/op 1.52
send data - 1000 4096B messages 50.055 ms/op 36.051 ms/op 1.39
send data - 1000 16384B messages 135.06 ms/op 112.25 ms/op 1.20
send data - 1000 65536B messages 511.16 ms/op 381.13 ms/op 1.34
enrSubnets - fastDeserialize 64 bits 1.6940 us/op 1.1870 us/op 1.43
enrSubnets - ssz BitVector 64 bits 617.00 ns/op 525.00 ns/op 1.18
enrSubnets - fastDeserialize 4 bits 277.00 ns/op 260.00 ns/op 1.07
enrSubnets - ssz BitVector 4 bits 661.00 ns/op 513.00 ns/op 1.29
prioritizePeers score -10:0 att 32-0.1 sync 2-0 164.58 us/op 84.807 us/op 1.94
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 198.71 us/op 101.31 us/op 1.96
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 259.76 us/op 153.89 us/op 1.69
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 509.37 us/op 223.98 us/op 2.27
prioritizePeers score 0:0 att 64-1 sync 4-1 630.20 us/op 229.07 us/op 2.75
array of 16000 items push then shift 1.9403 us/op 1.3975 us/op 1.39
LinkedList of 16000 items push then shift 13.833 ns/op 6.2780 ns/op 2.20
array of 16000 items push then pop 181.76 ns/op 113.09 ns/op 1.61
LinkedList of 16000 items push then pop 13.879 ns/op 6.3280 ns/op 2.19
array of 24000 items push then shift 3.3008 us/op 2.0288 us/op 1.63
LinkedList of 24000 items push then shift 16.600 ns/op 7.1000 ns/op 2.34
array of 24000 items push then pop 252.01 ns/op 173.40 ns/op 1.45
LinkedList of 24000 items push then pop 11.585 ns/op 6.6220 ns/op 1.75
intersect bitArray bitLen 8 7.0190 ns/op 5.6690 ns/op 1.24
intersect array and set length 8 124.97 ns/op 62.738 ns/op 1.99
intersect bitArray bitLen 128 69.506 ns/op 33.310 ns/op 2.09
intersect array and set length 128 1.3294 us/op 1.0967 us/op 1.21
bitArray.getTrueBitIndexes() bitLen 128 2.8340 us/op 1.6050 us/op 1.77
bitArray.getTrueBitIndexes() bitLen 248 4.9640 us/op 2.7930 us/op 1.78
bitArray.getTrueBitIndexes() bitLen 512 9.2270 us/op 4.8800 us/op 1.89
Buffer.concat 32 items 1.4180 us/op 1.0430 us/op 1.36
Uint8Array.set 32 items 2.8550 us/op 1.7250 us/op 1.66
Set add up to 64 items then delete first 6.1391 us/op 1.8027 us/op 3.41
OrderedSet add up to 64 items then delete first 8.6880 us/op 2.6932 us/op 3.23
Set add up to 64 items then delete last 7.0903 us/op 2.0155 us/op 3.52
OrderedSet add up to 64 items then delete last 8.8774 us/op 3.0321 us/op 2.93
Set add up to 64 items then delete middle 6.2942 us/op 2.1121 us/op 2.98
OrderedSet add up to 64 items then delete middle 9.6866 us/op 4.6831 us/op 2.07
Set add up to 128 items then delete first 12.472 us/op 4.2988 us/op 2.90
OrderedSet add up to 128 items then delete first 18.515 us/op 6.4876 us/op 2.85
Set add up to 128 items then delete last 12.260 us/op 3.8956 us/op 3.15
OrderedSet add up to 128 items then delete last 16.507 us/op 5.9080 us/op 2.79
Set add up to 128 items then delete middle 12.029 us/op 3.8485 us/op 3.13
OrderedSet add up to 128 items then delete middle 22.175 us/op 11.876 us/op 1.87
Set add up to 256 items then delete first 23.894 us/op 8.0911 us/op 2.95
OrderedSet add up to 256 items then delete first 35.128 us/op 13.988 us/op 2.51
Set add up to 256 items then delete last 24.629 us/op 8.3852 us/op 2.94
OrderedSet add up to 256 items then delete last 33.416 us/op 12.127 us/op 2.76
Set add up to 256 items then delete middle 26.034 us/op 7.6836 us/op 3.39
OrderedSet add up to 256 items then delete middle 62.749 us/op 35.357 us/op 1.77
transfer serialized Status (84 B) 2.4880 us/op 1.5730 us/op 1.58
copy serialized Status (84 B) 1.8060 us/op 1.2920 us/op 1.40
transfer serialized SignedVoluntaryExit (112 B) 2.6170 us/op 1.5910 us/op 1.64
copy serialized SignedVoluntaryExit (112 B) 1.7470 us/op 1.3950 us/op 1.25
transfer serialized ProposerSlashing (416 B) 3.2430 us/op 2.3620 us/op 1.37
copy serialized ProposerSlashing (416 B) 2.7550 us/op 3.0040 us/op 0.92
transfer serialized Attestation (485 B) 3.3640 us/op 3.2340 us/op 1.04
copy serialized Attestation (485 B) 3.0640 us/op 2.6320 us/op 1.16
transfer serialized AttesterSlashing (33232 B) 3.4270 us/op 2.3940 us/op 1.43
copy serialized AttesterSlashing (33232 B) 8.5040 us/op 9.0130 us/op 0.94
transfer serialized Small SignedBeaconBlock (128000 B) 3.3250 us/op 2.7370 us/op 1.21
copy serialized Small SignedBeaconBlock (128000 B) 22.564 us/op 24.735 us/op 0.91
transfer serialized Avg SignedBeaconBlock (200000 B) 3.8560 us/op 2.9050 us/op 1.33
copy serialized Avg SignedBeaconBlock (200000 B) 32.056 us/op 42.466 us/op 0.75
transfer serialized BlobsSidecar (524380 B) 4.4950 us/op 3.5610 us/op 1.26
copy serialized BlobsSidecar (524380 B) 237.91 us/op 110.43 us/op 2.15
transfer serialized Big SignedBeaconBlock (1000000 B) 4.4520 us/op 3.9280 us/op 1.13
copy serialized Big SignedBeaconBlock (1000000 B) 196.28 us/op 261.41 us/op 0.75
pass gossip attestations to forkchoice per slot 4.6734 ms/op 2.8198 ms/op 1.66
forkChoice updateHead vc 100000 bc 64 eq 0 900.39 us/op 439.77 us/op 2.05
forkChoice updateHead vc 600000 bc 64 eq 0 6.2111 ms/op 2.8493 ms/op 2.18
forkChoice updateHead vc 1000000 bc 64 eq 0 8.6938 ms/op 4.4137 ms/op 1.97
forkChoice updateHead vc 600000 bc 320 eq 0 5.2938 ms/op 2.6122 ms/op 2.03
forkChoice updateHead vc 600000 bc 1200 eq 0 5.6730 ms/op 2.8357 ms/op 2.00
forkChoice updateHead vc 600000 bc 7200 eq 0 7.1034 ms/op 3.4650 ms/op 2.05
forkChoice updateHead vc 600000 bc 64 eq 1000 13.504 ms/op 10.313 ms/op 1.31
forkChoice updateHead vc 600000 bc 64 eq 10000 17.151 ms/op 10.163 ms/op 1.69
forkChoice updateHead vc 600000 bc 64 eq 300000 25.672 ms/op 13.064 ms/op 1.97
computeDeltas 500000 validators 300 proto nodes 8.1426 ms/op 3.3767 ms/op 2.41
computeDeltas 500000 validators 1200 proto nodes 7.7912 ms/op 3.2850 ms/op 2.37
computeDeltas 500000 validators 7200 proto nodes 7.5976 ms/op 3.2763 ms/op 2.32
computeDeltas 750000 validators 300 proto nodes 10.957 ms/op 5.0115 ms/op 2.19
computeDeltas 750000 validators 1200 proto nodes 10.709 ms/op 5.5438 ms/op 1.93
computeDeltas 750000 validators 7200 proto nodes 10.624 ms/op 5.6993 ms/op 1.86
computeDeltas 1400000 validators 300 proto nodes 21.728 ms/op 10.576 ms/op 2.05
computeDeltas 1400000 validators 1200 proto nodes 20.579 ms/op 10.276 ms/op 2.00
computeDeltas 1400000 validators 7200 proto nodes 21.716 ms/op 10.273 ms/op 2.11
computeDeltas 2100000 validators 300 proto nodes 35.248 ms/op 16.561 ms/op 2.13
computeDeltas 2100000 validators 1200 proto nodes 35.516 ms/op 15.960 ms/op 2.23
computeDeltas 2100000 validators 7200 proto nodes 33.218 ms/op 15.521 ms/op 2.14
altair processAttestation - 250000 vs - 7PWei normalcase 4.3262 ms/op 3.1717 ms/op 1.36
altair processAttestation - 250000 vs - 7PWei worstcase 5.6205 ms/op 5.7164 ms/op 0.98
altair processAttestation - setStatus - 1/6 committees join 191.56 us/op 158.73 us/op 1.21
altair processAttestation - setStatus - 1/3 committees join 362.49 us/op 266.76 us/op 1.36
altair processAttestation - setStatus - 1/2 committees join 546.28 us/op 337.62 us/op 1.62
altair processAttestation - setStatus - 2/3 committees join 673.77 us/op 437.15 us/op 1.54
altair processAttestation - setStatus - 4/5 committees join 792.34 us/op 686.31 us/op 1.15
altair processAttestation - setStatus - 100% committees join 935.73 us/op 696.40 us/op 1.34
altair processBlock - 250000 vs - 7PWei normalcase 12.137 ms/op 11.951 ms/op 1.02
altair processBlock - 250000 vs - 7PWei normalcase hashState 52.822 ms/op 43.303 ms/op 1.22
altair processBlock - 250000 vs - 7PWei worstcase 50.475 ms/op 37.779 ms/op 1.34
altair processBlock - 250000 vs - 7PWei worstcase hashState 123.76 ms/op 108.59 ms/op 1.14
phase0 processBlock - 250000 vs - 7PWei normalcase 3.4234 ms/op 2.5280 ms/op 1.35
phase0 processBlock - 250000 vs - 7PWei worstcase 37.864 ms/op 27.717 ms/op 1.37
altair processEth1Data - 250000 vs - 7PWei normalcase 866.83 us/op 737.02 us/op 1.18
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 18.346 us/op 9.6880 us/op 1.89
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 88.727 us/op 75.235 us/op 1.18
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 50.103 us/op 23.625 us/op 2.12
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 29.524 us/op 14.640 us/op 2.02
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 286.83 us/op 161.12 us/op 1.78
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 2.0444 ms/op 1.2101 ms/op 1.69
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.7970 ms/op 1.2995 ms/op 2.15
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.7607 ms/op 1.3947 ms/op 1.98
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 7.8261 ms/op 4.0604 ms/op 1.93
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 4.6310 ms/op 2.0488 ms/op 2.26
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 12.293 ms/op 5.3210 ms/op 2.31
Tree 40 250000 create 822.00 ms/op 294.41 ms/op 2.79
Tree 40 250000 get(125000) 252.47 ns/op 123.63 ns/op 2.04
Tree 40 250000 set(125000) 2.7069 us/op 1.7506 us/op 1.55
Tree 40 250000 toArray() 27.493 ms/op 14.627 ms/op 1.88
Tree 40 250000 iterate all - toArray() + loop 28.166 ms/op 19.228 ms/op 1.46
Tree 40 250000 iterate all - get(i) 95.570 ms/op 46.044 ms/op 2.08
MutableVector 250000 create 27.743 ms/op 10.151 ms/op 2.73
MutableVector 250000 get(125000) 8.4040 ns/op 5.9970 ns/op 1.40
MutableVector 250000 set(125000) 652.17 ns/op 219.69 ns/op 2.97
MutableVector 250000 toArray() 5.5028 ms/op 2.2938 ms/op 2.40
MutableVector 250000 iterate all - toArray() + loop 5.4164 ms/op 2.6436 ms/op 2.05
MutableVector 250000 iterate all - get(i) 1.8226 ms/op 1.3931 ms/op 1.31
Array 250000 create 4.7460 ms/op 3.2532 ms/op 1.46
Array 250000 clone - spread 1.8015 ms/op 1.3650 ms/op 1.32
Array 250000 get(125000) 2.0090 ns/op 1.8750 ns/op 1.07
Array 250000 set(125000) 6.0780 ns/op 1.5570 ns/op 3.90
Array 250000 iterate all - loop 208.03 us/op 160.82 us/op 1.29
effectiveBalanceIncrements clone Uint8Array 300000 54.636 us/op 16.312 us/op 3.35
effectiveBalanceIncrements clone MutableVector 300000 476.00 ns/op 482.00 ns/op 0.99
effectiveBalanceIncrements rw all Uint8Array 300000 239.03 us/op 191.50 us/op 1.25
effectiveBalanceIncrements rw all MutableVector 300000 192.15 ms/op 186.08 ms/op 1.03
phase0 afterProcessEpoch - 250000 vs - 7PWei 143.18 ms/op 79.249 ms/op 1.81
phase0 beforeProcessEpoch - 250000 vs - 7PWei 67.939 ms/op 52.316 ms/op 1.30
altair processEpoch - mainnet_e81889 635.29 ms/op 451.68 ms/op 1.41
mainnet_e81889 - altair beforeProcessEpoch 110.69 ms/op 91.389 ms/op 1.21
mainnet_e81889 - altair processJustificationAndFinalization 34.186 us/op 22.286 us/op 1.53
mainnet_e81889 - altair processInactivityUpdates 10.547 ms/op 6.8288 ms/op 1.54
mainnet_e81889 - altair processRewardsAndPenalties 73.632 ms/op 77.629 ms/op 0.95
mainnet_e81889 - altair processRegistryUpdates 5.1120 us/op 2.9150 us/op 1.75
mainnet_e81889 - altair processSlashings 1.5400 us/op 755.00 ns/op 2.04
mainnet_e81889 - altair processEth1DataReset 1.7330 us/op 882.00 ns/op 1.96
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.8448 ms/op 1.1951 ms/op 1.54
mainnet_e81889 - altair processSlashingsReset 6.3520 us/op 5.8210 us/op 1.09
mainnet_e81889 - altair processRandaoMixesReset 10.081 us/op 5.8280 us/op 1.73
mainnet_e81889 - altair processHistoricalRootsUpdate 1.6130 us/op 1.1050 us/op 1.46
mainnet_e81889 - altair processParticipationFlagUpdates 4.8620 us/op 2.8170 us/op 1.73
mainnet_e81889 - altair processSyncCommitteeUpdates 1.7260 us/op 1.0330 us/op 1.67
mainnet_e81889 - altair afterProcessEpoch 149.25 ms/op 86.257 ms/op 1.73
capella processEpoch - mainnet_e217614 2.8321 s/op 1.6739 s/op 1.69
mainnet_e217614 - capella beforeProcessEpoch 638.26 ms/op 441.25 ms/op 1.45
mainnet_e217614 - capella processJustificationAndFinalization 22.169 us/op 18.760 us/op 1.18
mainnet_e217614 - capella processInactivityUpdates 21.839 ms/op 19.710 ms/op 1.11
mainnet_e217614 - capella processRewardsAndPenalties 700.46 ms/op 439.53 ms/op 1.59
mainnet_e217614 - capella processRegistryUpdates 50.972 us/op 30.624 us/op 1.66
mainnet_e217614 - capella processSlashings 1.5250 us/op 710.00 ns/op 2.15
mainnet_e217614 - capella processEth1DataReset 1.1900 us/op 922.00 ns/op 1.29
mainnet_e217614 - capella processEffectiveBalanceUpdates 5.9209 ms/op 3.8892 ms/op 1.52
mainnet_e217614 - capella processSlashingsReset 11.080 us/op 2.5480 us/op 4.35
mainnet_e217614 - capella processRandaoMixesReset 14.687 us/op 5.0380 us/op 2.92
mainnet_e217614 - capella processHistoricalRootsUpdate 1.8280 us/op 1.0640 us/op 1.72
mainnet_e217614 - capella processParticipationFlagUpdates 5.4100 us/op 3.1480 us/op 1.72
mainnet_e217614 - capella afterProcessEpoch 445.12 ms/op 210.32 ms/op 2.12
phase0 processEpoch - mainnet_e58758 739.95 ms/op 420.50 ms/op 1.76
mainnet_e58758 - phase0 beforeProcessEpoch 223.10 ms/op 135.25 ms/op 1.65
mainnet_e58758 - phase0 processJustificationAndFinalization 40.720 us/op 15.946 us/op 2.55
mainnet_e58758 - phase0 processRewardsAndPenalties 80.374 ms/op 51.969 ms/op 1.55
mainnet_e58758 - phase0 processRegistryUpdates 20.778 us/op 12.384 us/op 1.68
mainnet_e58758 - phase0 processSlashings 946.00 ns/op 865.00 ns/op 1.09
mainnet_e58758 - phase0 processEth1DataReset 1.0050 us/op 690.00 ns/op 1.46
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 1.3492 ms/op 931.71 us/op 1.45
mainnet_e58758 - phase0 processSlashingsReset 5.0740 us/op 4.6350 us/op 1.09
mainnet_e58758 - phase0 processRandaoMixesReset 8.3000 us/op 6.4830 us/op 1.28
mainnet_e58758 - phase0 processHistoricalRootsUpdate 1.1060 us/op 1.2500 us/op 0.88
mainnet_e58758 - phase0 processParticipationRecordUpdates 6.8320 us/op 7.3870 us/op 0.92
mainnet_e58758 - phase0 afterProcessEpoch 109.92 ms/op 71.985 ms/op 1.53
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.4782 ms/op 1.0390 ms/op 1.42
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.6087 ms/op 1.0941 ms/op 1.47
altair processInactivityUpdates - 250000 normalcase 36.622 ms/op 20.795 ms/op 1.76
altair processInactivityUpdates - 250000 worstcase 34.098 ms/op 20.815 ms/op 1.64
phase0 processRegistryUpdates - 250000 normalcase 15.344 us/op 10.881 us/op 1.41
phase0 processRegistryUpdates - 250000 badcase_full_deposits 513.92 us/op 458.85 us/op 1.12
phase0 processRegistryUpdates - 250000 worstcase 0.5 196.31 ms/op 121.50 ms/op 1.62
altair processRewardsAndPenalties - 250000 normalcase 90.435 ms/op 62.288 ms/op 1.45
altair processRewardsAndPenalties - 250000 worstcase 87.568 ms/op 62.239 ms/op 1.41
phase0 getAttestationDeltas - 250000 normalcase 14.736 ms/op 10.933 ms/op 1.35
phase0 getAttestationDeltas - 250000 worstcase 13.891 ms/op 6.9422 ms/op 2.00
phase0 processSlashings - 250000 worstcase 113.20 us/op 94.237 us/op 1.20
altair processSyncCommitteeUpdates - 250000 187.70 ms/op 120.52 ms/op 1.56
BeaconState.hashTreeRoot - No change 791.00 ns/op 700.00 ns/op 1.13
BeaconState.hashTreeRoot - 1 full validator 179.65 us/op 162.01 us/op 1.11
BeaconState.hashTreeRoot - 32 full validator 1.6831 ms/op 1.5581 ms/op 1.08
BeaconState.hashTreeRoot - 512 full validator 18.318 ms/op 17.770 ms/op 1.03
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 195.42 us/op 210.79 us/op 0.93
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.7075 ms/op 2.3969 ms/op 1.13
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 35.175 ms/op 34.929 ms/op 1.01
BeaconState.hashTreeRoot - 1 balances 160.90 us/op 161.38 us/op 1.00
BeaconState.hashTreeRoot - 32 balances 1.4473 ms/op 1.2547 ms/op 1.15
BeaconState.hashTreeRoot - 512 balances 17.441 ms/op 7.6311 ms/op 2.29
BeaconState.hashTreeRoot - 250000 balances 279.63 ms/op 170.17 ms/op 1.64
aggregationBits - 2048 els - zipIndexesInBitList 46.089 us/op 21.869 us/op 2.11
byteArrayEquals 32 83.909 ns/op 64.774 ns/op 1.30
Buffer.compare 32 66.911 ns/op 40.546 ns/op 1.65
byteArrayEquals 1024 2.3734 us/op 1.7682 us/op 1.34
Buffer.compare 1024 82.054 ns/op 47.146 ns/op 1.74
byteArrayEquals 16384 40.271 us/op 28.342 us/op 1.42
Buffer.compare 16384 300.40 ns/op 230.09 ns/op 1.31
byteArrayEquals 123687377 291.71 ms/op 208.29 ms/op 1.40
Buffer.compare 123687377 9.8322 ms/op 6.7117 ms/op 1.46
byteArrayEquals 32 - diff last byte 95.149 ns/op 59.218 ns/op 1.61
Buffer.compare 32 - diff last byte 73.416 ns/op 39.162 ns/op 1.87
byteArrayEquals 1024 - diff last byte 2.7092 us/op 1.6915 us/op 1.60
Buffer.compare 1024 - diff last byte 93.871 ns/op 46.851 ns/op 2.00
byteArrayEquals 16384 - diff last byte 43.313 us/op 26.225 us/op 1.65
Buffer.compare 16384 - diff last byte 319.60 ns/op 235.63 ns/op 1.36
byteArrayEquals 123687377 - diff last byte 307.11 ms/op 208.16 ms/op 1.48
Buffer.compare 123687377 - diff last byte 11.712 ms/op 6.9327 ms/op 1.69
byteArrayEquals 32 - random bytes 7.3980 ns/op 4.7580 ns/op 1.55
Buffer.compare 32 - random bytes 74.119 ns/op 42.119 ns/op 1.76
byteArrayEquals 1024 - random bytes 7.2010 ns/op 4.6920 ns/op 1.53
Buffer.compare 1024 - random bytes 72.346 ns/op 40.508 ns/op 1.79
byteArrayEquals 16384 - random bytes 7.1070 ns/op 4.5900 ns/op 1.55
Buffer.compare 16384 - random bytes 72.205 ns/op 40.149 ns/op 1.80
byteArrayEquals 123687377 - random bytes 14.090 ns/op 8.1200 ns/op 1.74
Buffer.compare 123687377 - random bytes 91.860 ns/op 43.510 ns/op 2.11
regular array get 100000 times 54.212 us/op 42.791 us/op 1.27
wrappedArray get 100000 times 51.353 us/op 42.750 us/op 1.20
arrayWithProxy get 100000 times 16.374 ms/op 10.951 ms/op 1.50
ssz.Root.equals 62.111 ns/op 57.008 ns/op 1.09
byteArrayEquals 60.900 ns/op 56.616 ns/op 1.08
Buffer.compare 13.583 ns/op 11.679 ns/op 1.16
shuffle list - 16384 els 9.9780 ms/op 5.9151 ms/op 1.69
shuffle list - 250000 els 139.27 ms/op 87.497 ms/op 1.59
processSlot - 1 slots 20.455 us/op 17.882 us/op 1.14
processSlot - 32 slots 4.9322 ms/op 3.3263 ms/op 1.48
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 72.525 ms/op 60.466 ms/op 1.20
getCommitteeAssignments - req 1 vs - 250000 vc 3.0102 ms/op 2.4417 ms/op 1.23
getCommitteeAssignments - req 100 vs - 250000 vc 4.6477 ms/op 3.6613 ms/op 1.27
getCommitteeAssignments - req 1000 vs - 250000 vc 4.7810 ms/op 4.0079 ms/op 1.19
findModifiedValidators - 10000 modified validators 669.72 ms/op 496.05 ms/op 1.35
findModifiedValidators - 1000 modified validators 511.92 ms/op 419.45 ms/op 1.22
findModifiedValidators - 100 modified validators 535.24 ms/op 375.96 ms/op 1.42
findModifiedValidators - 10 modified validators 522.53 ms/op 372.03 ms/op 1.40
findModifiedValidators - 1 modified validators 502.93 ms/op 354.32 ms/op 1.42
findModifiedValidators - no difference 522.25 ms/op 365.64 ms/op 1.43
compare ViewDUs 5.0615 s/op 4.4869 s/op 1.13
compare each validator Uint8Array 1.9853 s/op 1.9374 s/op 1.02
compare ViewDU to Uint8Array 1.5070 s/op 1.0416 s/op 1.45
migrate state 1000000 validators, 24 modified, 0 new 885.32 ms/op 747.53 ms/op 1.18
migrate state 1000000 validators, 1700 modified, 1000 new 1.2633 s/op 1.0140 s/op 1.25
migrate state 1000000 validators, 3400 modified, 2000 new 1.7837 s/op 1.3130 s/op 1.36
migrate state 1500000 validators, 24 modified, 0 new 1.1208 s/op 742.35 ms/op 1.51
migrate state 1500000 validators, 1700 modified, 1000 new 1.2467 s/op 1.1669 s/op 1.07
migrate state 1500000 validators, 3400 modified, 2000 new 1.4651 s/op 1.4879 s/op 0.98
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9300 ns/op 4.8300 ns/op 1.02
state getBlockRootAtSlot - 250000 vs - 7PWei 706.42 ns/op 855.10 ns/op 0.83
computeProposers - vc 250000 10.377 ms/op 6.3996 ms/op 1.62
computeEpochShuffling - vc 250000 135.73 ms/op 85.626 ms/op 1.59
getNextSyncCommittee - vc 250000 182.42 ms/op 108.19 ms/op 1.69
computeSigningRoot for AttestationData 38.848 us/op 24.163 us/op 1.61
hash AttestationData serialized data then Buffer.toString(base64) 3.2269 us/op 1.3717 us/op 2.35
toHexString serialized data 2.2591 us/op 813.91 ns/op 2.78
Buffer.toString(base64) 343.32 ns/op 187.32 ns/op 1.83

Please sign in to comment.