← Back to release summary

Explicit Compile Hints with Magic Comments

Category
JavaScript
Type
New or changed feature
Status
Origin trial (Chrome Origin trial)
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. We'll first target launching the file-based explicit compile hints, and as a follow up, investigate selecting individual functions for eager compilation.

Standards & signals

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

View on chromestatus.com