Contact emails
alt...@chromium.org, elle...@chromium.org
Design doc
Summary
This intervention expands the concept of background throttling from javascript timers to dedicated workers.
Motivation
When a renderer is backgrounded, the amount of work coming from dedicated workers is higher than that coming from the main thread. This intervention aims to lessen the adverse performance and battery impact caused by content users cannot see. This intervention also addresses the recent rise of malicious scripts performing power-heavy computations without user permission (e.g. cryptocurrency mining).
Risks
Interoperability and Compatibility
Medium risk. There are web applications (i.e. SETI-at-home) which will require a user-initiated action to remain unthrottled, but the vast majority of pages should not be affected.
Edge: No signals
Firefox: No signals
Safari: No signals
Web developers: Mixed signals
Ergonomics
N/A
Activation
None required.
Debuggability
Similar to existing throttling mechanisms -- a console warning will be generated when worker is throttled. Tracing coverage will be provided.
Also there is a effort underway to expose throttling state as a part of chrome://discards, but given that this throttling intervention is very similar to main thread throttling, the intervention won’t be blocked on it.
Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, Chrome OS, Android, and Android WebView)?
Yes.
Is this feature fully tested by web-platform-tests?
N/A, as this is an intervention.
Link to entry on the feature dashboard
https://www.chromestatus.com/feature/6334419736461312
Requesting approval to ship?
Yes, using experiment-based rollout. The findings of this rollout will be shared on this thread.
Firefox: No signals
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CALHg4n%3DF2sV-5bv568sahLQGKDPpqCeS%3DA2wOzPhdEeH899QnA%40mail.gmail.com.
Can you provide more detail on the implementation for this? The existing main-thread throttler appears to be design only for use by the Inspector, not for production CPU throttling, e.g. it spins on a dedicated thread on Windows, to get the desired timing precision. (Or perhaps I'm just looking at the wrong class :)
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/9cec492c-4d18-4fa9-8d75-9ec2c1fae329%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMdWTtvvFoxuZpYOxGEtAtmwg-aD1dxbm__chetz3%2BMf9cWaA%40mail.gmail.com.
Hey all,Per today's API Owners meeting, a few questions following on from Philip's:
- Do we understand the percentage of content that will be impacted? Do we know of sites other than SETI that are impacted?
- Will this policy be applied to WASM content (which is conceptually identical)?
- Will UMA be logged about how frequently this is invoked?
- Have we considered launching a monitoring version of this to collect data before actually shipping?
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/6d361aef-e850-42ea-bf79-0b310fececc3%40chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jybHyW9sWOUqdMtXmnMRHdFt13YZRWQaOM4Ysw-SjrjGw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMdWTvTgxOEnUE-O7MCBa1w8VvKxQTWz5LOQ0Wg%2Bxk7dezeFg%40mail.gmail.com.
Having a computer analyze a position for a long time is a common use case for a chess engine, but lichess wasm is a factor slower than native implementations (still impressively fast) so maybe that is something that should not be done in a browser.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zfj4zei8rbppqq%40cicero2.linkoping.osa.
/Daniel
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jybHyW9sWOUqdMtXmnMRHdFt13YZRWQaOM4Ysw-SjrjGw%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CET (UTC+1) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMdWTvTgxOEnUE-O7MCBa1w8VvKxQTWz5LOQ0Wg%2Bxk7dezeFg%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CET (UTC+1) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zfj4zei8rbppqq%40cicero2.linkoping.osa.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgPPfcfj4Yr8cmQKLukAp-0S7dBEx%3D79tn8bycVgaQctw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY_GObw9Yd4kV2zHcBT9gGOX0iQgC%2B4T73YJK2mjkzTOJA%40mail.gmail.com.
/Daniel
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CABg10jybHyW9sWOUqdMtXmnMRHdFt13YZRWQaOM4Ysw-SjrjGw%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CET (UTC+1) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CANMdWTvTgxOEnUE-O7MCBa1w8VvKxQTWz5LOQ0Wg%2Bxk7dezeFg%40mail.gmail.com.
--/* Opera Software, Linköping, Sweden: CET (UTC+1) */
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/op.zfj4zei8rbppqq%40cicero2.linkoping.osa.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CACj%3DBEgPPfcfj4Yr8cmQKLukAp-0S7dBEx%3D79tn8bycVgaQctw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAFUtAY_GObw9Yd4kV2zHcBT9gGOX0iQgC%2B4T73YJK2mjkzTOJA%40mail.gmail.com.