Skip to content

Commit

Permalink
chore: update dashboards to support network worker (#5593)
Browse files Browse the repository at this point in the history
update dashboards to support network worker
  • Loading branch information
dapplion committed May 31, 2023
1 parent fb6a57a commit 3d77bfe
Show file tree
Hide file tree
Showing 4 changed files with 584 additions and 141 deletions.
8 changes: 4 additions & 4 deletions dashboards/lodestar_libp2p.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"__inputs": [
{
"name": "DS_PROMETHEUS",
"label": "Prometheus",
"description": "",
"type": "datasource",
"label": "Prometheus",
"name": "DS_PROMETHEUS",
"pluginId": "prometheus",
"pluginName": "Prometheus"
"pluginName": "Prometheus",
"type": "datasource"
}
],
"annotations": {
Expand Down
200 changes: 196 additions & 4 deletions dashboards/lodestar_networking.json
Original file line number Diff line number Diff line change
Expand Up @@ -5435,7 +5435,7 @@
}
]
},
"unit": "s"
"unit": "none"
},
"overrides": []
},
Expand All @@ -5445,6 +5445,198 @@
"x": 0,
"y": 195
},
"id": 605,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "60 * (\n rate(beacon_reqresp_incoming_request_handler_time_seconds_count [$rate_interval])\n - on(method)\n rate(beacon_reqresp_incoming_request_handler_time_seconds_bucket{le=\"5\"} [$rate_interval])\n)",
"interval": "",
"legendFormat": "{{method}}",
"range": true,
"refId": "A"
}
],
"title": "Incoming request handler time > 5 sec (req / min)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "none"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 12,
"y": 195
},
"id": 606,
"options": {
"legend": {
"calcs": [],
"displayMode": "list",
"placement": "bottom",
"showLegend": true
},
"tooltip": {
"mode": "single",
"sort": "none"
}
},
"targets": [
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"editorMode": "code",
"exemplar": false,
"expr": "60 * (\n rate(beacon_reqresp_outgoing_request_roundtrip_time_seconds_count [$rate_interval])\n - on(method)\n rate(beacon_reqresp_outgoing_request_roundtrip_time_seconds_bucket{le=\"5\"} [$rate_interval])\n)",
"interval": "",
"legendFormat": "{{method}}",
"range": true,
"refId": "A"
}
],
"title": "Outgoing request roundtrip time > 5 sec (req / min)",
"type": "timeseries"
},
{
"datasource": {
"type": "prometheus",
"uid": "${DS_PROMETHEUS}"
},
"fieldConfig": {
"defaults": {
"color": {
"mode": "palette-classic"
},
"custom": {
"axisCenteredZero": false,
"axisColorMode": "text",
"axisLabel": "",
"axisPlacement": "auto",
"barAlignment": 0,
"drawStyle": "line",
"fillOpacity": 0,
"gradientMode": "none",
"hideFrom": {
"graph": false,
"legend": false,
"tooltip": false,
"viz": false
},
"lineInterpolation": "linear",
"lineWidth": 1,
"pointSize": 5,
"scaleDistribution": {
"type": "linear"
},
"showPoints": "auto",
"spanNulls": false,
"stacking": {
"group": "A",
"mode": "none"
},
"thresholdsStyle": {
"mode": "off"
}
},
"mappings": [],
"thresholds": {
"mode": "absolute",
"steps": [
{
"color": "green",
"value": null
},
{
"color": "red",
"value": 80
}
]
},
"unit": "s"
},
"overrides": []
},
"gridPos": {
"h": 8,
"w": 12,
"x": 0,
"y": 203
},
"id": 498,
"options": {
"legend": {
Expand Down Expand Up @@ -5537,7 +5729,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 195
"y": 203
},
"id": 500,
"options": {
Expand Down Expand Up @@ -5631,7 +5823,7 @@
"h": 8,
"w": 12,
"x": 0,
"y": 203
"y": 211
},
"id": 184,
"options": {
Expand Down Expand Up @@ -5725,7 +5917,7 @@
"h": 8,
"w": 12,
"x": 12,
"y": 203
"y": 211
},
"id": 501,
"options": {
Expand Down
6 changes: 3 additions & 3 deletions dashboards/lodestar_validator_client.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"type": "datasource"
},
{
"description": "",
"label": "Validator client job name",
"name": "VAR_VALIDATOR_JOB",
"type": "constant",
"label": "Validator client job name",
"value": "validator",
"description": ""
"value": "validator"
}
],
"annotations": {
Expand Down
Loading

1 comment on commit 3d77bfe

@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: 3d77bfe Previous: fb6a57a Ratio
altair processEpoch - mainnet_e81889 1.0696 s/op 355.45 ms/op 3.01
altair processSyncCommitteeUpdates - 250000 658.90 ms/op 200.83 ms/op 3.28
BeaconState.hashTreeRoot - No change 1.0740 us/op 293.00 ns/op 3.67
BeaconState.hashTreeRoot - 512 balances 16.199 ms/op 4.9455 ms/op 3.28
BeaconState.hashTreeRoot - 250000 balances 250.42 ms/op 81.621 ms/op 3.07
regular array get 100000 times 159.41 us/op 35.520 us/op 4.49
wrappedArray get 100000 times 146.47 us/op 35.676 us/op 4.11
arrayWithProxy get 100000 times 61.984 ms/op 16.689 ms/op 3.71
shuffle list - 16384 els 25.846 ms/op 7.0944 ms/op 3.64
shuffle list - 250000 els 375.32 ms/op 104.54 ms/op 3.59
processSlot - 1 slots 41.178 us/op 9.6760 us/op 4.26
processSlot - 32 slots 5.5091 ms/op 1.4274 ms/op 3.86
getCommitteeAssignments - req 1000 vs - 250000 vc 17.005 ms/op 4.6070 ms/op 3.69
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 15.440 ns/op 5.1200 ns/op 3.02
computeProposers - vc 250000 41.336 ms/op 11.378 ms/op 3.63
computeEpochShuffling - vc 250000 385.39 ms/op 106.21 ms/op 3.63
getNextSyncCommittee - vc 250000 664.19 ms/op 182.01 ms/op 3.65
computeSigningRoot for AttestationData 52.035 us/op 14.132 us/op 3.68
hash AttestationData serialized data then Buffer.toString(base64) 8.8869 us/op 2.5250 us/op 3.52
toHexString serialized data 4.9932 us/op 1.1601 us/op 4.30
Buffer.toString(base64) 1.4398 us/op 338.57 ns/op 4.25
Full benchmark results
Benchmark suite Current: 3d77bfe Previous: fb6a57a Ratio
getPubkeys - index2pubkey - req 1000 vs - 250000 vc 1.2110 ms/op 810.10 us/op 1.49
getPubkeys - validatorsArr - req 1000 vs - 250000 vc 103.80 us/op 47.875 us/op 2.17
BLS verify - blst-native 2.7883 ms/op 1.2404 ms/op 2.25
BLS verifyMultipleSignatures 3 - blst-native 5.3298 ms/op 2.5291 ms/op 2.11
BLS verifyMultipleSignatures 8 - blst-native 8.2864 ms/op 5.3403 ms/op 1.55
BLS verifyMultipleSignatures 32 - blst-native 33.598 ms/op 19.506 ms/op 1.72
BLS aggregatePubkeys 32 - blst-native 47.804 us/op 26.114 us/op 1.83
BLS aggregatePubkeys 128 - blst-native 174.82 us/op 102.64 us/op 1.70
getAttestationsForBlock 98.089 ms/op 60.254 ms/op 1.63
isKnown best case - 1 super set check 453.00 ns/op 266.00 ns/op 1.70
isKnown normal case - 2 super set checks 444.00 ns/op 261.00 ns/op 1.70
isKnown worse case - 16 super set checks 414.00 ns/op 255.00 ns/op 1.62
CheckpointStateCache - add get delete 7.4270 us/op 5.8820 us/op 1.26
validate gossip signedAggregateAndProof - struct 3.9964 ms/op 2.8271 ms/op 1.41
validate gossip attestation - struct 1.9006 ms/op 1.3776 ms/op 1.38
pickEth1Vote - no votes 1.6300 ms/op 1.3577 ms/op 1.20
pickEth1Vote - max votes 13.154 ms/op 11.480 ms/op 1.15
pickEth1Vote - Eth1Data hashTreeRoot value x2048 12.003 ms/op 9.6209 ms/op 1.25
pickEth1Vote - Eth1Data hashTreeRoot tree x2048 18.784 ms/op 16.697 ms/op 1.13
pickEth1Vote - Eth1Data fastSerialize value x2048 920.94 us/op 698.37 us/op 1.32
pickEth1Vote - Eth1Data fastSerialize tree x2048 10.253 ms/op 8.1855 ms/op 1.25
bytes32 toHexString 829.00 ns/op 609.00 ns/op 1.36
bytes32 Buffer.toString(hex) 544.00 ns/op 447.00 ns/op 1.22
bytes32 Buffer.toString(hex) from Uint8Array 932.00 ns/op 593.00 ns/op 1.57
bytes32 Buffer.toString(hex) + 0x 472.00 ns/op 370.00 ns/op 1.28
Object access 1 prop 0.20600 ns/op 0.17300 ns/op 1.19
Map access 1 prop 0.20300 ns/op 0.16900 ns/op 1.20
Object get x1000 9.2480 ns/op 6.9850 ns/op 1.32
Map get x1000 0.75600 ns/op 0.59300 ns/op 1.27
Object set x1000 73.473 ns/op 58.876 ns/op 1.25
Map set x1000 65.026 ns/op 53.157 ns/op 1.22
Return object 10000 times 0.37150 ns/op 0.24830 ns/op 1.50
Throw Error 10000 times 5.9082 us/op 4.4753 us/op 1.32
fastMsgIdFn sha256 / 200 bytes 5.1000 us/op 3.6600 us/op 1.39
fastMsgIdFn h32 xxhash / 200 bytes 397.00 ns/op 312.00 ns/op 1.27
fastMsgIdFn h64 xxhash / 200 bytes 607.00 ns/op 475.00 ns/op 1.28
fastMsgIdFn sha256 / 1000 bytes 15.424 us/op 12.088 us/op 1.28
fastMsgIdFn h32 xxhash / 1000 bytes 564.00 ns/op 450.00 ns/op 1.25
fastMsgIdFn h64 xxhash / 1000 bytes 625.00 ns/op 561.00 ns/op 1.11
fastMsgIdFn sha256 / 10000 bytes 139.52 us/op 106.16 us/op 1.31
fastMsgIdFn h32 xxhash / 10000 bytes 2.6480 us/op 2.0670 us/op 1.28
fastMsgIdFn h64 xxhash / 10000 bytes 1.8740 us/op 1.4550 us/op 1.29
enrSubnets - fastDeserialize 64 bits 1.8220 us/op 1.4910 us/op 1.22
enrSubnets - ssz BitVector 64 bits 739.00 ns/op 646.00 ns/op 1.14
enrSubnets - fastDeserialize 4 bits 250.00 ns/op 205.00 ns/op 1.22
enrSubnets - ssz BitVector 4 bits 740.00 ns/op 545.00 ns/op 1.36
prioritizePeers score -10:0 att 32-0.1 sync 2-0 157.91 us/op 145.27 us/op 1.09
prioritizePeers score 0:0 att 32-0.25 sync 2-0.25 186.55 us/op 143.29 us/op 1.30
prioritizePeers score 0:0 att 32-0.5 sync 2-0.5 265.69 us/op 175.61 us/op 1.51
prioritizePeers score 0:0 att 64-0.75 sync 4-0.75 547.24 us/op 317.83 us/op 1.72
prioritizePeers score 0:0 att 64-1 sync 4-1 728.98 us/op 397.84 us/op 1.83
array of 16000 items push then shift 2.6597 us/op 1.6913 us/op 1.57
LinkedList of 16000 items push then shift 16.218 ns/op 8.9090 ns/op 1.82
array of 16000 items push then pop 154.60 ns/op 99.059 ns/op 1.56
LinkedList of 16000 items push then pop 11.547 ns/op 8.7510 ns/op 1.32
array of 24000 items push then shift 2.9248 us/op 2.6793 us/op 1.09
LinkedList of 24000 items push then shift 11.025 ns/op 10.099 ns/op 1.09
array of 24000 items push then pop 104.34 ns/op 86.568 ns/op 1.21
LinkedList of 24000 items push then pop 10.514 ns/op 10.467 ns/op 1.00
intersect bitArray bitLen 8 16.728 ns/op 14.110 ns/op 1.19
intersect array and set length 8 105.76 ns/op 83.768 ns/op 1.26
intersect bitArray bitLen 128 58.198 ns/op 47.119 ns/op 1.24
intersect array and set length 128 1.4934 us/op 1.1954 us/op 1.25
Buffer.concat 32 items 3.9920 us/op 3.0240 us/op 1.32
Uint8Array.set 32 items 3.4650 us/op 2.4520 us/op 1.41
transfer serialized Status (84 B) 3.1370 us/op 2.1430 us/op 1.46
copy serialized Status (84 B) 2.8920 us/op 1.7150 us/op 1.69
transfer serialized SignedVoluntaryExit (112 B) 3.1410 us/op 2.1900 us/op 1.43
copy serialized SignedVoluntaryExit (112 B) 2.4370 us/op 1.8440 us/op 1.32
transfer serialized ProposerSlashing (416 B) 3.5830 us/op 2.5540 us/op 1.40
copy serialized ProposerSlashing (416 B) 3.2390 us/op 2.5940 us/op 1.25
transfer serialized Attestation (485 B) 3.5860 us/op 3.3990 us/op 1.06
copy serialized Attestation (485 B) 3.3620 us/op 2.6890 us/op 1.25
transfer serialized AttesterSlashing (33232 B) 3.6640 us/op 2.8400 us/op 1.29
copy serialized AttesterSlashing (33232 B) 7.0540 us/op 7.6370 us/op 0.92
transfer serialized Small SignedBeaconBlock (128000 B) 3.5760 us/op 3.0230 us/op 1.18
copy serialized Small SignedBeaconBlock (128000 B) 17.694 us/op 27.532 us/op 0.64
transfer serialized Avg SignedBeaconBlock (200000 B) 4.8170 us/op 3.6340 us/op 1.33
copy serialized Avg SignedBeaconBlock (200000 B) 24.318 us/op 50.381 us/op 0.48
transfer serialized BlobsSidecar (524380 B) 4.0930 us/op 4.5000 us/op 0.91
copy serialized BlobsSidecar (524380 B) 142.32 us/op 251.61 us/op 0.57
transfer serialized Big SignedBeaconBlock (1000000 B) 5.3380 us/op 3.7220 us/op 1.43
copy serialized Big SignedBeaconBlock (1000000 B) 226.23 us/op 258.63 us/op 0.87
pass gossip attestations to forkchoice per slot 3.6813 ms/op 2.6979 ms/op 1.36
computeDeltas 5.0150 ms/op 4.0796 ms/op 1.23
computeProposerBoostScoreFromBalances 2.6789 ms/op 1.9612 ms/op 1.37
altair processAttestation - 250000 vs - 7PWei normalcase 3.9618 ms/op 3.0097 ms/op 1.32
altair processAttestation - 250000 vs - 7PWei worstcase 6.3426 ms/op 5.1161 ms/op 1.24
altair processAttestation - setStatus - 1/6 committees join 250.74 us/op 160.12 us/op 1.57
altair processAttestation - setStatus - 1/3 committees join 775.98 us/op 287.82 us/op 2.70
altair processAttestation - setStatus - 1/2 committees join 877.58 us/op 381.81 us/op 2.30
altair processAttestation - setStatus - 2/3 committees join 1.1921 ms/op 491.32 us/op 2.43
altair processAttestation - setStatus - 4/5 committees join 1.5883 ms/op 675.05 us/op 2.35
altair processAttestation - setStatus - 100% committees join 1.8681 ms/op 794.02 us/op 2.35
altair processBlock - 250000 vs - 7PWei normalcase 36.894 ms/op 17.753 ms/op 2.08
altair processBlock - 250000 vs - 7PWei normalcase hashState 54.587 ms/op 26.721 ms/op 2.04
altair processBlock - 250000 vs - 7PWei worstcase 110.56 ms/op 52.885 ms/op 2.09
altair processBlock - 250000 vs - 7PWei worstcase hashState 154.63 ms/op 72.351 ms/op 2.14
phase0 processBlock - 250000 vs - 7PWei normalcase 6.6988 ms/op 2.3072 ms/op 2.90
phase0 processBlock - 250000 vs - 7PWei worstcase 95.484 ms/op 33.178 ms/op 2.88
altair processEth1Data - 250000 vs - 7PWei normalcase 1.5318 ms/op 652.80 us/op 2.35
getExpectedWithdrawals 250000 eb:1,eth1:1,we:0,wn:0,smpl:15 25.429 us/op 14.701 us/op 1.73
getExpectedWithdrawals 250000 eb:0.95,eth1:0.1,we:0.05,wn:0,smpl:219 30.090 us/op 40.532 us/op 0.74
getExpectedWithdrawals 250000 eb:0.95,eth1:0.3,we:0.05,wn:0,smpl:42 27.732 us/op 14.864 us/op 1.87
getExpectedWithdrawals 250000 eb:0.95,eth1:0.7,we:0.05,wn:0,smpl:18 25.274 us/op 14.898 us/op 1.70
getExpectedWithdrawals 250000 eb:0.1,eth1:0.1,we:0,wn:0,smpl:1020 234.92 us/op 137.94 us/op 1.70
getExpectedWithdrawals 250000 eb:0.03,eth1:0.03,we:0,wn:0,smpl:11777 2.1886 ms/op 937.70 us/op 2.33
getExpectedWithdrawals 250000 eb:0.01,eth1:0.01,we:0,wn:0,smpl:16384 2.5270 ms/op 1.1960 ms/op 2.11
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,smpl:16384 2.3470 ms/op 1.0549 ms/op 2.22
getExpectedWithdrawals 250000 eb:0,eth1:0,we:0,wn:0,nocache,smpl:16384 6.9918 ms/op 3.3211 ms/op 2.11
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,smpl:16384 3.8231 ms/op 2.0753 ms/op 1.84
getExpectedWithdrawals 250000 eb:0,eth1:1,we:0,wn:0,nocache,smpl:16384 8.5153 ms/op 4.8724 ms/op 1.75
Tree 40 250000 create 1.0429 s/op 494.22 ms/op 2.11
Tree 40 250000 get(125000) 455.59 ns/op 210.04 ns/op 2.17
Tree 40 250000 set(125000) 2.3880 us/op 1.7588 us/op 1.36
Tree 40 250000 toArray() 37.533 ms/op 26.304 ms/op 1.43
Tree 40 250000 iterate all - toArray() + loop 42.140 ms/op 26.913 ms/op 1.57
Tree 40 250000 iterate all - get(i) 132.12 ms/op 83.310 ms/op 1.59
MutableVector 250000 create 29.514 ms/op 14.262 ms/op 2.07
MutableVector 250000 get(125000) 20.932 ns/op 6.8080 ns/op 3.07
MutableVector 250000 set(125000) 905.43 ns/op 376.76 ns/op 2.40
MutableVector 250000 toArray() 8.7951 ms/op 3.8954 ms/op 2.26
MutableVector 250000 iterate all - toArray() + loop 7.7232 ms/op 4.3111 ms/op 1.79
MutableVector 250000 iterate all - get(i) 4.1473 ms/op 1.7492 ms/op 2.37
Array 250000 create 5.2853 ms/op 3.6647 ms/op 1.44
Array 250000 clone - spread 2.7540 ms/op 1.2920 ms/op 2.13
Array 250000 get(125000) 1.9130 ns/op 0.79300 ns/op 2.41
Array 250000 set(125000) 2.3200 ns/op 0.93500 ns/op 2.48
Array 250000 iterate all - loop 293.06 us/op 90.357 us/op 3.24
effectiveBalanceIncrements clone Uint8Array 300000 75.865 us/op 46.424 us/op 1.63
effectiveBalanceIncrements clone MutableVector 300000 1.0630 us/op 433.00 ns/op 2.45
effectiveBalanceIncrements rw all Uint8Array 300000 346.63 us/op 179.84 us/op 1.93
effectiveBalanceIncrements rw all MutableVector 300000 228.63 ms/op 101.77 ms/op 2.25
phase0 afterProcessEpoch - 250000 vs - 7PWei 228.64 ms/op 120.43 ms/op 1.90
phase0 beforeProcessEpoch - 250000 vs - 7PWei 89.142 ms/op 45.916 ms/op 1.94
altair processEpoch - mainnet_e81889 1.0696 s/op 355.45 ms/op 3.01
mainnet_e81889 - altair beforeProcessEpoch 186.15 ms/op 73.766 ms/op 2.52
mainnet_e81889 - altair processJustificationAndFinalization 91.401 us/op 20.865 us/op 4.38
mainnet_e81889 - altair processInactivityUpdates 17.547 ms/op 7.0161 ms/op 2.50
mainnet_e81889 - altair processRewardsAndPenalties 189.31 ms/op 59.908 ms/op 3.16
mainnet_e81889 - altair processRegistryUpdates 12.461 us/op 3.3300 us/op 3.74
mainnet_e81889 - altair processSlashings 3.6540 us/op 947.00 ns/op 3.86
mainnet_e81889 - altair processEth1DataReset 2.8850 us/op 1.0470 us/op 2.76
mainnet_e81889 - altair processEffectiveBalanceUpdates 4.0481 ms/op 1.7745 ms/op 2.28
mainnet_e81889 - altair processSlashingsReset 17.959 us/op 5.3390 us/op 3.36
mainnet_e81889 - altair processRandaoMixesReset 16.514 us/op 4.4130 us/op 3.74
mainnet_e81889 - altair processHistoricalRootsUpdate 2.4570 us/op 668.00 ns/op 3.68
mainnet_e81889 - altair processParticipationFlagUpdates 6.5950 us/op 6.1490 us/op 1.07
mainnet_e81889 - altair processSyncCommitteeUpdates 929.00 ns/op 1.4490 us/op 0.64
mainnet_e81889 - altair afterProcessEpoch 340.09 ms/op 139.15 ms/op 2.44
phase0 processEpoch - mainnet_e58758 818.90 ms/op 426.78 ms/op 1.92
mainnet_e58758 - phase0 beforeProcessEpoch 299.16 ms/op 173.97 ms/op 1.72
mainnet_e58758 - phase0 processJustificationAndFinalization 53.797 us/op 29.670 us/op 1.81
mainnet_e58758 - phase0 processRewardsAndPenalties 130.87 ms/op 68.242 ms/op 1.92
mainnet_e58758 - phase0 processRegistryUpdates 25.565 us/op 14.728 us/op 1.74
mainnet_e58758 - phase0 processSlashings 2.7920 us/op 1.2230 us/op 2.28
mainnet_e58758 - phase0 processEth1DataReset 1.9050 us/op 935.00 ns/op 2.04
mainnet_e58758 - phase0 processEffectiveBalanceUpdates 2.9483 ms/op 1.9985 ms/op 1.48
mainnet_e58758 - phase0 processSlashingsReset 7.9440 us/op 6.0680 us/op 1.31
mainnet_e58758 - phase0 processRandaoMixesReset 23.531 us/op 8.8650 us/op 2.65
mainnet_e58758 - phase0 processHistoricalRootsUpdate 4.4580 us/op 1.2500 us/op 3.57
mainnet_e58758 - phase0 processParticipationRecordUpdates 13.115 us/op 6.5120 us/op 2.01
mainnet_e58758 - phase0 afterProcessEpoch 300.29 ms/op 112.06 ms/op 2.68
phase0 processEffectiveBalanceUpdates - 250000 normalcase 3.0309 ms/op 2.1958 ms/op 1.38
phase0 processEffectiveBalanceUpdates - 250000 worstcase 0.5 3.0674 ms/op 2.3046 ms/op 1.33
altair processInactivityUpdates - 250000 normalcase 54.516 ms/op 32.707 ms/op 1.67
altair processInactivityUpdates - 250000 worstcase 47.472 ms/op 35.384 ms/op 1.34
phase0 processRegistryUpdates - 250000 normalcase 12.055 us/op 12.509 us/op 0.96
phase0 processRegistryUpdates - 250000 badcase_full_deposits 546.39 us/op 295.74 us/op 1.85
phase0 processRegistryUpdates - 250000 worstcase 0.5 259.41 ms/op 142.93 ms/op 1.81
altair processRewardsAndPenalties - 250000 normalcase 106.36 ms/op 70.625 ms/op 1.51
altair processRewardsAndPenalties - 250000 worstcase 123.18 ms/op 81.801 ms/op 1.51
phase0 getAttestationDeltas - 250000 normalcase 19.464 ms/op 8.5746 ms/op 2.27
phase0 getAttestationDeltas - 250000 worstcase 22.150 ms/op 8.6520 ms/op 2.56
phase0 processSlashings - 250000 worstcase 11.876 ms/op 4.2261 ms/op 2.81
altair processSyncCommitteeUpdates - 250000 658.90 ms/op 200.83 ms/op 3.28
BeaconState.hashTreeRoot - No change 1.0740 us/op 293.00 ns/op 3.67
BeaconState.hashTreeRoot - 1 full validator 203.68 us/op 52.535 us/op 3.88
BeaconState.hashTreeRoot - 32 full validator 1.8103 ms/op 605.13 us/op 2.99
BeaconState.hashTreeRoot - 512 full validator 17.930 ms/op 6.2179 ms/op 2.88
BeaconState.hashTreeRoot - 1 validator.effectiveBalance 202.89 us/op 66.386 us/op 3.06
BeaconState.hashTreeRoot - 32 validator.effectiveBalance 2.7724 ms/op 1.0150 ms/op 2.73
BeaconState.hashTreeRoot - 512 validator.effectiveBalance 35.232 ms/op 13.668 ms/op 2.58
BeaconState.hashTreeRoot - 1 balances 164.55 us/op 50.007 us/op 3.29
BeaconState.hashTreeRoot - 32 balances 1.5035 ms/op 509.63 us/op 2.95
BeaconState.hashTreeRoot - 512 balances 16.199 ms/op 4.9455 ms/op 3.28
BeaconState.hashTreeRoot - 250000 balances 250.42 ms/op 81.621 ms/op 3.07
aggregationBits - 2048 els - zipIndexesInBitList 54.041 us/op 18.783 us/op 2.88
regular array get 100000 times 159.41 us/op 35.520 us/op 4.49
wrappedArray get 100000 times 146.47 us/op 35.676 us/op 4.11
arrayWithProxy get 100000 times 61.984 ms/op 16.689 ms/op 3.71
ssz.Root.equals 3.1000 us/op 660.00 ns/op 4.70
byteArrayEquals 2.9850 us/op 559.00 ns/op 5.34
shuffle list - 16384 els 25.846 ms/op 7.0944 ms/op 3.64
shuffle list - 250000 els 375.32 ms/op 104.54 ms/op 3.59
processSlot - 1 slots 41.178 us/op 9.6760 us/op 4.26
processSlot - 32 slots 5.5091 ms/op 1.4274 ms/op 3.86
getEffectiveBalanceIncrementsZeroInactive - 250000 vs - 7PWei 109.63 ms/op 38.243 ms/op 2.87
getCommitteeAssignments - req 1 vs - 250000 vc 11.114 ms/op 3.0256 ms/op 3.67
getCommitteeAssignments - req 100 vs - 250000 vc 16.119 ms/op 4.1210 ms/op 3.91
getCommitteeAssignments - req 1000 vs - 250000 vc 17.005 ms/op 4.6070 ms/op 3.69
RootCache.getBlockRootAtSlot - 250000 vs - 7PWei 15.440 ns/op 5.1200 ns/op 3.02
state getBlockRootAtSlot - 250000 vs - 7PWei 2.2872 us/op 939.01 ns/op 2.44
computeProposers - vc 250000 41.336 ms/op 11.378 ms/op 3.63
computeEpochShuffling - vc 250000 385.39 ms/op 106.21 ms/op 3.63
getNextSyncCommittee - vc 250000 664.19 ms/op 182.01 ms/op 3.65
computeSigningRoot for AttestationData 52.035 us/op 14.132 us/op 3.68
hash AttestationData serialized data then Buffer.toString(base64) 8.8869 us/op 2.5250 us/op 3.52
toHexString serialized data 4.9932 us/op 1.1601 us/op 4.30
Buffer.toString(base64) 1.4398 us/op 338.57 ns/op 4.25

Please sign in to comment.