You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This Prioritized Task Scheduling API is useful for web developers to provide a more responsive experience to users, reduce jank, and improve the performance characteristics of webapps.
Reacted by sandstrom, Michal Mocny, Brooke Hart, Barry Pollard, Gilberto Cocchi, Patrick Brosset, Gaurav Gangopadhyay, Ian Duffy, Anton, Picorims and 18 more
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include web-features: <feature-id>.
To find feature IDs, use the web-features explorer.
Feature Scheduler API
ID: scheduler
Name: Scheduler API
Description: The scheduler API provides a way to prioritize all tasks belonging to an application.
We’re an ad tech company that also operates a Consent Management Platform (CMP). Our goal is to give publishers the best possible performance and user experience, so we audited the third-party scripts we ship across our publisher network.
We use scheduler.yield() only when it’s available and have no fallback, because setTimeout-based yielding sends the continuation to the back of the task queue, which isn’t acceptable for our use case. So right now these improvements only reach users on Chromium-based browsers. Safari/WebKit users, including everyone on iOS, get none of them. Support for scheduler.yield() in WebKit would let the same improvement reach our entire user base
Reacted by Michal Mocny, Anacromaniac, Armando Xheka, Gilberto Cocchi, Marco Crisostomi, Patrick McCann and phantomxx29474
@marco-prontera Raptive, an ad management company for 6000 publishers with a combined audience of over 100 million users per month, has had a similar experience. Only some of our users are able to experience the benefits of this API as setTimeout based yielding has had problematic behavior for ad management on page.
Reacted by Marco Prontera, Gilberto Cocchi and phantomxx29474
Activity
github-actions commentedon Sep 18, 2026
This comment was automatically generated based on the information you provided. Please don't edit it.
Below is additional information about the web feature (from the web-features project) which is referenced in your proposal.
If this doesn't accurately correspond to your proposal, please update your initial comment to include
web-features: <feature-id>.To find feature IDs, use the web-features explorer.
Feature Scheduler API
schedulerAPI provides a way to prioritize all tasks belonging to an application.smaug---- commentedon Oct 5, 2026
This may depend on WICG/scheduling-apis#52
marco-prontera commentedon Nov 6, 2026
We’re an ad tech company that also operates a Consent Management Platform (CMP). Our goal is to give publishers the best possible performance and user experience, so we audited the third-party scripts we ship across our publisher network.
We concluded that adopting
scheduler.yield()was the most effective option. With relatively little effort, it improved INP on almost every site in our network that uses our products. We also proposed addingscheduler.yield()at the main long-task hotspots in Prebid.js (prebid/Prebid.js#15625). In our network, this reduced INP with no measurable regression in ad revenue. This is an example: https://cruxvis.withgoogle.com/#/?view=interactivity&url=https%3A%2F%2Fwww.simonandthestars.it%2F&identifier=origin&device=PHONE&periodStart=0&periodEnd=-1&display=p75sWe use
scheduler.yield()only when it’s available and have no fallback, because setTimeout-based yielding sends the continuation to the back of the task queue, which isn’t acceptable for our use case. So right now these improvements only reach users on Chromium-based browsers. Safari/WebKit users, including everyone on iOS, get none of them. Support forscheduler.yield()in WebKit would let the same improvement reach our entire user basepatmmccann commentedon Nov 17, 2026
@marco-prontera Raptive, an ad management company for 6000 publishers with a combined audience of over 100 million users per month, has had a similar experience. Only some of our users are able to experience the benefits of this API as setTimeout based yielding has had problematic behavior for ad management on page.