AuditJet

JavaScript Performance · AuditJet Glossary

Main Thread

The single thread in a browser where JavaScript execution, style calculations, layout, painting, and compositing occur.

The browser's main thread is a single-threaded environment — only one task can run at a time. JavaScript execution, DOM manipulation, CSS calculations, and layout all compete for main thread time. Heavy JavaScript is the primary reason for a congested main thread, causing high TBT and INP scores. Web Workers can offload computation to background threads to keep the main thread free.

Monitor Main continuously

AuditJet tracks Core Web Vitals on a schedule with revenue impact alerts.

Start Free
Main Thread — Definition | AuditJet Glossary | AuditJet