Reland "perf(core): generate inlined wrappers for async ops" (#16455)

Reland https://github.com/denoland/deno/pull/16428
This commit is contained in:
Divy Srivastava 2022-10-28 04:20:17 -07:00 committed by GitHub
parent d9e425a947
commit e18950284f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 266 additions and 112 deletions

View file

@ -692,6 +692,7 @@ delete Intl.v8BreakIterator;
throw new Error("Worker runtime already bootstrapped");
}
core.initializeAsyncOps();
performance.setTimeOrigin(DateNow());
net.setup(runtimeOptions.unstableFlag);
@ -791,6 +792,7 @@ delete Intl.v8BreakIterator;
throw new Error("Worker runtime already bootstrapped");
}
core.initializeAsyncOps();
performance.setTimeOrigin(DateNow());
net.setup(runtimeOptions.unstableFlag);