diff --git a/README.md b/README.md index 67e329d..96579ea 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,10 @@ # Bench Oxc, Swc, and Babel Transformer -tldr: oxc transform is 4x faster than swc, 40x faster than babel, uses less memory, and is much smaller in package size (2MB vs 37MB). +## Summary + +* Compared to swc, oxc transformer is 4x faster, uses 20% less memory, and is 35 MB smaller in package size (from swc's 37MB). +* Compared to babel, oxc transformer is 40x faster, uses 70% less memory, and is 19 MB smaller with 168 npm packages less to install. + ## Transform / Transpile @@ -75,8 +79,8 @@ On `parser.ts` by using `/usr/bin/time -alh node`: | | Max RSS | | --- | ------- | | oxc | 51 MB | -| swc | 67MB | -| babel | 172MB | +| swc | 67 MB | +| babel | 172 MB | ## Package size @@ -96,11 +100,11 @@ For package download size, oxc downloads 2 packages for around a total of 2MB. ### NOTE: -Babel's code generator deoptimised the styling for large files and reports. +Babel's code generator deoptimised the styling for large files and reports: > [BABEL] Note: The code generator has deoptimised the styling of parser.ts as it exceeds the max of 500KB. -I wanted to benchmark the `checker.ts`, but Babel failed to parse: +I intended to benchmark `checker.ts` from tsc, but Babel failed to parse: ``` TypeError: Duplicate declaration "SymbolLinks"