mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Closes #2616. Adds benchmarks for NodeJS NAPI build. Measurement includes `JSON.parse` of the AST on JS side, since that's how it'll be used 99% of the time. Benchmarks run against same files as Rust parser benchmarks, so we can see the overhead of transferring AST to JS.
6 lines
165 B
JavaScript
6 lines
165 B
JavaScript
import {defineConfig} from 'vitest/config';
|
|
import codspeedPlugin from '@codspeed/vitest-plugin';
|
|
|
|
export default defineConfig({
|
|
plugins: [codspeedPlugin()]
|
|
});
|