Google to Use Long Task API to Find Delays on Unresponsive Webpages in Chrome

Advertisement
By Shekhar Thakran | Updated: 7 February 2017 18:13 IST
Highlights
  • The Long Task API now holds "Intent to ship" status in Chrome
  • Third-party content often found responsible behind long tasks
  • Expected to come with future Chrome updates to browser

Google is looking to improve page responsiveness in its Chrome browser by introducing a Long Task API that will enable Web apps and their developers to figure out the elements behind the delay and provide a fix accordingly. With the help of Long Task API, the performance issues on the browser can be specifically tied to particular components of the page and can then be fixed for improving the response time or unresponsiveness in some cases.

The Long Task API essentially helps in identification of the Long Tasks (i.e. processes whose execution time is longer than 50 milliseconds). "The major culprit behind these responsiveness issues is main thread contention, which in turn is caused by 'long tasks'. Long tasks monopolise the UI thread for extended periods of time and block other critical tasks from being executed - for instance reacting to input," the search giant said in the Google Group for Blink Dev (Chromium).

The long tasks often tie up the main thread and prevent users from interacting with the page even though the page is rendered visually, a post on code repository site GitHub says. The post mentions that poorly-designed content from third-parties has been found to be a frequent culprit behind long tasks.

Advertisement

As the user interactions such as taps or clicks are queued behind the long tasks, it can result in an unpleasant user experience. The Long Task API now holds "Intent to ship" status in Chromium and can therefore be expected to come with future browser updates, as pointed out in a report by Android Police.

Advertisement

It will be interesting to see how the detection of long tasks will help in improving the page responsiveness and in turn user experience when Long Task API finally comes into action.

 

For the latest tech news and reviews, follow Gadgets 360 on X, Facebook, WhatsApp, Threads and Google News. For the latest videos on gadgets and tech, subscribe to our YouTube channel. If you want to know everything about top influencers, follow our in-house Who'sThat360 on Instagram and YouTube.

Advertisement
Popular Mobile Brands
  1. ChatGPT Down: Thousands of Users Report Issues Accessing the AI Chatbot
  2. Oppo A5i Pro 5G Launched With 6,000mAh Battery, 50-Megapixel Camera
  3. Apple iPhone 17 and iPhone 17 Pro: Expected Features, Specs, and Price
  4. OnePlus 15 Listed on Certification Site With 120W Fast Charging Support
  5. YouTube Reportedly Cracks Down on Premium Family Plan Sharing
  6. iPhone 17 Pro Max Redesigned Camera Module, Foldable iPhone Timeline Leaked
  7. Redmi 15 5G, Note 14 Pro Prices Dropped During Diwali With Xiaomi Sale
  8. Amazon Great Indian Festival Sale: Deals on Smartphones, Laptops Teased
  9. Inside Apple Koregaon Park: First Look at Pune's Brand New Apple Store
  10. Razer Pro Click V2 and V2 Vertical Review
  1. Motorola Edge 60 Neo Key Specifications Tipped Ahead of Imminent Launch
  2. Google Home Devices Confirmed to Get Gemini AI Integration Soon; Company Reveals Release Timeline
  3. ChatGPT Down: Thousands of Users Report Issues Accessing the AI Chatbot, OpenAI Responds
  4. Bitcoin Holds Near 110,800 as ETF Inflows and Rate-Cut Steadies Market
  5. Take-Two Came Close to Buying Cancelled Perfect Dark Reboot From Xbox Before Talks Collapsed: Report
  6. iPhone 17 Pro Max Seen in Leaked Video With Redesigned Camera Module; Analyst Says Foldable iPhone to Launch in 2026
  7. OnePlus 15 Listed on a Certification Website, Likely to Support 120W Fast Charging: Report
  8. Google NotebookLM Gets Four New Audio Overviews Formats With New AI Voices
  9. Oppo A5i Pro 5G Launched With 6,000mAh Battery, 50-Megapixel Primary Camera: Price, Specifications
  10. Call of Duty Film Adaptation in the Works as Paramount and Activision Announce Deal
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.