commit | d1a1a8fdd9b28feaf5d3accc0578092444a1083e | [log] [tgz] |
---|---|---|
author | Andreas Haas <ahaas@chromium.org> | Fri May 12 09:28:29 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 12 09:28:29 2023 |
tree | 7b6167330e1a1ad126e752aa25cab7af45cefb04 | |
parent | 5525bee5ad0b9fb13bb679452d22673130ad8895 [diff] |
[v8][wasm] Increase the limit on sync compilation on the main thread With the introduction of the baseline compiler Liftoff and lazy compilation, the execution time of synchronous WebAssembly compilation has decreased significantly. Additionally hardware has improved since the definition of the original limit of 4KB. Therefore this CL increases the limit to 8MB. The limit was determined by performance measurements on a Google Pixel 1, which we considered as a representative low-end phone. This phone was able to compile an 8MB module in less than 200ms, which is the threshold for good responsiveness in the metric "interaction to next paint" defined by Google's Core Web Vitals. I2S: https://groups.google.com/a/chromium.org/g/blink-dev/c/nJw2zwaiJ2s/m/EYPgC5D3LwAJ Bug: chromium:1378329 Change-Id: I3a4413da6c7f625e9b80a9da4b550b9f9ce60866 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4520918 Reviewed-by: Michael Lippautz <mlippautz@chromium.org> Commit-Queue: Andreas Haas <ahaas@chromium.org> Cr-Commit-Position: refs/heads/main@{#1143158}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.