Skip to main content

Comments

3 comments

  • Official comment
    Tony

    Hey Ben,

    Considering that Gameface uses the V8 JavaScript engine, any online documentation or blog posts (e.g., this one) about the JIT applies. Considering that JIT speeds up the JavaScript compilation, we have enabled it on the platforms where it is allowed such as Windows and Mac while on platforms that is not allowed to allocate executable memory, such as the game consoles, we have used the JIT-less mode of V8.

    In case you want to do some experiments between JIT and JIT-less mode, you can leverage the LibraryParams::ScriptEngineFlags variable to set different V8 flags, one of which is the "--jitless" flag.

  • Ben Jacobs

    This is great information! Where is this documented? I'm curious where I would have found out which platforms support JIT compilation, and why?

    0
  • Tony

    We do not have documentation on the V8's JIT mode, as it is not specific to our products but rather to the JavaScript engine we use. Additionally, JIT is enabled by default on the platforms where we are allowed to, so there is no option that must be set to utilize it.

    I see how one can benefit from having this information available in our documentation, so we'll consider adding a snippet covering V8's JIT.

     

    0

Please sign in to leave a comment.