Chrome 136+ ships a new V8 version that supports a "compile hint", which makes V8 parse and compile all functions in that file eagerly.
Great for entry points – where you know all functions will very likely be used. Less so as 'one weird trick to make all your JS faster'.