question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for esbuild or swc

See original GitHub issue

🚀 Feature Proposal

Hi, I started with ts-jest on my project, but found startup performance to be unacceptable. I think this is because ts-jest compiles my entire project in order to run tests. There are compilers with significantly better performance, namely esbuild and swc.

swc-node/jest is decent but doesn’t cache dependency tree, which means large repos have TONS of duplication compilation.

So maybe an opportunity here? I’m not saying it will be easy!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:65
  • Comments:23

github_iconTop GitHub Comments

45reactions
ahnpnlcommented, Mar 15, 2022

We plan start adopting it for v28

14reactions
ahnpnlcommented, Nov 14, 2020

Definitely those 2 have lots of possibilities to solve the performance problem. They are currently the new trend as well.

We have thought about that. Probably something like an experimental mode to turn on/off which allows using those 2.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Benchmarks - SWC
These benchmarks are used to evaluate the performance of SWC on every commit, as well as against other libraries like Babel or esbuild....
Read more >
Benchmarking esbuild, swc, tsc, and babel for ... - DataStation
In this benchmark we'll only really explore its support for JavaScript and JSX, not TypeScript. Like babel it has a hand-written parser.
Read more >
Babel, SWC & esbuild – An overview of current JavaScript ...
We introduce you to two alternatives to Babel and explain how they work and what advantages they have over the market leader.
Read more >
Evan You no Twitter: "Other compilers compared include swc ...
esbuild also supports decent minification - single file minification is only slightly bigger than terser, but order of magnitude faster. swc minification ...
Read more >
Shakapacker (aka Webapcker v6) has support for SWC.rs and ...
Hi everybody! In case you're curious about faster compilation when using webpack, we've just released support for swc.rs and esbuild-loader ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found