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).

Advertisement

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.

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.

 

Get your daily dose of tech news, reviews, and insights, in under 80 characters on Gadgets 360 Turbo. Connect with fellow tech lovers on our Forum. Follow us on X, Facebook, WhatsApp, Threads and Google News for instant updates. Catch all the action on our YouTube channel.

Advertisement
Popular Mobile Brands
  1. Oppo A7 Pro Max Will Launch on This Date: See Colourways, Storage Options
  2. Redmi K100 Pro Max Leaked in Promotional Image Ahead of Launch
  3. Oppo Find X10 Series, Vivo X500 Series India Launch Timeline Leaked
  4. Vivo S2 FE Could Replace Vivo S2 Pro in India, Leak Suggests
  5. Sony Hikes Price of PS5 Standard Edition in India by Rs. 15,000
  6. This Snapdragon Chipset Will Power the Poco M8 Power: See Specifications
  7. This Samsung Galaxy F70 Series Smartphone Will Launch in India Soon
  8. iQOO Z11 Lite With a 6,500mAh Battery Goes on Sale in India: See Offers
  9. Samsung Galaxy Tab S12 Lineup Launch Confirmed by Executive
  10. Pixel 11 Pro Gets New 'Ask More of Your Phone' Teaser Ahead of Launch
  1. Samsung Sees Chip Shortage Extending to 2028, Touts Long-Term Supply Deals
  2. Samsung Galaxy Tab S12 Series Launch Reportedly Confirmed; Galaxy Tab S12+ Visits US FCC Database
  3. Vivo S2 FE Could Replace Vivo S2 Pro in India, Leak Suggests
  4. Oppo Find X10 Series, Vivo X500 Series Tipped to Launch in India Before Diwali
  5. Poco M8 Power Key Specifications, Features Confirmed Days Before Launch in India
  6. Flipkart Pay Later Launched in India With Flexible Repayment Options
  7. Google Rolls Out Lyria 3.5 AI Music Model in Flow Music With Richer Melodies and Vocals
  8. Redmi K100 Series Design Teased Ahead of July 31 Launch; Redmi K100 Pro Max Promo Image Surfaces
  9. Grand Theft Auto 6 Set to Boost Sony's PS5 Amidst Rising Memory Prices
  10. OpenAI Confirms Plans for a Family of AI Hardware Products
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2026. All rights reserved.