Tag

Long Tasks

0 views collected around this technical thread.

Tencent Docs Tech Team
Tencent Docs Tech Team
Nov 29, 2024 · Frontend Development

Keeping Long Tasks Under 50 ms: RAIL Model and Front‑End Optimization Strategies

This article explains why long tasks over 50 ms cause UI lag, introduces the RAIL performance model, outlines how to identify long tasks using Chrome DevTools and the Long Tasks API, and provides practical front‑end optimization techniques such as task splitting, code splitting, and asynchronous scheduling.

Long TasksOptimizationRAIL
0 likes · 10 min read
Keeping Long Tasks Under 50 ms: RAIL Model and Front‑End Optimization Strategies
Baidu Geek Talk
Baidu Geek Talk
Dec 18, 2023 · Frontend Development

Browser Event Loop Mechanism: Complete Guide to Rendering, Performance Optimization and Interaction Metrics

The guide explains the browser’s event‑loop cycle, how macro‑tasks, micro‑tasks, requestAnimationFrame and requestIdleCallback interact with rendering, details long‑task impacts, React’s time‑slicing via MessageChannel, key interaction metrics such as TTI, FID and upcoming INP, and practical optimizations like task splitting, lazy loading and service‑worker caching.

Event LoopFIDINP
0 likes · 19 min read
Browser Event Loop Mechanism: Complete Guide to Rendering, Performance Optimization and Interaction Metrics
360 Tech Engineering
360 Tech Engineering
Sep 5, 2018 · Frontend Development

Advanced Web Performance Measurement Techniques Using the Performance API

This article explains how web developers can obtain high‑precision, monotonic timestamps and detailed performance metrics—such as resource loading, navigation timing, user‑timing marks, long‑task detection, and first‑paint measurements—by leveraging the W3C Performance API and related specifications.

High Resolution TimeLong TasksPaint Timing
0 likes · 24 min read
Advanced Web Performance Measurement Techniques Using the Performance API