Inexplicit 'task' in Chrome Perfomance DevTools

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! 🚩️');
    const entries = list.getEntries();
    console.log(entries);
});

observer.observe({entryTypes: ['longtask']});

More details here