← 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

WPT details: The feature doesn't trigger any functional changes and cannot be tested by WPT.

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

Ecosystem

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

View on chromestatus.com