Skip to content

Conversation

@chenjiahan
Copy link
Member

@chenjiahan chenjiahan commented Jun 24, 2025

Summary

When schema validation is disabled via RSPACK_CONFIG_VALIDATE=loose-silent, we can skip schema creation and parse to improve the performance.

Before (no difference with loose-silent):

Screenshot 2025-06-24 at 13 50 52

After (20ms faster with loose-silent):

Screenshot 2025-06-24 at 14 05 33

Checklist

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

@netlify
Copy link

netlify bot commented Jun 24, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 2cce224
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/685a41b4772b5200081bec51

@github-actions github-actions bot added release: performance release: performance related release(mr only) team The issue/pr is created by the member of Rspack. labels Jun 24, 2025
@codspeed-hq
Copy link

codspeed-hq bot commented Jun 24, 2025

CodSpeed Performance Report

Merging #10768 will not alter performance

Comparing skip_schema_0624 (2cce224) with main (781e5b5)

Summary

✅ 16 untouched benchmarks

@chenjiahan chenjiahan merged commit 7c32882 into main Jun 24, 2025
45 checks passed
@chenjiahan chenjiahan deleted the skip_schema_0624 branch June 24, 2025 06:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: performance release: performance related release(mr only) 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