JavaScript compile hints: what they are and when to use them
V8's compile hints let you control which JavaScript gets compiled immediately during page load
JavaScript compile hints are a new V8 feature that lets you control when your code gets compiled. By adding a simple comment to your JavaScript files, you can force V8 to compile functions immediately during script loading instead of waiting until they’re called.