Chrome exhibits huge lags when viewing a given web page of mine. I\'m using the DevTools Performance tab to try and find the culprit which I assume to be somewhere in m
You can use JavaScript's performance observer to know the bottleneck of perf issues in your web app.
Precise code -
const observer = new PerformanceObserver((list) => { console.log('Long Task detected!