Skip to content

10x slowdown when compared to chrome? #78

@Alloyed

Description

@Alloyed

using this test on my local machine, with a locally built copy of d8.exe (on windows MSVC, cmake --build . --config Release):
https://gist.github.com/Alloyed/cc525d0baf56697f856f389e35335b2b

$ ./d8.exe
V8 version 11.5.150.2
d8> load("nbody.js")
runNBody()...
runNBody(): 29.878999999999905 ms
undefined
d8>

Doing the same test in my locally installed copy of chrome:
https://jsfiddle.net/Lxtfun0b/

☁️ "Running fiddle"
"runNBody()..."
"runNBody(): 3.699999988079071 ms"

My first guess is that the currently used gn build flags are not the same as chrome uses in production, but just wanted to flag this before I start investigating.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions