Skip to content

Scheduler API #1413

Open
Open

Description

@jgraham

Description

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.

See also: Interop 2026 proposal

Specification

https://wicg.github.io/scheduling-apis/

web-feature

scheduler

Test Links

https://wpt.fyi/results/scheduler?label=experimental&label=master&aligned

Additional Signals

No response

Activity

  1. github-actions commented on Sep 18, 2026

    @github-actions

    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

  2. smaug---- commented on Oct 5, 2026

    @smaug----

    This may depend on WICG/scheduling-apis#52

  3. marco-prontera commented on Nov 6, 2026

    @marco-prontera

    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 adding scheduler.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=p75s

    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

  4. patmmccann commented on Nov 17, 2026

    @patmmccann

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    focus-area-proposal

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions