mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
dfabdb7fed
Some checks are pending
CI / Lagom (false, FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, macos-14, macOS, Clang) (push) Waiting to run
CI / Lagom (false, NO_FUZZ, ubuntu-24.04, Linux, GNU) (push) Waiting to run
CI / Lagom (true, NO_FUZZ, ubuntu-24.04, Linux, Clang) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (macos-14, macOS, macOS-universal2) (push) Waiting to run
Package the js repl as a binary artifact / build-and-package (ubuntu-24.04, Linux, Linux-x86_64) (push) Waiting to run
Run test262 and test-wasm / run_and_update_results (push) Waiting to run
Lint Code / lint (push) Waiting to run
Push notes / build (push) Waiting to run
We currently create a single WebView and run all 1400+ LibWeb tests in serial over that WebView. Instead, let's create as many WebViews as there are processes on the system, and run LibWeb tests concurrently over those views. To do this performantly requires that we never block the main thread of the headless-browser process once the tests are running. Doing so will effectively pause execution of all other tests. So test execution is now Promise-based. On my machine (with a hardware concurrency of 32), this reduces the run time of LibWeb tests from 31.382s to 3.640s. CPU utilization increases from 5% to 67%. |
||
---|---|---|
.. | ||
abench.cpp | ||
animation.cpp | ||
gzip.cpp | ||
headless-browser.cpp | ||
icc.cpp | ||
image.cpp | ||
js.cpp | ||
lzcat.cpp | ||
tar.cpp | ||
wasm.cpp | ||
xml.cpp | ||
xzcat.cpp |