mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 20:32:10 +00:00
The runtime performance gains does not out weight the compilation speed from building the custom allocators, which takes about a minute to build on slower machines.
17 lines
438 B
Rust
17 lines
438 B
Rust
mod ts_fixtures;
|
|
|
|
use oxc_transform_conformance::{TestRunner, TestRunnerOptions};
|
|
use pico_args::Arguments;
|
|
use ts_fixtures::TypeScriptFixtures;
|
|
|
|
fn main() {
|
|
let mut args = Arguments::from_env();
|
|
|
|
let options = TestRunnerOptions {
|
|
filter: args.opt_value_from_str("--filter").unwrap(),
|
|
exec: args.contains("--exec"),
|
|
};
|
|
|
|
TestRunner::new(options.clone()).run();
|
|
TypeScriptFixtures::new(options).run();
|
|
}
|