← Back to release summary

Per-Function Explicit Compile Hints via Magic Comments

Category
JavaScript
Type
New or changed feature
Status
Proposed (Chrome Proposed)
Intent stage
None

Summary

Allow attaching information about which functions should be eager parsed & compiled in JavaScript files. The information will be encoded as magic comments. This is an extension of the Per-File Explicit Compile Hints feature ( https://chromestatus.com/feature/5100466238652416 ), where we now allow marking individual functions for eager parsing & compilation.

Standards & signals

Ecosystem

Explainers: https://github.com/WICG/explicit-javascript-compile-hints-file-based

View on chromestatus.com