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 to Use Long Task API to Find Delays on Unresponsive Webpages in Chrome

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.

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. Oppo Reno 14 5G Series Teased to Launch in India Soon
  2. Vivo Y400 Pro 5G India Launch Today: All You Need to Know
  3. OTT Releases This Week: Ground Zero, Detective Sherdil, Found S2, and More
  4. Vivo Y400 Pro 5G With 5,500mAh Battery Launched in India: Price, Features
  5. 16 Billion Login Credentials Have Been Leaked in Massive Data Breach
  6. Nothing Phone 3 to Get New Glyph Matrix Interface on the Rear Panel
  7. Samsung Galaxy M36 5G India Launch Date and Key Features Revealed
  8. Vivo T4 Lite 5G to Launch in India on June 24; Chipset Confirmed
  9. Realme 15 Series Said to Launch in July; Lite Variant Leaked Online
  10. OnePlus Bullets Wireless Z3 With Up to 36 Hours Battery Launched in India
  1. 16 Billion Login Credentials Leaked in Massive Data Breach Impacting Apple, Google and More
  2. Vivo Y400 Pro 5G With 50-Megapixel Rear Camera, 5,500mAh Battery Launched in India: Price, Specifications
  3. Samsung Galaxy S25 FE Renders Leak Online, Suggesting Familiar Design With Thinner Bezels
  4. Samsung Galaxy Z Flip 7 Leaked Renders Suggest Edge-to-Edge Cover Display
  5. YouTube Shorts to Bring Google’s Veo 3 Video Generation Model With Audio Support 'This Summer'
  6. Samsung Galaxy Z Fold 7 Leaked Renders Hint at Design Changes; Storage Options Tipped
  7. Vivo Y400 Pro 5G Launching Today: Price in India, Expected Features and Specifications
  8. Fast Radio Bursts Reveal Universe’s Missing Matter Hidden in Cosmic Intergalactic Fog
  9. Apollo Astronauts Found Orange Glass Beads on the Moon, Scientists Now Know Why
  10. World’s Oldest Tailored Dress Found in Egyptian Tomb Dates Back Over 5,000 Years
Gadgets 360 is available in
Download Our Apps
Available in Hindi
© Copyright Red Pixels Ventures Limited 2025. All rights reserved.