servo/ports/servoshell
Jonathan Schwender 68a27946bf
Add prefs to limit threadpool sizes (#34478)
* Add prefs to limit threadpool sizes

Add preferences to control the size of threadpools,
so that we can easily reduce the amount of runtime
threads and test which pools benefit from more
threads.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

* Add pref for Webrender threadpool

Add a preference to limit the size of the webrender threadpool.
Note: WebRender by default calls hooks which register the threads with
a profiler instance that the embedder can register with webrender.
Servo currently doesn't register such a profiler with webrender,
but in the future we might also want to profile the
webrender threadpool.

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>

---------

Signed-off-by: Jonathan Schwender <schwenderjonathan@gmail.com>
2024-12-07 05:25:17 +00:00
..
desktop Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
egl Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Update vergen to v9 (#34283) 2024-11-19 06:47:15 +00:00
Cargo.toml Add prefs to limit threadpool sizes (#34478) 2024-12-07 05:25:17 +00:00
crash_handler.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
lib.rs Plumb URL into interval profiler tracing events (#34337) 2024-11-22 13:31:00 +00:00
main.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
panic_hook.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
parser.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
prefs.rs Allow prefs to be overridden from a file and set WPT-specific prefs from file (#33163) 2024-08-24 06:47:57 +00:00
resources.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
test.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00