You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CPU profiles show that the cost of handling metrics with 2 labels is relatively high for hot paths like once per message. The two current offenders could be unrolled into multiple metrics with a single label:
CPU profiles show that the cost of handling metrics with 2 labels is relatively high for hot paths like once per message. The two current offenders could be unrolled into multiple metrics with a single label:
Biggest offender
js-libp2p-gossipsub/src/metrics.ts
Lines 341 to 345 in f62859b
Rest of good targets to unbundle
js-libp2p-gossipsub/src/metrics.ts
Lines 303 to 307 in f62859b
js-libp2p-gossipsub/src/metrics.ts
Lines 237 to 241 in f62859b
The text was updated successfully, but these errors were encountered: