You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
user system total real
0.012711 0.005495 0.018206 ( 0.662711)
0.815646 0.021527 0.837173 ( 0.837263)
0.003013 0.002043 0.005056 ( 0.003985)
vs (libv8)
user system total real
0.011028 0.003825 0.014853 ( 0.014875)
0.002350 0.000868 0.003218 ( 0.002852)
0.003491 0.001899 0.005390 ( 0.004307)
Basically all that time is spent when calling MiniRacer::Context.new, to which the test suite is sensitive to, but otherwise it's fine.
More specifically it's Isolate::New. From some lousy printf profiling of rb_context_init_unsafe then IsolateInfo::init:
init took 602 us
new isolateinfo took 32 us
isolateinfo init
allocator took 2 us
params took 0 us
Isolate::New took 868582 us
took 868605 us
isolateinfo hold took 0 us
isolateinfo lock took 1431 us
datetime took 13 us
Uh oh!
There was an error while loading. Please reload this page.
Doesn't seem to affect Linux (glibc at least). Has happened on musl at least once.
Example on macOS (libv8-node):
vs (libv8)
The text was updated successfully, but these errors were encountered: