Skip to content

perf: make inline chunk matching faster#5064

Merged
chenjiahan merged 1 commit intomainfrom
inline_matching_0420
Apr 21, 2025
Merged

perf: make inline chunk matching faster#5064
chenjiahan merged 1 commit intomainfrom
inline_matching_0420

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Make inline chunk matching faster:

  • No need to call asset.source().toString() if the asset is not matched.
  • Use asset.size() to get size, it's faster than asset.source().toString().length.
Screenshot 2025-04-20 at 17 47 19

Checklist

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

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 20, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 250a98f
🔍 Latest deploy log https://app.netlify.com/sites/rsbuild/deploys/680500d681bb460008b6ad63
😎 Deploy Preview https://deploy-preview-5064--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 60 (🔴 down 25 from production)
Accessibility: 97 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@chenjiahan chenjiahan merged commit de789f0 into main Apr 21, 2025
12 checks passed
@chenjiahan chenjiahan deleted the inline_matching_0420 branch April 21, 2025 01:21
@chenjiahan chenjiahan mentioned this pull request Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant