Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: print out URLs of connected services #6099

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

nflaig
Copy link
Member

@nflaig nflaig commented Nov 8, 2023

Motivation

Closes #5990

Description

Print out URLs of connected services

Copy link
Contributor

github-actions bot commented Nov 8, 2023

Performance Report

✔️ no performance regression detected

Full benchmark results
Benchmark suite Current: cbf126f Previous: 55817cd Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 655.06 us/op 548.60 us/op 1.19
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 79.265 us/op 100.36 us/op 0.79
BLS verify - blst-native 1.2281 ms/op 1.1186 ms/op 1.10
BLS verifyMultipleSignatures 3 - blst-native 2.5739 ms/op 2.4039 ms/op 1.07
BLS verifyMultipleSignatures 8 - blst-native 5.6422 ms/op 5.2756 ms/op 1.07
BLS verifyMultipleSignatures 32 - blst-native 20.669 ms/op 19.565 ms/op 1.06
BLS verifyMultipleSignatures 64 - blst-native 40.726 ms/op 38.562 ms/op 1.06
BLS verifyMultipleSignatures 128 - blst-native 80.769 ms/op 76.029 ms/op 1.06
BLS deserializing 10000 signatures 867.33 ms/op 813.68 ms/op 1.07
BLS deserializing 100000 signatures 8.9926 s/op 8.1757 s/op 1.10
BLS verifyMultipleSignatures - same message - 3 - blst-native 1.3187 ms/op 1.1691 ms/op 1.13
BLS verifyMultipleSignatures - same message - 8 - blst-native 1.4976 ms/op 1.3169 ms/op 1.14
BLS verifyMultipleSignatures - same message - 32 - blst-native 2.6752 ms/op 2.5839 ms/op 1.04
BLS verifyMultipleSignatures - same message - 64 - blst-native 4.2542 ms/op 3.0260 ms/op 1.41
BLS verifyMultipleSignatures - same message - 128 - blst-native 5.4610 ms/op 6.4918 ms/op 0.84
BLS aggregatePubkeys 32 - blst-native 24.818 us/op 22.824 us/op 1.09
BLS aggregatePubkeys 128 - blst-native 98.142 us/op 92.272 us/op 1.06
getAttestationsForBlock 37.899 ms/op 32.539 ms/op 1.16
isKnown best case - 1 super set check 319.00 ns/op 356.00 ns/op 0.90
isKnown normal case - 2 super set checks 314.00 ns/op 315.00 ns/op 1.00
isKnown worse case - 16 super set checks 291.00 ns/op 320.00 ns/op 0.91
CheckpointStateCache - add get delete 5.2600 us/op 4.1490 us/op 1.27
validate api signedAggregateAndProof - struct 2.7310 ms/op 2.5126 ms/op 1.09
validate gossip signedAggregateAndProof - struct 2.7430 ms/op 2.4326 ms/op 1.13
validate gossip attestation - vc 640000 1.3033 ms/op 1.1378 ms/op 1.15
batch validate gossip attestation - vc 640000 - chunk 32 157.33 us/op 139.72 us/op 1.13
batch validate gossip attestation - vc 640000 - chunk 64 139.48 us/op 121.49 us/op 1.15
batch validate gossip attestation - vc 640000 - chunk 128 133.69 us/op 113.91 us/op 1.17
batch validate gossip attestation - vc 640000 - chunk 256 132.37 us/op 112.74 us/op 1.17
pickEth1Vote - no votes 1.3669 ms/op 879.17 us/op 1.55
pickEth1Vote - max votes 8.1383 ms/op 7.4092 ms/op 1.10
pickEth1Vote - Eth1Data hashTreeRoot value x2048 14.277 ms/op 11.098 ms/op 1.29
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 22.576 ms/op 18.574 ms/op 1.22
pickEth1Vote - Eth1Data fastSerialize value x2048 676.11 us/op 405.39 us/op 1.67
pickEth1Vote - Eth1Data fastSerialize tree x2048 4.1746 ms/op 3.3752 ms/op 1.24
bytes32 toHexString 531.00 ns/op 502.00 ns/op 1.06
bytes32 Buffer.toString(hex) 307.00 ns/op 302.00 ns/op 1.02
bytes32 Buffer.toString(hex) from Uint8Array 506.00 ns/op 418.00 ns/op 1.21
bytes32 Buffer.toString(hex) + 0x 302.00 ns/op 314.00 ns/op 0.96
Object access 1 prop 0.21800 ns/op 0.20200 ns/op 1.08
Map access 1 prop 0.15900 ns/op 0.19100 ns/op 0.83
Object get x1000 7.6790 ns/op 5.8360 ns/op 1.32
Map get x1000 0.72900 ns/op 0.53700 ns/op 1.36
Object set x1000 54.991 ns/op 25.650 ns/op 2.14
Map set x1000 44.103 ns/op 17.933 ns/op 2.46
Return object 10000 times 0.26590 ns/op 0.23850 ns/op 1.11
Throw Error 10000 times 4.1427 us/op 2.8103 us/op 1.47
fastMsgIdFn sha256 / 200 bytes 3.4340 us/op 2.0050 us/op 1.71
fastMsgIdFn h32 xxhash / 200 bytes 309.00 ns/op 304.00 ns/op 1.02
fastMsgIdFn h64 xxhash / 200 bytes 357.00 ns/op 356.00 ns/op 1.00
fastMsgIdFn sha256 / 1000 bytes 11.370 us/op 6.3260 us/op 1.80
fastMsgIdFn h32 xxhash / 1000 bytes 474.00 ns/op 462.00 ns/op 1.03
fastMsgIdFn h64 xxhash / 1000 bytes 436.00 ns/op 458.00 ns/op 0.95
fastMsgIdFn sha256 / 10000 bytes 103.07 us/op 53.265 us/op 1.94
fastMsgIdFn h32 xxhash / 10000 bytes 1.9800 us/op 1.8610 us/op 1.06
fastMsgIdFn h64 xxhash / 10000 bytes 1.3780 us/op 1.2920 us/op 1.07
send data - 1000 256B messages 19.890 ms/op 11.508 ms/op 1.73
send data - 1000 512B messages 26.856 ms/op 14.761 ms/op 1.82
send data - 1000 1024B messages 41.758 ms/op 22.348 ms/op 1.87
send data - 1000 1200B messages 39.200 ms/op 26.934 ms/op 1.46
send data - 1000 2048B messages 45.261 ms/op 31.631 ms/op 1.43
send data - 1000 4096B messages 37.809 ms/op 30.985 ms/op 1.22
send data - 1000 16384B messages 107.79 ms/op 91.625 ms/op 1.18
send data - 1000 65536B messages 421.23 ms/op 400.12 ms/op 1.05
enrSubnets - fastDeserialize 64 bits 1.4000 us/op 977.00 ns/op 1.43
enrSubnets - ssz BitVector 64 bits 533.00 ns/op 434.00 ns/op 1.23
enrSubnets - fastDeserialize 4 bits 220.00 ns/op 212.00 ns/op 1.04
enrSubnets - ssz BitVector 4 bits 506.00 ns/op 443.00 ns/op 1.14
prioritizePeers score -10:0 att 32-0.1 sync 2-0 111.40 us/op 73.075 us/op 1.52
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 132.76 us/op 92.880 us/op 1.43
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 184.97 us/op 130.62 us/op 1.42
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 321.63 us/op 228.76 us/op 1.41
prioritizePeers score 0:0 att 64-1 sync 4-1 379.10 us/op 226.09 us/op 1.68
array of 16000 items push then shift 1.8067 us/op 1.3353 us/op 1.35
LinkedList of 16000 items push then shift 9.0790 ns/op 6.0640 ns/op 1.50
array of 16000 items push then pop 101.29 ns/op 85.835 ns/op 1.18
LinkedList of 16000 items push then pop 8.9620 ns/op 5.8000 ns/op 1.55
array of 24000 items push then shift 2.6145 us/op 1.9604 us/op 1.33
LinkedList of 24000 items push then shift 8.8490 ns/op 5.9720 ns/op 1.48
array of 24000 items push then pop 151.99 ns/op 105.15 ns/op 1.45
LinkedList of 24000 items push then pop 9.3170 ns/op 5.7990 ns/op 1.61
intersect bitArray bitLen 8 6.9310 ns/op 5.4820 ns/op 1.26
intersect array and set length 8 62.357 ns/op 44.332 ns/op 1.41
intersect bitArray bitLen 128 31.823 ns/op 25.944 ns/op 1.23
intersect array and set length 128 957.07 ns/op 594.22 ns/op 1.61
bitArray.getTrueBitIndexes() bitLen 128 1.6010 us/op 1.4200 us/op 1.13
bitArray.getTrueBitIndexes() bitLen 248 2.7030 us/op 2.6810 us/op 1.01
bitArray.getTrueBitIndexes() bitLen 512 5.1470 us/op 5.6260 us/op 0.91
Buffer.concat 32 items 1.0730 us/op 881.00 ns/op 1.22
Uint8Array.set 32 items 1.9180 us/op 1.8140 us/op 1.06
Set add up to 64 items then delete first 4.6005 us/op 2.3167 us/op 1.99
OrderedSet add up to 64 items then delete first 6.0329 us/op 3.7150 us/op 1.62
Set add up to 64 items then delete last 4.8658 us/op 2.6709 us/op 1.82
OrderedSet add up to 64 items then delete last 6.0508 us/op 4.0803 us/op 1.48
Set add up to 64 items then delete middle 4.6476 us/op 2.2888 us/op 2.03
OrderedSet add up to 64 items then delete middle 7.2757 us/op 5.1772 us/op 1.41
Set add up to 128 items then delete first 10.127 us/op 4.5089 us/op 2.25
OrderedSet add up to 128 items then delete first 12.639 us/op 7.2528 us/op 1.74
Set add up to 128 items then delete last 9.5610 us/op 4.8357 us/op 1.98
OrderedSet add up to 128 items then delete last 12.256 us/op 7.7646 us/op 1.58
Set add up to 128 items then delete middle 9.5296 us/op 4.5663 us/op 2.09
OrderedSet add up to 128 items then delete middle 17.673 us/op 13.603 us/op 1.30
Set add up to 256 items then delete first 19.057 us/op 9.7196 us/op 1.96
OrderedSet add up to 256 items then delete first 27.055 us/op 16.693 us/op 1.62
Set add up to 256 items then delete last 19.574 us/op 8.9811 us/op 2.18
OrderedSet add up to 256 items then delete last 26.592 us/op 13.223 us/op 2.01
Set add up to 256 items then delete middle 20.125 us/op 10.337 us/op 1.95
OrderedSet add up to 256 items then delete middle 52.067 us/op 32.698 us/op 1.59
transfer serialized Status (84 B) 1.9830 us/op 1.7070 us/op 1.16
copy serialized Status (84 B) 1.6030 us/op 1.5030 us/op 1.07
transfer serialized SignedVoluntaryExit (112 B) 2.0390 us/op 1.8760 us/op 1.09
copy serialized SignedVoluntaryExit (112 B) 1.7640 us/op 1.5130 us/op 1.17
transfer serialized ProposerSlashing (416 B) 2.7320 us/op 2.5720 us/op 1.06
copy serialized ProposerSlashing (416 B) 2.2060 us/op 2.8010 us/op 0.79
transfer serialized Attestation (485 B) 2.4130 us/op 3.2670 us/op 0.74
copy serialized Attestation (485 B) 2.1510 us/op 3.1990 us/op 0.67
transfer serialized AttesterSlashing (33232 B) 2.1920 us/op 2.8910 us/op 0.76
copy serialized AttesterSlashing (33232 B) 6.0550 us/op 6.3410 us/op 0.95
transfer serialized Small SignedBeaconBlock (128000 B) 2.4860 us/op 3.2010 us/op 0.78
copy serialized Small SignedBeaconBlock (128000 B) 16.751 us/op 10.729 us/op 1.56
transfer serialized Avg SignedBeaconBlock (200000 B) 2.9130 us/op 2.9950 us/op 0.97
copy serialized Avg SignedBeaconBlock (200000 B) 24.600 us/op 14.488 us/op 1.70
transfer serialized BlobsSidecar (524380 B) 3.0270 us/op 3.0830 us/op 0.98
copy serialized BlobsSidecar (524380 B) 100.07 us/op 336.29 us/op 0.30
transfer serialized Big SignedBeaconBlock (1000000 B) 3.3130 us/op 3.4000 us/op 0.97
copy serialized Big SignedBeaconBlock (1000000 B) 182.59 us/op 213.24 us/op 0.86
pass gossip attestations to forkchoice per slot 3.9398 ms/op 2.8291 ms/op 1.39
forkChoice updateHead vc 100000 bc 64 eq 0 825.47 us/op 474.24 us/op 1.74
forkChoice updateHead vc 600000 bc 64 eq 0 5.6903 ms/op 3.2777 ms/op 1.74
forkChoice updateHead vc 1000000 bc 64 eq 0 7.5942 ms/op 4.7765 ms/op 1.59
forkChoice updateHead vc 600000 bc 320 eq 0 4.3567 ms/op 2.7267 ms/op 1.60
forkChoice updateHead vc 600000 bc 1200 eq 0 4.8651 ms/op 2.8484 ms/op 1.71
forkChoice updateHead vc 600000 bc 7200 eq 0 5.5610 ms/op 3.6442 ms/op 1.53
forkChoice updateHead vc 600000 bc 64 eq 1000 11.755 ms/op 10.260 ms/op 1.15
forkChoice updateHead vc 600000 bc 64 eq 10000 12.554 ms/op 10.285 ms/op 1.22
forkChoice updateHead vc 600000 bc 64 eq 300000 16.102 ms/op 15.245 ms/op 1.06
computeDeltas 500000 validators 300 proto nodes 6.8123 ms/op 3.0411 ms/op 2.24
computeDeltas 500000 validators 1200 proto nodes 6.6435 ms/op 2.9853 ms/op 2.23
computeDeltas 500000 validators 7200 proto nodes 6.6441 ms/op 2.9959 ms/op 2.22
computeDeltas 750000 validators 300 proto nodes 10.033 ms/op 4.5940 ms/op 2.18
computeDeltas 750000 validators 1200 proto nodes 9.9870 ms/op 4.5655 ms/op 2.19
computeDeltas 750000 validators 7200 proto nodes 9.9548 ms/op 4.4942 ms/op 2.22
computeDeltas 1400000 validators 300 proto nodes 19.138 ms/op 8.8280 ms/op 2.17
computeDeltas 1400000 validators 1200 proto nodes 19.265 ms/op 8.5325 ms/op 2.26
computeDeltas 1400000 validators 7200 proto nodes 18.384 ms/op 8.2989 ms/op 2.22
computeDeltas 2100000 validators 300 proto nodes 27.834 ms/op 13.655 ms/op 2.04
computeDeltas 2100000 validators 1200 proto nodes 27.821 ms/op 13.487 ms/op 2.06
computeDeltas 2100000 validators 7200 proto nodes 27.903 ms/op 13.858 ms/op 2.01
computeProposerBoostScoreFromBalances 500000 validators 3.2223 ms/op 2.8065 ms/op 1.15
computeProposerBoostScoreFromBalances 750000 validators 3.1856 ms/op 2.8418 ms/op 1.12
computeProposerBoostScoreFromBalances 1400000 validators 3.1748 ms/op 2.8402 ms/op 1.12
computeProposerBoostScoreFromBalances 2100000 validators 3.1838 ms/op 2.7451 ms/op 1.16
altair processAttestation - 250000 vs - 7PWei normalcase 2.0627 ms/op 1.4039 ms/op 1.47
altair processAttestation - 250000 vs - 7PWei worstcase 3.0111 ms/op 2.7410 ms/op 1.10
altair processAttestation - setStatus - 1/6 committees join 135.03 us/op 76.153 us/op 1.77
altair processAttestation - setStatus - 1/3 committees join 268.25 us/op 137.94 us/op 1.94
altair processAttestation - setStatus - 1/2 committees join 356.09 us/op 221.25 us/op 1.61
altair processAttestation - setStatus - 2/3 committees join 450.35 us/op 285.45 us/op 1.58
altair processAttestation - setStatus - 4/5 committees join 621.66 us/op 398.99 us/op 1.56
altair processAttestation - setStatus - 100% committees join 729.12 us/op 473.34 us/op 1.54
altair processBlock - 250000 vs - 7PWei normalcase 9.2815 ms/op 8.4053 ms/op 1.10
altair processBlock - 250000 vs - 7PWei normalcase hashState 35.100 ms/op 30.747 ms/op 1.14
altair processBlock - 250000 vs - 7PWei worstcase 40.495 ms/op 31.897 ms/op 1.27
altair processBlock - 250000 vs - 7PWei worstcase hashState 104.16 ms/op 91.309 ms/op 1.14
phase0 processBlock - 250000 vs - 7PWei normalcase 2.6045 ms/op 2.5421 ms/op 1.02
phase0 processBlock - 250000 vs - 7PWei worstcase 31.731 ms/op 28.479 ms/op 1.11
altair processEth1Data - 250000 vs - 7PWei normalcase 490.98 us/op 387.22 us/op 1.27
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 7.2110 us/op 6.2140 us/op 1.16
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 50.189 us/op 49.841 us/op 1.01
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 10.999 us/op 14.127 us/op 0.78
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 14.683 us/op 5.9840 us/op 2.45
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 146.81 us/op 162.52 us/op 0.90
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 1.0897 ms/op 1.0004 ms/op 1.09
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 1.7965 ms/op 891.28 us/op 2.02
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 1.7426 ms/op 1.4474 ms/op 1.20
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 3.4040 ms/op 2.2533 ms/op 1.51
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 2.7505 ms/op 1.6302 ms/op 1.69
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 5.3718 ms/op 3.8604 ms/op 1.39
Tree 40 250000 create 369.39 ms/op 270.56 ms/op 1.37
Tree 40 250000 get(125000) 207.97 ns/op 100.19 ns/op 2.08
Tree 40 250000 set(125000) 1.2147 us/op 673.87 ns/op 1.80
Tree 40 250000 toArray() 22.559 ms/op 14.466 ms/op 1.56
Tree 40 250000 iterate all - toArray() + loop 22.566 ms/op 14.783 ms/op 1.53
Tree 40 250000 iterate all - get(i) 76.017 ms/op 39.248 ms/op 1.94
MutableVector 250000 create 14.704 ms/op 11.986 ms/op 1.23
MutableVector 250000 get(125000) 6.6350 ns/op 5.6100 ns/op 1.18
MutableVector 250000 set(125000) 306.31 ns/op 201.02 ns/op 1.52
MutableVector 250000 toArray() 3.8929 ms/op 2.1578 ms/op 1.80
MutableVector 250000 iterate all - toArray() + loop 3.9624 ms/op 2.4809 ms/op 1.60
MutableVector 250000 iterate all - get(i) 1.5541 ms/op 1.3515 ms/op 1.15
Array 250000 create 2.9821 ms/op 2.4966 ms/op 1.19
Array 250000 clone - spread 1.3584 ms/op 1.1182 ms/op 1.21
Array 250000 get(125000) 0.64100 ns/op 0.62300 ns/op 1.03
Array 250000 set(125000) 0.72200 ns/op 0.68900 ns/op 1.05
Array 250000 iterate all - loop 83.578 us/op 73.946 us/op 1.13
effectiveBalanceIncrements clone Uint8Array 300000 43.752 us/op 47.235 us/op 0.93
effectiveBalanceIncrements clone MutableVector 300000 415.00 ns/op 352.00 ns/op 1.18
effectiveBalanceIncrements rw all Uint8Array 300000 178.03 us/op 167.54 us/op 1.06
effectiveBalanceIncrements rw all MutableVector 300000 94.172 ms/op 61.374 ms/op 1.53
phase0 afterProcessEpoch - 250000 vs - 7PWei 114.43 ms/op 77.931 ms/op 1.47
phase0 beforeProcessEpoch - 250000 vs - 7PWei 36.779 ms/op 41.578 ms/op 0.88
altair processEpoch - mainnet_e81889 499.31 ms/op 387.43 ms/op 1.29
mainnet_e81889 - altair beforeProcessEpoch 78.290 ms/op 60.222 ms/op 1.30
mainnet_e81889 - altair processJustificationAndFinalization 14.396 us/op 8.9050 us/op 1.62
mainnet_e81889 - altair processInactivityUpdates 5.8433 ms/op 3.5436 ms/op 1.65
mainnet_e81889 - altair processRewardsAndPenalties 54.740 ms/op 74.641 ms/op 0.73
mainnet_e81889 - altair processRegistryUpdates 2.2860 us/op 1.5800 us/op 1.45
mainnet_e81889 - altair processSlashings 455.00 ns/op 570.00 ns/op 0.80
mainnet_e81889 - altair processEth1DataReset 532.00 ns/op 510.00 ns/op 1.04
mainnet_e81889 - altair processEffectiveBalanceUpdates 1.2623 ms/op 1.4835 ms/op 0.85
mainnet_e81889 - altair processSlashingsReset 2.8360 us/op 2.3270 us/op 1.22
mainnet_e81889 - altair processRandaoMixesReset 5.5180 us/op 1.8700 us/op 2.95
mainnet_e81889 - altair processHistoricalRootsUpdate 748.00 ns/op 413.00 ns/op 1.81
mainnet_e81889 - altair processParticipationFlagUpdates 1.9570 us/op 765.00 ns/op 2.56
mainnet_e81889 - altair processSyncCommitteeUpdates 555.00 ns/op 456.00 ns/op 1.22
mainnet_e81889 - altair afterProcessEpoch 121.26 ms/op 76.501 ms/op 1.59
capella processEpoch - mainnet_e217614 1.9874 s/op 1.6999 s/op 1.17
mainnet_e217614 - capella beforeProcessEpoch 426.55 ms/op 379.45 ms/op 1.12
mainnet_e217614 - capella processJustificationAndFinalization 13.367 us/op 10.453 us/op 1.28
mainnet_e217614 - capella processInactivityUpdates 18.620 ms/op 16.085 ms/op 1.16
mainnet_e217614 - capella processRewardsAndPenalties 482.51 ms/op 411.81 ms/op 1.17
mainnet_e217614 - capella processRegistryUpdates 27.362 us/op 18.928 us/op 1.45
mainnet_e217614 - capella processSlashings 650.00 ns/op 584.00 ns/op 1.11
mainnet_e217614 - capella processEth1DataReset 457.00 ns/op 680.00 ns/op 0.67
mainnet_e217614 - capella processEffectiveBalanceUpdates 3.9886 ms/op 2.9749 ms/op 1.34
mainnet_e217614 - capella processSlashingsReset 2.5030 us/op 2.1340 us/op 1.17
mainnet_e217614 - capella processRandaoMixesReset 4.4480 us/op 4.4270 us/op 1.00
mainnet_e217614 - capella processHistoricalRootsUpdate 691.00 ns/op 823.00 ns/op 0.84
mainnet_e217614 - capella processParticipationFlagUpdates 2.0360 us/op 2.3680 us/op 0.86
mainnet_e217614 - capella afterProcessEpoch 314.14 ms/op 208.59 ms/op 1.51
phase0 processEpoch - mainnet_e58758 404.84 ms/op 378.19 ms/op 1.07
mainnet_e58758 - phase0 beforeProcessEpoch 118.44 ms/op 117.23 ms/op 1.01
mainnet_e58758 - phase0 processJustificationAndFinalization 18.038 us/op 12.541 us/op 1.44
mainnet_e58758 - phase0 processRewardsAndPenalties 59.528 ms/op 56.018 ms/op 1.06
mainnet_e58758 - phase0 processRegistryUpdates 11.650 us/op 4.3830 us/op 2.66
mainnet_e58758 - phase0 processSlashings 507.00 ns/op 508.00 ns/op 1.00
mainnet_e58758 - phase0 processEth1DataReset 454.00 ns/op 490.00 ns/op 0.93
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 984.07 us/op 751.18 us/op 1.31
mainnet_e58758 - phase0 processSlashingsReset 2.5740 us/op 1.6940 us/op 1.52
mainnet_e58758 - phase0 processRandaoMixesReset 3.6720 us/op 3.6750 us/op 1.00
mainnet_e58758 - phase0 processHistoricalRootsUpdate 666.00 ns/op 339.00 ns/op 1.96
mainnet_e58758 - phase0 processParticipationRecordUpdates 3.7880 us/op 3.2150 us/op 1.18
mainnet_e58758 - phase0 afterProcessEpoch 98.391 ms/op 65.743 ms/op 1.50
phase0 processEffectiveBalanceUpdates - 250000 normalcase 1.5156 ms/op 889.25 us/op 1.70
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 1.4418 ms/op 1.4422 ms/op 1.00
altair processInactivityUpdates - 250000 normalcase 19.581 ms/op 21.249 ms/op 0.92
altair processInactivityUpdates - 250000 worstcase 22.848 ms/op 17.812 ms/op 1.28
phase0 processRegistryUpdates - 250000 normalcase 8.1080 us/op 5.6030 us/op 1.45
phase0 processRegistryUpdates - 250000 badcase_full_deposits 415.91 us/op 398.77 us/op 1.04
phase0 processRegistryUpdates - 250000 worstcase 0.5 135.58 ms/op 124.53 ms/op 1.09
altair processRewardsAndPenalties - 250000 normalcase 72.250 ms/op 60.831 ms/op 1.19
altair processRewardsAndPenalties - 250000 worstcase 65.887 ms/op 63.173 ms/op 1.04
phase0 getAttestationDeltas - 250000 normalcase 8.5905 ms/op 5.5021 ms/op 1.56
phase0 getAttestationDeltas - 250000 worstcase 9.0143 ms/op 5.5677 ms/op 1.62
phase0 processSlashings - 250000 worstcase 2.3292 ms/op 1.4987 ms/op 1.55
altair processSyncCommitteeUpdates - 250000 157.08 ms/op 100.31 ms/op 1.57
BeaconState.hashTreeRoot - No change 257.00 ns/op 312.00 ns/op 0.82
BeaconState.hashTreeRoot - 1 full validator 116.71 us/op 93.106 us/op 1.25
BeaconState.hashTreeRoot - 32 full validator 1.1788 ms/op 1.1104 ms/op 1.06
BeaconState.hashTreeRoot - 512 full validator 12.855 ms/op 11.874 ms/op 1.08
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 148.47 us/op 160.45 us/op 0.93
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 1.9475 ms/op 1.5648 ms/op 1.24
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 25.040 ms/op 21.610 ms/op 1.16
BeaconState.hashTreeRoot - 1 balances 116.58 us/op 118.76 us/op 0.98
BeaconState.hashTreeRoot - 32 balances 1.1860 ms/op 1.1667 ms/op 1.02
BeaconState.hashTreeRoot - 512 balances 9.9436 ms/op 11.060 ms/op 0.90
BeaconState.hashTreeRoot - 250000 balances 216.26 ms/op 157.58 ms/op 1.37
aggregationBits - 2048 els - zipIndexesInBitList 18.679 us/op 12.707 us/op 1.47
byteArrayEquals 32 51.241 ns/op 46.684 ns/op 1.10
Buffer.compare 32 65.590 ns/op 35.243 ns/op 1.86
byteArrayEquals 1024 1.4856 us/op 1.2230 us/op 1.21
Buffer.compare 1024 79.667 ns/op 41.814 ns/op 1.91
byteArrayEquals 16384 23.409 us/op 19.908 us/op 1.18
Buffer.compare 16384 291.31 ns/op 207.89 ns/op 1.40
byteArrayEquals 123687377 181.59 ms/op 144.89 ms/op 1.25
Buffer.compare 123687377 10.299 ms/op 5.2650 ms/op 1.96
byteArrayEquals 32 - diff last byte 58.126 ns/op 46.496 ns/op 1.25
Buffer.compare 32 - diff last byte 63.000 ns/op 37.960 ns/op 1.66
byteArrayEquals 1024 - diff last byte 1.6158 us/op 1.2277 us/op 1.32
Buffer.compare 1024 - diff last byte 76.926 ns/op 42.750 ns/op 1.80
byteArrayEquals 16384 - diff last byte 24.913 us/op 19.571 us/op 1.27
Buffer.compare 16384 - diff last byte 290.79 ns/op 192.02 ns/op 1.51
byteArrayEquals 123687377 - diff last byte 199.54 ms/op 143.99 ms/op 1.39
Buffer.compare 123687377 - diff last byte 12.496 ms/op 5.2846 ms/op 2.36
byteArrayEquals 32 - random bytes 7.7300 ns/op 4.7450 ns/op 1.63
Buffer.compare 32 - random bytes 72.371 ns/op 38.839 ns/op 1.86
byteArrayEquals 1024 - random bytes 7.8090 ns/op 4.6910 ns/op 1.66
Buffer.compare 1024 - random bytes 70.971 ns/op 36.705 ns/op 1.93
byteArrayEquals 16384 - random bytes 7.9510 ns/op 4.7120 ns/op 1.69
Buffer.compare 16384 - random bytes 71.461 ns/op 37.043 ns/op 1.93
byteArrayEquals 123687377 - random bytes 21.110 ns/op 8.2800 ns/op 2.55
Buffer.compare 123687377 - random bytes 82.810 ns/op 42.810 ns/op 1.93
regular array get 100000 times 52.537 us/op 30.945 us/op 1.70
wrappedArray get 100000 times 48.305 us/op 30.854 us/op 1.57
arrayWithProxy get 100000 times 15.930 ms/op 9.5823 ms/op 1.66
ssz.Root.equals 60.072 ns/op 47.401 ns/op 1.27
byteArrayEquals 55.083 ns/op 46.746 ns/op 1.18
Buffer.compare 13.586 ns/op 8.7840 ns/op 1.55
shuffle list - 16384 els 7.5251 ms/op 4.4412 ms/op 1.69
shuffle list - 250000 els 109.58 ms/op 63.879 ms/op 1.72
processSlot - 1 slots 19.063 us/op 15.031 us/op 1.27
processSlot - 32 slots 3.8236 ms/op 2.9376 ms/op 1.30
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 61.291 ms/op 51.127 ms/op 1.20
getCommitteeAssignments - req 1 vs - 250000 vc 2.5377 ms/op 2.2482 ms/op 1.13
getCommitteeAssignments - req 100 vs - 250000 vc 3.7481 ms/op 3.3730 ms/op 1.11
getCommitteeAssignments - req 1000 vs - 250000 vc 4.0789 ms/op 3.7275 ms/op 1.09
findModifiedValidators - 10000 modified validators 550.00 ms/op 441.61 ms/op 1.25
findModifiedValidators - 1000 modified validators 438.06 ms/op 338.03 ms/op 1.30
findModifiedValidators - 100 modified validators 424.09 ms/op 302.64 ms/op 1.40
findModifiedValidators - 10 modified validators 421.41 ms/op 322.58 ms/op 1.31
findModifiedValidators - 1 modified validators 413.45 ms/op 313.83 ms/op 1.32
findModifiedValidators - no difference 434.69 ms/op 331.51 ms/op 1.31
compare ViewDUs 4.4492 s/op 4.1238 s/op 1.08
compare each validator Uint8Array 1.7586 s/op 1.7310 s/op 1.02
compare ViewDU to Uint8Array 1.2447 s/op 805.21 ms/op 1.55
migrate state 1000000 validators, 24 modified, 0 new 770.12 ms/op 613.80 ms/op 1.25
migrate state 1000000 validators, 1700 modified, 1000 new 1.0459 s/op 956.91 ms/op 1.09
migrate state 1000000 validators, 3400 modified, 2000 new 1.2367 s/op 1.2914 s/op 0.96
migrate state 1500000 validators, 24 modified, 0 new 736.47 ms/op 732.69 ms/op 1.01
migrate state 1500000 validators, 1700 modified, 1000 new 1.0947 s/op 978.03 ms/op 1.12
migrate state 1500000 validators, 3400 modified, 2000 new 1.4752 s/op 1.1782 s/op 1.25
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 5.1900 ns/op 4.5000 ns/op 1.15
state getBlockRootAtSlot - 250000 vs - 7PWei 708.28 ns/op 835.90 ns/op 0.85
computeProposers - vc 250000 11.072 ms/op 6.8329 ms/op 1.62
computeEpochShuffling - vc 250000 112.94 ms/op 70.214 ms/op 1.61
getNextSyncCommittee - vc 250000 184.22 ms/op 122.21 ms/op 1.51
computeSigningRoot for AttestationData 27.573 us/op 20.813 us/op 1.32
hash AttestationData serialized data then Buffer.toString(base64) 2.4533 us/op 1.2571 us/op 1.95
toHexString serialized data 1.2211 us/op 812.69 ns/op 1.50
Buffer.toString(base64) 258.13 ns/op 148.06 ns/op 1.74

by benchmarkbot/action

@nflaig nflaig merged commit 6f27ac6 into unstable Nov 9, 2023
15 checks passed
@nflaig nflaig deleted the nflaig/log-connected-service-urls branch November 9, 2023 18:34
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.13.0 🎉

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.

Print out URLs of connected services
3 participants