Total Blocking Time (TBT) in Core Web Vitals Improvement Strategies Posted on December 8, 2024December 8, 2024 By Sourabh Kumar Getting your Trinity Audio player ready... Spread the love What is Total Blocking Time (TBT)? Total Blocking Time (TBT) measures the amount of time during a webpage load when the browser’s main thread is blocked for more than 50 milliseconds, preventing it from responding to user input. This metric is crucial for evaluating a website’s responsiveness and ensuring a smooth user experience. TBT is calculated after First Contentful Paint (FCP) and typically stops measuring at Time to Interactive (TTI) in tools like Lighthouse. Key Concepts of TBT Main Thread Blockage:A task running on the main thread for over 50 milliseconds is considered a Long Task, and the browser must wait for its completion before responding to user actions. Blocking Time Calculation:The blocking time is the duration exceeding 50 ms for each long task. The total blocking time is the sum of all blocking times during the measured period. Example: TBT Breakdown Task Duration (ms)Task Blocking Time (ms)Task 1: 250200Task 2: 9040Task 3: 350Task 4: 300Task 5: 155105Total Blocking Time345 ms How TBT Relates to Other Metrics TBT vs. INP (Interaction to Next Paint): TBT helps detect potential interaction delays in lab testing. INP measures responsiveness based on real-world user interactions. TBT vs. TTI (Time to Interactive): TBT measures responsiveness before a page becomes interactive. It’s less prone to outliers compared to TTI, making it more reliable in specific scenarios. How to Measure TBT Recommended Tools: Lighthouse: Provides detailed performance audits and specific recommendations. WebPageTest: Offers insights into page performance metrics, including TBT. Good TBT Score: Aim for a TBT of less than 200 milliseconds on mobile devices for optimal user experience. Also Read: Total Blocking Time (TBT) in Core Web Vitals Improvement Strategies Tips to Improve TBT Optimize Long Tasks:Break down lengthy tasks into smaller, non-blocking tasks. Reduce JavaScript Execution Time: Minimize heavy scripts. Use techniques like lazy loading and code splitting. Reduce Third-Party Code Impact:Limit the use of third-party tools or optimize their loading mechanisms. Minimize Main Thread Work:Reduce resource-heavy operations that delay responsiveness. Lower Request Counts:Decrease the number of HTTP requests and optimize file transfer sizes. Improvement Example Scenario: A page with high TBT due to a heavy analytics script. Solution: Defer the analytics script to load after TTI. Replace the script with a lightweight alternative. Also Read: Detailed Overview: Interaction to Next Paint (INP) Why TBT Matters ? A low TBT ensures that users perceive your website as fast and responsive, which improves overall satisfaction and reduces bounce rates. To improve TBT, optimize your scripts and minimize main thread work, ensuring a smoother browsing experience. By focusing on TBT and related metrics like INP, you can build websites that are fast, efficient, and user-friendly. Regular audits using tools like Lighthouse will help maintain optimal performance. Download QR 🡻 Others
Others ಕನ್ನಡದಲ್ಲಿ ಎಂಜಿನಿಯರ್_ಗಳ ದಿನದ ಶುಭಾಶಯಗಳು | Engineers’ Day wishes in Kannada Posted on September 10, 2023September 10, 2023 Spread the love Spread the love ಸ್ವಾಗತ! ಇಲ್ಲಿ ನಮ್ಮ ಅಭಿಯಂತರ ದಿನದ ಸವಾಲುಗಳ ಮತ್ತು ಶುಭಾಶಯಗಳ ಜಗತ್ತಿಗೆ ಹೊಸದಾಗಿ ಬರಲು ಸಿದ್ಧವಿದೆ. “ಅಭಿಯಂತರ ದಿನ” ಅಥವ “Engineers Day” ಕೆಲವರಿಗೆ ಹೆಚ್ಚು ಗೌರವಿಸಲ್ಪಡುವ ದಿನ. ಇದು ಅಭಿಯಂತರಗಳ ಅದ್ವಿತೀಯ ಯೋಗದಿಂದ ಸೃಜನಾತ್ಮಕತೆಯನ್ನು ಹೊತ್ತ ದಿನ. ಇಲ್ಲಿ, ನಾವು ಕನ್ನಡದಲ್ಲಿ ಅಭಿಯಂತರ ದಿನಕ್ಕೆ ಶುಭಾಶಯಗಳನ್ನು ಕೊಡಲು ಅವಕಾಶಿಸುತ್ತೇವೆ. Here are 50 Engineers’ Day wishes in Kannada(ಕನ್ನಡದಲ್ಲಿ ಎಂಜಿನಿಯರ್_ಗಳ ದಿನದ ಶುಭಾಶಯಗಳು)… Read More
Is It Mandatory to Define the Nature of Employment While Filing a Tax Return? Posted on July 28, 2024January 21, 2025 Spread the love Spread the love Yes, it is mandatory to define the nature of employment when filing a tax return in India. This requirement helps categorize the taxpayer’s source of income and ensures accurate tax calculations and compliance. The categories to specify the nature of employment are as follows: Categories for Nature… Read More
Navratri and Durga Puja Video 2025 Posted on October 2, 2025October 3, 2025 Spread the love Spread the love Navratri and Durga Puja are more than just festivals – they are a grand celebration of devotion, culture, and togetherness. In 2025, these festivities will once again be marked by colorful rituals, Garba and Dandiya dances, and the divine aura of Durga Puja pandals. Through Navratri and… Read More