oxc/napi/parser
overlookmotel 508091314f
feat(tasks): benchmark NodeJS parser (#2770)
Add NodeJS parser to benchmarks.

Previous attempt #2724 did not work due CodSpeed producing very
inaccurate results (https://github.com/CodSpeedHQ/action/issues/96).

This version runs the actual benchmarks without CodSpeed's
instrumentation. Then another faux-benchmark runs within Codspeed's
instrumented action and just performs meaningless calculations in a loop
for as long as is required to take same amount of time as the original
uninstrumented benchmarks took.

It's unfortunate that we therefore don't get flame graphs on CodSpeed,
but this seems to be the best we can do for now.
2024-03-20 05:06:09 +00:00
..
src refactor(ast): refactor Trivias API - have less noise around it (#2692) 2024-03-12 20:16:36 +08:00
.gitignore refactor: change @oxidation-compiler/napi to oxc-parser (#1209) 2023-11-10 06:17:05 +00:00
build.rs refactor: change @oxidation-compiler/napi to oxc-parser (#1209) 2023-11-10 06:17:05 +00:00
Cargo.toml refactor: remove unused dependencies (#2718) 2024-03-14 17:50:31 +08:00
index.d.ts New tool: oxc_module_lexer (#2650) 2024-03-09 23:23:55 +08:00
index.js New tool: oxc_module_lexer (#2650) 2024-03-09 23:23:55 +08:00
package.json feat(tasks): benchmark NodeJS parser (#2770) 2024-03-20 05:06:09 +00:00
parse.bench.mjs feat(tasks): benchmark NodeJS parser (#2770) 2024-03-20 05:06:09 +00:00
pnpm-lock.yaml feat(tasks): benchmark NodeJS parser (#2770) 2024-03-20 05:06:09 +00:00
README.md feat: Release resolver with NAPI (#1212) 2023-11-10 15:25:17 +00:00
test.mjs feat(napi): return comments (#2469) 2024-02-21 22:43:40 +08:00
test_buffer.js feat(parser/napi): add flexbuffer to AST transfer (2x speedup) (#1680) 2023-12-15 02:52:33 +00:00
test_module_lexer.mjs New tool: oxc_module_lexer (#2650) 2024-03-09 23:23:55 +08:00

Installation

corepack enable

Build

pnpm install
pnpm run build

Test

pnpm test