Skip to content

Commit

Permalink
chore: fixed incorrect link (#6427)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeluard authored Feb 14, 2024
1 parent ae61683 commit cd7421e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ yarn build

| Package | Version | License | Docs | Description |
| ----------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ---------------------------------------------------------------- |
| [`@lodestar/beacon-node`](./packages/beacon-node) | [![npm](https://img.shields.io/npm/v/@chainsafe/lodestar)](https://www.npmjs.com/package/@chainsafe/lodestar) | [![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0) | [![documentation](https://img.shields.io/badge/readme-blue)](./packages/beacon-node) | :rotating_light: Beacon-chain client |
| [`@lodestar/beacon-node`](./packages/beacon-node) | [![npm](https://img.shields.io/npm/v/@lodestar/beacon-node)](https://www.npmjs.com/package/@lodestar/beacon-node) | [![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0) | [![documentation](https://img.shields.io/badge/readme-blue)](./packages/beacon-node) | :rotating_light: Beacon-chain client |
| [`@lodestar/validator`](./packages/validator) | [![npm](https://img.shields.io/npm/v/@lodestar/validator)](https://www.npmjs.com/package/@lodestar/validator) | [![License: LGPL v3](https://img.shields.io/badge/License-LGPL%20v3-blue.svg)](https://www.gnu.org/licenses/lgpl-3.0) | [![documentation](https://img.shields.io/badge/readme-blue)](./packages/validator) | :bank: Validator client |
| [`@lodestar/light-client`](./packages/light-client) | [![npm](https://img.shields.io/npm/v/@lodestar/light-client)](https://www.npmjs.com/package/@lodestar/light-client) | [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | [![documentation](https://img.shields.io/badge/readme-blue)](./packages/light-client) | :bird: Ethereum Light client |
| [`@lodestar/api`](./packages/api) | [![npm](https://img.shields.io/npm/v/@lodestar/api)](https://www.npmjs.com/package/@lodestar/api) | [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) | [![documentation](https://img.shields.io/badge/readme-blue)](./packages/api) | :clipboard: REST Client for the Ethereum Beacon API |
Expand Down

1 comment on commit cd7421e

@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: cd7421e Previous: ae61683 Ratio
Set add up to 128 items then delete middle 11.995 us/op 3.8189 us/op 3.14
phase0 processEffectiveBalanceUpdates - 250000 normalcase 3.4505 ms/op 1.0628 ms/op 3.25
Full benchmark results
Benchmark suite Current: cd7421e Previous: ae61683 Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 597.87 us/op 1.2980 ms/op 0.46
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 88.603 us/op 159.80 us/op 0.55
BLS verify - blst-native 1.4294 ms/op 1.2267 ms/op 1.17
BLS verifyMultipleSignatures 3 - blst-native 2.9915 ms/op 3.0641 ms/op 0.98
BLS verifyMultipleSignatures 8 - blst-native 6.5358 ms/op 6.1065 ms/op 1.07
BLS verifyMultipleSignatures 32 - blst-native 23.861 ms/op 20.730 ms/op 1.15
BLS verifyMultipleSignatures 64 - blst-native 46.094 ms/op 40.419 ms/op 1.14
BLS verifyMultipleSignatures 128 - blst-native 90.276 ms/op 82.610 ms/op 1.09
BLS deserializing 10000 signatures 1.0193 s/op 908.07 ms/op 1.12
BLS deserializing 100000 signatures 9.5068 s/op 8.3275 s/op 1.14
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.4690 ms/op 1.1633 ms/op 1.26
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.6339 ms/op 1.3148 ms/op 1.24
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.5077 ms/op 2.0819 ms/op 1.20
BLS verifyMultipleSignatures - same message - 64 - blst-native 3.7574 ms/op 3.0810 ms/op 1.22
BLS verifyMultipleSignatures - same message - 128 - blst-native 6.0194 ms/op 5.0756 ms/op 1.19
BLS aggregatePubkeys 32 - blst-native 27.463 us/op 26.029 us/op 1.06
BLS aggregatePubkeys 128 - blst-native 107.72 us/op 90.059 us/op 1.20
notSeenSlots=1 numMissedVotes=1 numBadVotes=10 65.271 ms/op 47.447 ms/op 1.38
notSeenSlots=1 numMissedVotes=0 numBadVotes=4 60.394 ms/op 68.497 ms/op 0.88
notSeenSlots=2 numMissedVotes=1 numBadVotes=10 46.397 ms/op 50.427 ms/op 0.92
getSlashingsAndExits - default max 197.19 us/op 187.00 us/op 1.05
getSlashingsAndExits - 2k 420.51 us/op 637.75 us/op 0.66
proposeBlockBody type=full, size=empty 6.8517 ms/op 5.2996 ms/op 1.29
isKnown best case - 1 super set check 481.00 ns/op 355.00 ns/op 1.35
isKnown normal case - 2 super set checks 449.00 ns/op 465.00 ns/op 0.97
isKnown worse case - 16 super set checks 409.00 ns/op 340.00 ns/op 1.20
CheckpointStateCache - add get delete 6.8280 us/op 3.9760 us/op 1.72
validate api signedAggregateAndProof - struct 3.1702 ms/op 2.4670 ms/op 1.29
validate gossip signedAggregateAndProof - struct 3.4659 ms/op 2.5403 ms/op 1.36
validate gossip attestation - vc 640000 1.5394 ms/op 1.1608 ms/op 1.33
batch validate gossip attestation - vc 640000 - chunk 32 180.72 us/op 137.34 us/op 1.32
batch validate gossip attestation - vc 640000 - chunk 64 157.67 us/op 129.98 us/op 1.21
batch validate gossip attestation - vc 640000 - chunk 128 143.31 us/op 124.25 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 256 138.45 us/op 123.78 us/op 1.12
pickEth1Vote - no votes 1.2777 ms/op 1.0295 ms/op 1.24
pickEth1Vote - max votes 9.3783 ms/op 9.8945 ms/op 0.95
pickEth1Vote - Eth1Data hashTreeRoot value x2048 17.068 ms/op 15.045 ms/op 1.13
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 27.222 ms/op 22.799 ms/op 1.19
pickEth1Vote - Eth1Data fastSerialize value x2048 674.06 us/op 504.83 us/op 1.34
pickEth1Vote - Eth1Data fastSerialize tree x2048 5.4094 ms/op 4.9517 ms/op 1.09
bytes32 toHexString 498.00 ns/op 618.00 ns/op 0.81
bytes32 Buffer.toString(hex) 293.00 ns/op 435.00 ns/op 0.67
bytes32 Buffer.toString(hex) from Uint8Array 417.00 ns/op 565.00 ns/op 0.74
bytes32 Buffer.toString(hex) + 0x 298.00 ns/op 416.00 ns/op 0.72
Object access 1 prop 0.16400 ns/op 0.27500 ns/op 0.60
Map access 1 prop 0.15500 ns/op 0.24500 ns/op 0.63
Object get x1000 8.0270 ns/op 5.7280 ns/op 1.40
Map get x1000 0.78200 ns/op 0.84700 ns/op 0.92
Object set x1000 53.017 ns/op 46.230 ns/op 1.15
Map set x1000 41.543 ns/op 21.558 ns/op 1.93
Return object 10000 times 0.24990 ns/op 0.25040 ns/op 1.00
Throw Error 10000 times 3.9809 us/op 3.4169 us/op 1.17
fastMsgIdFn sha256 / 200 bytes 3.4230 us/op 2.7790 us/op 1.23
fastMsgIdFn h32 xxhash / 200 bytes 279.00 ns/op 394.00 ns/op 0.71
fastMsgIdFn h64 xxhash / 200 bytes 354.00 ns/op 618.00 ns/op 0.57
fastMsgIdFn sha256 / 1000 bytes 11.920 us/op 7.6660 us/op 1.55
fastMsgIdFn h32 xxhash / 1000 bytes 408.00 ns/op 617.00 ns/op 0.66
fastMsgIdFn h64 xxhash / 1000 bytes 427.00 ns/op 510.00 ns/op 0.84
fastMsgIdFn sha256 / 10000 bytes 108.65 us/op 81.026 us/op 1.34
fastMsgIdFn h32 xxhash / 10000 bytes 1.9880 us/op 2.3910 us/op 0.83
fastMsgIdFn h64 xxhash / 10000 bytes 1.3550 us/op 1.4600 us/op 0.93
send data - 1000 256B messages 19.181 ms/op 25.918 ms/op 0.74
send data - 1000 512B messages 27.029 ms/op 21.928 ms/op 1.23
send data - 1000 1024B messages 41.261 ms/op 37.339 ms/op 1.11
send data - 1000 1200B messages 41.218 ms/op 35.842 ms/op 1.15
send data - 1000 2048B messages 51.855 ms/op 55.144 ms/op 0.94
send data - 1000 4096B messages 46.631 ms/op 49.895 ms/op 0.93
send data - 1000 16384B messages 127.16 ms/op 127.49 ms/op 1.00
send data - 1000 65536B messages 530.23 ms/op 582.56 ms/op 0.91
enrSubnets - fastDeserialize 64 bits 1.4720 us/op 1.2380 us/op 1.19
enrSubnets - ssz BitVector 64 bits 503.00 ns/op 507.00 ns/op 0.99
enrSubnets - fastDeserialize 4 bits 200.00 ns/op 244.00 ns/op 0.82
enrSubnets - ssz BitVector 4 bits 511.00 ns/op 488.00 ns/op 1.05
prioritizePeers score -10:0 att 32-0.1 sync 2-0 128.89 us/op 85.422 us/op 1.51
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 153.31 us/op 106.49 us/op 1.44
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 200.57 us/op 139.65 us/op 1.44
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 326.06 us/op 254.48 us/op 1.28
prioritizePeers score 0:0 att 64-1 sync 4-1 398.69 us/op 258.89 us/op 1.54
array of 16000 items push then shift 1.7657 us/op 1.3161 us/op 1.34
LinkedList of 16000 items push then shift 9.7140 ns/op 8.8780 ns/op 1.09
array of 16000 items push then pop 115.72 ns/op 113.96 ns/op 1.02
LinkedList of 16000 items push then pop 9.4340 ns/op 8.2990 ns/op 1.14
array of 24000 items push then shift 2.7634 us/op 1.9336 us/op 1.43
LinkedList of 24000 items push then shift 10.239 ns/op 7.2160 ns/op 1.42
array of 24000 items push then pop 153.93 ns/op 132.59 ns/op 1.16
LinkedList of 24000 items push then pop 9.8000 ns/op 5.7900 ns/op 1.69
intersect bitArray bitLen 8 6.7090 ns/op 4.8010 ns/op 1.40
intersect array and set length 8 72.396 ns/op 48.553 ns/op 1.49
intersect bitArray bitLen 128 40.246 ns/op 29.827 ns/op 1.35
intersect array and set length 128 996.28 ns/op 697.74 ns/op 1.43
bitArray.getTrueBitIndexes() bitLen 128 1.7620 us/op 1.2800 us/op 1.38
bitArray.getTrueBitIndexes() bitLen 248 3.0190 us/op 2.1210 us/op 1.42
bitArray.getTrueBitIndexes() bitLen 512 5.9840 us/op 4.1100 us/op 1.46
Buffer.concat 32 items 1.1030 us/op 895.00 ns/op 1.23
Uint8Array.set 32 items 2.0390 us/op 1.9040 us/op 1.07
Set add up to 64 items then delete first 4.9766 us/op 2.0486 us/op 2.43
OrderedSet add up to 64 items then delete first 6.3636 us/op 2.9307 us/op 2.17
Set add up to 64 items then delete last 5.5987 us/op 2.4561 us/op 2.28
OrderedSet add up to 64 items then delete last 6.6864 us/op 3.0626 us/op 2.18
Set add up to 64 items then delete middle 5.3394 us/op 1.9869 us/op 2.69
OrderedSet add up to 64 items then delete middle 8.3369 us/op 4.2781 us/op 1.95
Set add up to 128 items then delete first 10.879 us/op 3.9225 us/op 2.77
OrderedSet add up to 128 items then delete first 14.220 us/op 6.1964 us/op 2.29
Set add up to 128 items then delete last 11.074 us/op 3.8126 us/op 2.90
OrderedSet add up to 128 items then delete last 13.451 us/op 5.7548 us/op 2.34
Set add up to 128 items then delete middle 11.995 us/op 3.8189 us/op 3.14
OrderedSet add up to 128 items then delete middle 20.184 us/op 10.802 us/op 1.87
Set add up to 256 items then delete first 22.367 us/op 7.9836 us/op 2.80
OrderedSet add up to 256 items then delete first 31.935 us/op 12.541 us/op 2.55
Set add up to 256 items then delete last 22.071 us/op 7.5088 us/op 2.94
OrderedSet add up to 256 items then delete last 28.188 us/op 11.765 us/op 2.40
Set add up to 256 items then delete middle 21.850 us/op 7.5480 us/op 2.89
OrderedSet add up to 256 items then delete middle 55.172 us/op 32.454 us/op 1.70
transfer serialized Status (84 B) 2.0030 us/op 1.4670 us/op 1.37
copy serialized Status (84 B) 1.5080 us/op 1.2030 us/op 1.25
transfer serialized SignedVoluntaryExit (112 B) 2.1240 us/op 1.5030 us/op 1.41
copy serialized SignedVoluntaryExit (112 B) 1.6760 us/op 1.2150 us/op 1.38
transfer serialized ProposerSlashing (416 B) 3.3670 us/op 1.7460 us/op 1.93
copy serialized ProposerSlashing (416 B) 3.2900 us/op 1.4350 us/op 2.29
transfer serialized Attestation (485 B) 3.5240 us/op 1.7030 us/op 2.07
copy serialized Attestation (485 B) 3.2400 us/op 1.4670 us/op 2.21
transfer serialized AttesterSlashing (33232 B) 3.2800 us/op 1.6940 us/op 1.94
copy serialized AttesterSlashing (33232 B) 8.3940 us/op 3.6430 us/op 2.30
transfer serialized Small SignedBeaconBlock (128000 B) 3.3500 us/op 1.8180 us/op 1.84
copy serialized Small SignedBeaconBlock (128000 B) 19.061 us/op 8.7580 us/op 2.18
transfer serialized Avg SignedBeaconBlock (200000 B) 3.9420 us/op 2.0300 us/op 1.94
copy serialized Avg SignedBeaconBlock (200000 B) 26.402 us/op 13.413 us/op 1.97
transfer serialized BlobsSidecar (524380 B) 3.4700 us/op 2.7040 us/op 1.28
copy serialized BlobsSidecar (524380 B) 92.045 us/op 182.86 us/op 0.50
transfer serialized Big SignedBeaconBlock (1000000 B) 3.9060 us/op 2.7010 us/op 1.45
copy serialized Big SignedBeaconBlock (1000000 B) 185.71 us/op 143.17 us/op 1.30
pass gossip attestations to forkchoice per slot 4.8240 ms/op 2.7168 ms/op 1.78
forkChoice updateHead vc 100000 bc 64 eq 0 778.95 us/op 489.31 us/op 1.59
forkChoice updateHead vc 600000 bc 64 eq 0 5.4654 ms/op 2.6051 ms/op 2.10
forkChoice updateHead vc 1000000 bc 64 eq 0 7.6666 ms/op 4.4416 ms/op 1.73
forkChoice updateHead vc 600000 bc 320 eq 0 4.6335 ms/op 2.6922 ms/op 1.72
forkChoice updateHead vc 600000 bc 1200 eq 0 4.6877 ms/op 2.9057 ms/op 1.61
forkChoice updateHead vc 600000 bc 7200 eq 0 5.7927 ms/op 3.7629 ms/op 1.54
forkChoice updateHead vc 600000 bc 64 eq 1000 11.950 ms/op 10.116 ms/op 1.18
forkChoice updateHead vc 600000 bc 64 eq 10000 12.882 ms/op 10.102 ms/op 1.28
forkChoice updateHead vc 600000 bc 64 eq 300000 17.332 ms/op 13.517 ms/op 1.28
computeDeltas 500000 validators 300 proto nodes 7.2438 ms/op 3.1751 ms/op 2.28
computeDeltas 500000 validators 1200 proto nodes 7.0903 ms/op 3.0940 ms/op 2.29
computeDeltas 500000 validators 7200 proto nodes 6.8198 ms/op 3.2320 ms/op 2.11
computeDeltas 750000 validators 300 proto nodes 10.683 ms/op 5.0125 ms/op 2.13
computeDeltas 750000 validators 1200 proto nodes 11.446 ms/op 4.7849 ms/op 2.39
computeDeltas 750000 validators 7200 proto nodes 11.495 ms/op 4.6341 ms/op 2.48
computeDeltas 1400000 validators 300 proto nodes 21.034 ms/op 9.2630 ms/op 2.27
computeDeltas 1400000 validators 1200 proto nodes 20.810 ms/op 8.9564 ms/op 2.32
computeDeltas 1400000 validators 7200 proto nodes 20.632 ms/op 9.3646 ms/op 2.20
computeDeltas 2100000 validators 300 proto nodes 31.794 ms/op 13.526 ms/op 2.35
computeDeltas 2100000 validators 1200 proto nodes 32.440 ms/op 14.249 ms/op 2.28
computeDeltas 2100000 validators 7200 proto nodes 33.384 ms/op 14.315 ms/op 2.33
altair processAttestation - 250000 vs - 7PWei normalcase 3.0120 ms/op 1.6663 ms/op 1.81
altair processAttestation - 250000 vs - 7PWei worstcase 4.0666 ms/op 2.2919 ms/op 1.77
altair processAttestation - setStatus - 1/6 committees join 177.31 us/op 154.87 us/op 1.14
altair processAttestation - setStatus - 1/3 committees join 319.03 us/op 242.17 us/op 1.32
altair processAttestation - setStatus - 1/2 committees join 450.73 us/op 315.88 us/op 1.43
altair processAttestation - setStatus - 2/3 committees join 549.70 us/op 443.07 us/op 1.24
altair processAttestation - setStatus - 4/5 committees join 794.91 us/op 545.73 us/op 1.46
altair processAttestation - setStatus - 100% committees join 964.23 us/op 629.71 us/op 1.53
altair processBlock - 250000 vs - 7PWei normalcase 12.313 ms/op 9.6636 ms/op 1.27
altair processBlock - 250000 vs - 7PWei normalcase hashState 39.578 ms/op 37.480 ms/op 1.06
altair processBlock - 250000 vs - 7PWei worstcase 52.074 ms/op 36.650 ms/op 1.42
altair processBlock - 250000 vs - 7PWei worstcase hashState 119.03 ms/op 93.528 ms/op 1.27
phase0 processBlock - 250000 vs - 7PWei normalcase 3.1883 ms/op 2.5750 ms/op 1.24
phase0 processBlock - 250000 vs - 7PWei worstcase 35.840 ms/op 29.921 ms/op 1.20
altair processEth1Data - 250000 vs - 7PWei normalcase 617.30 us/op 296.71 us/op 2.08
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 12.176 us/op 12.596 us/op 0.97
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 51.625 us/op 68.063 us/op 0.76
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 28.583 us/op 14.653 us/op 1.95
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 11.944 us/op 9.9880 us/op 1.20
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 186.60 us/op 137.57 us/op 1.36
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.9649 ms/op 1.0356 ms/op 1.90
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.2379 ms/op 1.3562 ms/op 1.65
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.9800 ms/op 1.4440 ms/op 1.37
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 4.2417 ms/op 4.3710 ms/op 0.97
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.4916 ms/op 2.0251 ms/op 1.23
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.0910 ms/op 4.3621 ms/op 1.17
Tree 40 250000 create 430.68 ms/op 322.35 ms/op 1.34
Tree 40 250000 get(125000) 223.41 ns/op 119.61 ns/op 1.87
Tree 40 250000 set(125000) 1.1344 us/op 696.04 ns/op 1.63
Tree 40 250000 toArray() 19.855 ms/op 22.077 ms/op 0.90
Tree 40 250000 iterate all - toArray() + loop 20.737 ms/op 21.360 ms/op 0.97
Tree 40 250000 iterate all - get(i) 70.157 ms/op 49.989 ms/op 1.40
MutableVector 250000 create 21.963 ms/op 14.432 ms/op 1.52
MutableVector 250000 get(125000) 6.9230 ns/op 5.7040 ns/op 1.21
MutableVector 250000 set(125000) 271.19 ns/op 335.73 ns/op 0.81
MutableVector 250000 toArray() 3.8481 ms/op 2.8819 ms/op 1.34
MutableVector 250000 iterate all - toArray() + loop 4.0270 ms/op 3.0012 ms/op 1.34
MutableVector 250000 iterate all - get(i) 1.6652 ms/op 1.3655 ms/op 1.22
Array 250000 create 3.3193 ms/op 2.5035 ms/op 1.33
Array 250000 clone - spread 1.3150 ms/op 1.1606 ms/op 1.13
Array 250000 get(125000) 1.1160 ns/op 1.0650 ns/op 1.05
Array 250000 set(125000) 4.4140 ns/op 1.2870 ns/op 3.43
Array 250000 iterate all - loop 180.76 us/op 156.36 us/op 1.16
effectiveBalanceIncrements clone Uint8Array 300000 29.528 us/op 14.456 us/op 2.04
effectiveBalanceIncrements clone MutableVector 300000 368.00 ns/op 429.00 ns/op 0.86
effectiveBalanceIncrements rw all Uint8Array 300000 221.26 us/op 187.55 us/op 1.18
effectiveBalanceIncrements rw all MutableVector 300000 107.09 ms/op 66.956 ms/op 1.60
phase0 afterProcessEpoch - 250000 vs - 7PWei 130.30 ms/op 75.530 ms/op 1.73
phase0 beforeProcessEpoch - 250000 vs - 7PWei 59.801 ms/op 48.102 ms/op 1.24
altair processEpoch - mainnet_e81889 558.59 ms/op 401.18 ms/op 1.39
mainnet_e81889 - altair beforeProcessEpoch 96.154 ms/op 67.617 ms/op 1.42
mainnet_e81889 - altair processJustificationAndFinalization 22.815 us/op 14.794 us/op 1.54
mainnet_e81889 - altair processInactivityUpdates 7.0984 ms/op 5.3336 ms/op 1.33
mainnet_e81889 - altair processRewardsAndPenalties 75.348 ms/op 61.277 ms/op 1.23
mainnet_e81889 - altair processRegistryUpdates 3.7170 us/op 1.9050 us/op 1.95
mainnet_e81889 - altair processSlashings 593.00 ns/op 660.00 ns/op 0.90
mainnet_e81889 - altair processEth1DataReset 787.00 ns/op 942.00 ns/op 0.84
mainnet_e81889 - altair processEffectiveBalanceUpdates 2.1611 ms/op 1.3069 ms/op 1.65
mainnet_e81889 - altair processSlashingsReset 5.2130 us/op 4.2270 us/op 1.23
mainnet_e81889 - altair processRandaoMixesReset 9.6290 us/op 4.9040 us/op 1.96
mainnet_e81889 - altair processHistoricalRootsUpdate 964.00 ns/op 1.2670 us/op 0.76
mainnet_e81889 - altair processParticipationFlagUpdates 4.2250 us/op 3.1130 us/op 1.36
mainnet_e81889 - altair processSyncCommitteeUpdates 1.1040 us/op 1.1960 us/op 0.92
mainnet_e81889 - altair afterProcessEpoch 138.86 ms/op 85.255 ms/op 1.63
capella processEpoch - mainnet_e217614 2.9180 s/op 2.4800 s/op 1.18
mainnet_e217614 - capella beforeProcessEpoch 627.88 ms/op 530.43 ms/op 1.18
mainnet_e217614 - capella processJustificationAndFinalization 18.746 us/op 23.222 us/op 0.81
mainnet_e217614 - capella processInactivityUpdates 21.696 ms/op 19.862 ms/op 1.09
mainnet_e217614 - capella processRewardsAndPenalties 532.71 ms/op 398.11 ms/op 1.34
mainnet_e217614 - capella processRegistryUpdates 37.336 us/op 21.885 us/op 1.71
mainnet_e217614 - capella processSlashings 1.1460 us/op 810.00 ns/op 1.41
mainnet_e217614 - capella processEth1DataReset 901.00 ns/op 763.00 ns/op 1.18
mainnet_e217614 - capella processEffectiveBalanceUpdates 7.3146 ms/op 4.3839 ms/op 1.67
mainnet_e217614 - capella processSlashingsReset 6.1430 us/op 4.2660 us/op 1.44
mainnet_e217614 - capella processRandaoMixesReset 7.4680 us/op 5.2940 us/op 1.41
mainnet_e217614 - capella processHistoricalRootsUpdate 1.1190 us/op 985.00 ns/op 1.14
mainnet_e217614 - capella processParticipationFlagUpdates 2.4950 us/op 2.1730 us/op 1.15
mainnet_e217614 - capella afterProcessEpoch 431.95 ms/op 240.13 ms/op 1.80
phase0 processEpoch - mainnet_e58758 655.17 ms/op 425.95 ms/op 1.54
mainnet_e58758 - phase0 beforeProcessEpoch 194.83 ms/op 123.18 ms/op 1.58
mainnet_e58758 - phase0 processJustificationAndFinalization 27.195 us/op 14.471 us/op 1.88
mainnet_e58758 - phase0 processRewardsAndPenalties 73.411 ms/op 54.296 ms/op 1.35
mainnet_e58758 - phase0 processRegistryUpdates 19.910 us/op 8.8470 us/op 2.25
mainnet_e58758 - phase0 processSlashings 1.4920 us/op 570.00 ns/op 2.62
mainnet_e58758 - phase0 processEth1DataReset 972.00 ns/op 525.00 ns/op 1.85
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.3569 ms/op 1.4905 ms/op 1.58
mainnet_e58758 - phase0 processSlashingsReset 9.3550 us/op 2.5960 us/op 3.60
mainnet_e58758 - phase0 processRandaoMixesReset 7.5860 us/op 3.2610 us/op 2.33
mainnet_e58758 - phase0 processHistoricalRootsUpdate 779.00 ns/op 642.00 ns/op 1.21
mainnet_e58758 - phase0 processParticipationRecordUpdates 4.2430 us/op 4.0190 us/op 1.06
mainnet_e58758 - phase0 afterProcessEpoch 145.56 ms/op 63.962 ms/op 2.28
phase0 processEffectiveBalanceUpdates - 250000 normalcase 3.4505 ms/op 1.0628 ms/op 3.25
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.8976 ms/op 1.1808 ms/op 1.61
altair processInactivityUpdates - 250000 normalcase 40.179 ms/op 21.238 ms/op 1.89
altair processInactivityUpdates - 250000 worstcase 43.076 ms/op 22.956 ms/op 1.88
phase0 processRegistryUpdates - 250000 normalcase 14.942 us/op 9.2550 us/op 1.61
phase0 processRegistryUpdates - 250000 badcase_full_deposits 592.83 us/op 470.12 us/op 1.26
phase0 processRegistryUpdates - 250000 worstcase 0.5 189.33 ms/op 134.84 ms/op 1.40
altair processRewardsAndPenalties - 250000 normalcase 74.104 ms/op 56.833 ms/op 1.30
altair processRewardsAndPenalties - 250000 worstcase 78.553 ms/op 53.585 ms/op 1.47
phase0 getAttestationDeltas - 250000 normalcase 13.510 ms/op 6.0717 ms/op 2.23
phase0 getAttestationDeltas - 250000 worstcase 14.297 ms/op 9.5738 ms/op 1.49
phase0 processSlashings - 250000 worstcase 124.95 us/op 97.996 us/op 1.28
altair processSyncCommitteeUpdates - 250000 221.35 ms/op 131.45 ms/op 1.68
BeaconState.hashTreeRoot - No change 796.00 ns/op 405.00 ns/op 1.97
BeaconState.hashTreeRoot - 1 full validator 163.09 us/op 86.517 us/op 1.89
BeaconState.hashTreeRoot - 32 full validator 1.9497 ms/op 1.0095 ms/op 1.93
BeaconState.hashTreeRoot - 512 full validator 20.584 ms/op 11.948 ms/op 1.72
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 224.08 us/op 161.07 us/op 1.39
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.9543 ms/op 1.9885 ms/op 1.49
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 41.689 ms/op 32.109 ms/op 1.30
BeaconState.hashTreeRoot - 1 balances 168.72 us/op 140.33 us/op 1.20
BeaconState.hashTreeRoot - 32 balances 1.6191 ms/op 1.3130 ms/op 1.23
BeaconState.hashTreeRoot - 512 balances 15.814 ms/op 14.163 ms/op 1.12
BeaconState.hashTreeRoot - 250000 balances 279.37 ms/op 209.13 ms/op 1.34
aggregationBits - 2048 els - zipIndexesInBitList 21.786 us/op 19.061 us/op 1.14
byteArrayEquals 32 104.12 ns/op 64.571 ns/op 1.61
Buffer.compare 32 71.186 ns/op 39.042 ns/op 1.82
byteArrayEquals 1024 2.8387 us/op 1.7098 us/op 1.66
Buffer.compare 1024 109.79 ns/op 43.481 ns/op 2.53
byteArrayEquals 16384 45.471 us/op 27.205 us/op 1.67
Buffer.compare 16384 335.92 ns/op 236.50 ns/op 1.42
byteArrayEquals 123687377 320.15 ms/op 209.60 ms/op 1.53
Buffer.compare 123687377 10.152 ms/op 7.3516 ms/op 1.38
byteArrayEquals 32 - diff last byte 97.430 ns/op 73.111 ns/op 1.33
Buffer.compare 32 - diff last byte 70.693 ns/op 41.293 ns/op 1.71
byteArrayEquals 1024 - diff last byte 2.5657 us/op 1.8387 us/op 1.40
Buffer.compare 1024 - diff last byte 85.146 ns/op 47.488 ns/op 1.79
byteArrayEquals 16384 - diff last byte 42.464 us/op 28.884 us/op 1.47
Buffer.compare 16384 - diff last byte 326.43 ns/op 219.00 ns/op 1.49
byteArrayEquals 123687377 - diff last byte 329.61 ms/op 212.38 ms/op 1.55
Buffer.compare 123687377 - diff last byte 9.6581 ms/op 6.4707 ms/op 1.49
byteArrayEquals 32 - random bytes 7.3640 ns/op 5.0150 ns/op 1.47
Buffer.compare 32 - random bytes 75.691 ns/op 40.623 ns/op 1.86
byteArrayEquals 1024 - random bytes 7.2060 ns/op 4.9840 ns/op 1.45
Buffer.compare 1024 - random bytes 73.090 ns/op 40.394 ns/op 1.81
byteArrayEquals 16384 - random bytes 6.9540 ns/op 4.7890 ns/op 1.45
Buffer.compare 16384 - random bytes 77.286 ns/op 39.094 ns/op 1.98
byteArrayEquals 123687377 - random bytes 10.470 ns/op 8.3100 ns/op 1.26
Buffer.compare 123687377 - random bytes 85.810 ns/op 50.220 ns/op 1.71
regular array get 100000 times 53.652 us/op 43.806 us/op 1.22
wrappedArray get 100000 times 52.634 us/op 44.811 us/op 1.17
arrayWithProxy get 100000 times 17.387 ms/op 10.285 ms/op 1.69
ssz.Root.equals 64.821 ns/op 56.272 ns/op 1.15
byteArrayEquals 67.423 ns/op 56.293 ns/op 1.20
Buffer.compare 14.363 ns/op 10.735 ns/op 1.34
shuffle list - 16384 els 9.0366 ms/op 4.8128 ms/op 1.88
shuffle list - 250000 els 130.80 ms/op 70.994 ms/op 1.84
processSlot - 1 slots 21.229 us/op 19.445 us/op 1.09
processSlot - 32 slots 5.2851 ms/op 3.0863 ms/op 1.71
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 77.160 ms/op 53.845 ms/op 1.43
getCommitteeAssignments - req 1 vs - 250000 vc 2.9790 ms/op 2.2481 ms/op 1.33
getCommitteeAssignments - req 100 vs - 250000 vc 4.6603 ms/op 3.4329 ms/op 1.36
getCommitteeAssignments - req 1000 vs - 250000 vc 5.0380 ms/op 3.7274 ms/op 1.35
findModifiedValidators - 10000 modified validators 717.36 ms/op 450.94 ms/op 1.59
findModifiedValidators - 1000 modified validators 594.24 ms/op 348.16 ms/op 1.71
findModifiedValidators - 100 modified validators 601.65 ms/op 327.73 ms/op 1.84
findModifiedValidators - 10 modified validators 577.11 ms/op 316.58 ms/op 1.82
findModifiedValidators - 1 modified validators 587.87 ms/op 339.52 ms/op 1.73
findModifiedValidators - no difference 596.76 ms/op 333.80 ms/op 1.79
compare ViewDUs 5.6848 s/op 4.4357 s/op 1.28
compare each validator Uint8Array 1.9743 s/op 1.4655 s/op 1.35
compare ViewDU to Uint8Array 1.3324 s/op 1.1366 s/op 1.17
migrate state 1000000 validators, 24 modified, 0 new 912.77 ms/op 620.37 ms/op 1.47
migrate state 1000000 validators, 1700 modified, 1000 new 1.2319 s/op 818.64 ms/op 1.50
migrate state 1000000 validators, 3400 modified, 2000 new 1.4799 s/op 990.23 ms/op 1.49
migrate state 1500000 validators, 24 modified, 0 new 929.55 ms/op 665.63 ms/op 1.40
migrate state 1500000 validators, 1700 modified, 1000 new 1.2460 s/op 940.39 ms/op 1.32
migrate state 1500000 validators, 3400 modified, 2000 new 1.4744 s/op 1.1316 s/op 1.30
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 4.9800 ns/op 4.5200 ns/op 1.10
state getBlockRootAtSlot - 250000 vs - 7PWei 852.45 ns/op 874.60 ns/op 0.97
computeProposers - vc 250000 10.287 ms/op 6.3375 ms/op 1.62
computeEpochShuffling - vc 250000 106.63 ms/op 66.689 ms/op 1.60
getNextSyncCommittee - vc 250000 174.34 ms/op 111.28 ms/op 1.57
computeSigningRoot for AttestationData 27.725 us/op 26.246 us/op 1.06
hash AttestationData serialized data then Buffer.toString(base64) 2.3285 us/op 1.2130 us/op 1.92
toHexString serialized data 1.1082 us/op 815.32 ns/op 1.36
Buffer.toString(base64) 235.07 ns/op 154.32 ns/op 1.52

Please sign in to comment.