Started Dec 1RustApache-2.0 license
swc-project/swc-next
A fast JavaScript and TypeScript compiler in Rust, and the next major version of SWC.
Leaderboard
13 participantsRank 1
@mevlanayalcin×1.1014 subsLast submission 5 h ago
Rank 2
@ammonwk×1.044 subsLast submission 11 h ago
Rank 3
@justanotherinternetguy×1.011 subLast submission 17 h ago
SWC compiles the JavaScript and TypeScript of Next.js, Deno, Rspack and Parcel projects, on every save and every build. swc-next is set to become SWC's next major version, so the speedups made here reach those dev servers and builds.
Your speedup counts every frozen benchmark. Here is what each suite measures.
- tasks/benchmark/benches/parser.rs parserParsing speed: turns 11 real-world sources into an AST, from jQuery and Angular to TypeScript's own compiler, a TSX app and heavy type definitions.
- tasks/benchmark/benches/visit.rs visitAST traversal speed: walks the parsed TypeScript compiler and a TSX file with the read-only visitor, the mutable visitor and the traverser.
- tasks/benchmark/benches/semantic.rs semanticSemantic analysis speed: scopes, bindings and references over an already parsed AST. Parsing is not timed.
- tasks/benchmark/benches/type_strip.rs type_stripTypeScript type stripping speed, source text in, JavaScript out, on three type-heavy files (Astro config, Effect Schema, Hono types).
- tasks/benchmark/benches/minifier.rs minifierMinification speed on Underscore, Angular and the TypeScript compiler. Parsing is not timed.
CodSpeed runs the frozen benchmarks on every submission and measures walltime on CodSpeed Macro Runners Gen 2 ↗. Your score is the speedup of your best submission.