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: add runner cache for better test performance #9449

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

LingyuCoder
Copy link
Contributor

@LingyuCoder LingyuCoder commented Feb 25, 2025

Summary

  • Add runner cache to prevent reading files multiple times
  • Fix slow runtime diff regex
  • Use json files as snapshots to prevent building webpack assets which never change

Before:
image

After:
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 Feb 25, 2025
Copy link

netlify bot commented Feb 25, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 8190d9b
🔍 Latest deploy log https://app.netlify.com/sites/rspack/deploys/67bdbed0fbab6600085e18be

Copy link

codspeed-hq bot commented Feb 25, 2025

CodSpeed Performance Report

Merging #9449 will not alter performance

Comparing test/runner-cache (8190d9b) with main (ba7556d)

Summary

✅ 7 untouched benchmarks

@LingyuCoder LingyuCoder enabled auto-merge (squash) February 25, 2025 17:22
@LingyuCoder LingyuCoder requested a review from SyMind February 25, 2025 17:22
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.

1 participant