Skip to content
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

Improve performance of tests #146

Open
anton-trunov opened this issue Feb 20, 2024 · 2 comments
Open

Improve performance of tests #146

anton-trunov opened this issue Feb 20, 2024 · 2 comments
Labels
kind: performance Improve compiler/testing performance kind: testing Tests (*.spec.ts)

Comments

@anton-trunov
Copy link
Member

anton-trunov commented Feb 20, 2024

See the sub-issues:

@anton-trunov anton-trunov added the kind: testing Tests (*.spec.ts) label Feb 20, 2024
@novusnota
Copy link
Member

  1. We can swap out the default Jest runner ts-jest with Rust one: https://swc.rs/docs/usage/jest
  2. Make use of --shard and --maxWorkers options in GitHub Actions and in CLI setting. See this Reddit page & article.

If the above won't add much, we could migrate from Jest to Vitest, which has a compatible API, but is much lighter by design.

@Gusarich
Copy link
Member

Gusarich commented Nov 29, 2024

this was partially fixed (only for maps, but it's the longest test) in #941

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: performance Improve compiler/testing performance kind: testing Tests (*.spec.ts)
Projects
None yet
Development

No branches or pull requests

4 participants