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

test: split incremental test cases to run in parallel #8860

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

LingyuCoder
Copy link
Contributor

Summary

Since Jest can run in parallel only at the level of test files and can only execute serially within a single test file, the NewIncremental tests were split for parallel execution to reduce the test time consumption. The test on my machine was reduced from 150 seconds to 70 seconds.

image

image

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Dec 26, 2024
Copy link

netlify bot commented Dec 26, 2024

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit bacc3df
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/676d7c187b49c500086ff87e

Copy link

codspeed-hq bot commented Dec 26, 2024

CodSpeed Performance Report

Merging #8860 will not alter performance

Comparing test/split-new-incremental (bacc3df) with main (170b877)

🎉 Hooray! codspeed-node just leveled up to 4.0.0!

A heads-up, this is a breaking change and it might affect your current performance baseline a bit. But here's the exciting part - it's packed with new, cool features and promises improved result stability 🥳!
Curious about what's new? Visit our releases page to delve into all the awesome details about this new version.

Summary

✅ 3 untouched benchmarks

@LingyuCoder LingyuCoder requested a review from ahabhgk December 27, 2024 01:32
Copy link
Contributor

@ahabhgk ahabhgk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@ahabhgk ahabhgk merged commit 3f2a390 into main Dec 27, 2024
36 checks passed
@ahabhgk ahabhgk deleted the test/split-new-incremental branch December 27, 2024 03:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
team The issue/pr is created by the member of Rspack.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants