-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm][compiler] Adapt inlining budgets to better compromise
While the current aggressive inlining budget seems to provide large value for wasm-gc modules, it provides significantly less impact on linear wasm. Still, the inlining quite significantly increases compile time and code size of linear wasm. The new budgets try to find a balance between linear wasm and wasm-gc. The updated budgets result in pspdfkit spending half as much time on Turbofan compilation than with the previous updates while still having comparable performance. Compared to without inlining this still implies a ~2x TF compile time for about 15% benchmark score improvement. For wasm-gc measured on internal benchmarks the performance regression seems to be between 5-10% which is not ideal. Further iterations on the budgets might help us to decrease this regression however for now it's better to be able to ship inlining without its full potential than not shipping it due to too large compile time regressions. Bug: v8:7748 Change-Id: I419fd6f3252837076c3efd29461c655540b71eb4 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4806563 Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Commit-Queue: Matthias Liedtke <mliedtke@chromium.org> Cr-Commit-Position: refs/heads/main@{#89588}
- Loading branch information
Showing
4 changed files
with
23 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters