-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Slower than Jest #52
Comments
One reason might be that Also, the performance of |
Will the test use a lot of memory? May be related to GC, I guess single process may be GC worse than multi process. |
I was trying out In my case it was enough to run a single file with five test cases. A CLI app is being tested, so each test case spawns a process to execute commands with different arguments. Vanilla Jest executes same file in ca. 3.6 and with These are rather long running tests similar to the ones described in the OP. A single test case takes ca. 0.7-0.6 seconds to execute. Perhaps that’s what makes the difference so visible? |
I'm doing image snapshot testing, and it's very slow. The exact same file (no
.concurrent
) takes ~21 seconds with this runner, and only ~11 seconds with Jest's built-in. It has 58 snapshots, each invokingsharp
to rasterize an SVG to PNG and passing it tojest-image-snapshot
. Could I be missing something in my setup? I'm usingts-node/esm
on top, just in case (andts-jest
for Jest).The text was updated successfully, but these errors were encountered: