Pre-generate and cache the most common optimized Baseline IC stubs
Categories
(Core :: JavaScript Engine: JIT, enhancement, P3)
Tracking
()
| Performance Impact | low |
People
(Reporter: djvj, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
| Reporter | ||
Comment 1•9 years ago
|
||
| Reporter | ||
Updated•9 years ago
|
Updated•9 years ago
|
| Reporter | ||
Updated•9 years ago
|
Updated•9 years ago
|
Updated•8 years ago
|
Updated•5 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•3 years ago
|
||
One alternative that we could use as a way to pre-generate is to save the Baseline IC stubs next to the self-hosted stencil code, which is stored in a file while running the test suite, and generated by the parent process when running Firefox.
This has the advantage of avoiding the question of changing the build process, especially around the corners of cross-compilations.
Comment 4•1 year ago
|
||
Could this be done now with OMT Baseline compilation enabled?
Comment 5•1 year ago
|
||
This is still vaguely on a long-term roadmap, but mostly unrelated to OMT baseline compilation. Some of the infrastructure for capturing the set of important ICs was written for PBL (bug 1855321), although I don't recall whether that part actually landed in-tree. We might be able to reuse some of Bryan's self-hosted caching infrastructure here again, if we decide to go with runtime-wide ICs.
Description
•