oxc/crates
overlookmotel 6bc18e15e0
refactor(bench): reuse allocator in parser + lexer benchmarks (#3053)
Re-use allocator in parser + lexer benchmarks.

I believe this is the recommended usage when parsing a bunch of files -
to re-use one allocator rather than create a fresh one for each run, so
it makes sense to me that this is what the benchmark should measure.

Doesn't show much difference on CodSpeed because it only runs the
benchmark once, and it treats allocations as free anyway. But I imagine
the difference may show up a bit more in a standard criterion benchmark.
2024-04-22 09:03:26 +08:00
..
oxc Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_allocator refactor(bench): reuse allocator in parser + lexer benchmarks (#3053) 2024-04-22 09:03:26 +08:00
oxc_ast feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_cli feat(cli): implement --format checkstyle (#3044) 2024-04-21 16:30:28 +08:00
oxc_codegen feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_diagnostics feat(cli): implement --format checkstyle (#3044) 2024-04-21 16:30:28 +08:00
oxc_index Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_js_regex refactor: rename CompactString to CompactStr (#2619) 2024-03-06 12:24:23 +08:00
oxc_language_server chore: apply cargo autoinherit (#2826) 2024-03-26 23:57:50 +08:00
oxc_linter feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_macros feat(napi/parser): remove experimental flexbuffer api (#2957) 2024-04-13 14:59:31 +08:00
oxc_minifier Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_module_lexer refactor(ast): add walk_mut functions (#2776) 2024-03-25 20:40:13 +03:30
oxc_parser feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_prettier feat(ast): add CatchParameter node (#3049) 2024-04-21 23:43:39 +08:00
oxc_semantic fix(semantic): correctly resolve identifiers inside catch parameter initializers (#3050) 2024-04-21 23:53:38 +08:00
oxc_sourcemap Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_span refactor(napi): remove unnecessary custom Serialize impl for Atom (#3041) 2024-04-21 13:04:51 +08:00
oxc_syntax fix(semantic): correctly resolve identifiers inside parameter initializers (#3046) 2024-04-21 23:38:31 +08:00
oxc_transformer Release crates v0.12.4 2024-04-19 16:40:05 +08:00
oxc_wasm feat(transformer): add filename (#2941) 2024-04-11 18:43:51 +08:00