2 ms·
Does this work with JSX and TypeScript/Flow? These language extensions, when enabled, have nontrivial performance impact. On that note, they don't say what plu
by rattray 8y ago
Does this work with JSX and TypeScript/Flow? These language extensions, when enabled, have nontrivial performance impact.
On that note, they don't say what plugins/presets were used in the Babel comparison. Was it the same set of features that are supported in swc?
- hzoo 8y agoYeah I've had a difficult time figuring out how this was tested: I would recommend using the benchmark at https://github.com/v8/web-tooling-benchmark https://github.com/v8/web-tooling-benchmark in the future if it's currently not possible since currently it only seems to be testing ES5 (jquery.min.js) for the parser and a short ES6 snippet for the transforms.
- rattray 8y ago(I think when you say "tested" you mean "benchmarked" – your comment at https://news.ycombinator.com/item?id=18746905 https://news.ycombinator.com/item?id=18746905 gave a nice link to how it is tested).