diff options
author | Matt Mastracci <matthew@mastracci.com> | 2023-04-30 10:50:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-30 08:50:24 +0000 |
commit | bb1f5e4262940a966e6314f57a4267514911d262 (patch) | |
tree | 0b5b870e34fca10daf8e664eb4214e5e756daf53 /cli/tsc | |
parent | 9c8ebce3dcc784f1a6ecd29d5fe0b3d35256ab82 (diff) |
perf(core): async op pseudo-codegen and performance work (#18887)
Performance:
```
async_ops.js: 760k -> 1030k (!)
async_ops_deferred.js: 730k -> 770k
Deno.serve bench: 118k -> 124k
WS test w/ third_party/prebuilt/mac/load_test 100 localhost 8000 0 0: unchanged
Startup time: approx 0.5ms slower (13.7 -> 14.2ms)
```
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/compiler.d.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tsc/compiler.d.ts b/cli/tsc/compiler.d.ts index b59f6dca8..66c094697 100644 --- a/cli/tsc/compiler.d.ts +++ b/cli/tsc/compiler.d.ts @@ -46,6 +46,8 @@ declare global { encode(value: string): Uint8Array; // deno-lint-ignore no-explicit-any ops: Record<string, (...args: unknown[]) => any>; + // deno-lint-ignore no-explicit-any + asyncOps: Record<string, (...args: unknown[]) => any>; print(msg: string, stderr: boolean): void; registerErrorClass( name: string, |