Closed marsiancba closed 7 years ago
Can you build an older version using the exact same code to show the time differences? Also test different V8 versions as well.
I can not build V8js by myself, but I have checked one older build from the web:
https://github.com/maryo/php_v8js-1.2.0-7.0-vc14-x64
With this build I get times in range 50-100ms (but it had some other problem).
Seems like one of the builds is using snapshots and the other one doesn't.
No response, closing. Feel free to re-open with more information.
simple call to:
$v8 = new V8Js();
takes 400-500ms on fresh install of PHP on Windows x64. Is this normal expected behavior?
Details below: Windowx 10 x64 Builds from https://www.apachelounge.com/viewtopic.php?t=6359 (both 7.0 and 7.1 builds are slow).
Test code:
Output: