Skip to content

perf: reduce getStatus cost when previewing static assets#5681

Merged
chenjiahan merged 2 commits intomainfrom
get_stats_perf_0726
Jul 26, 2025
Merged

perf: reduce getStatus cost when previewing static assets#5681
chenjiahan merged 2 commits intomainfrom
get_stats_perf_0726

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Passing fine-grained stats options to stats.getJson() to reduce the cost when previewing static assets.

Before

Screenshot 2025-07-26 at 18 45 50

After

Screenshot 2025-07-26 at 18 49 09

Related Links

Checklist

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

@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 26, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit cced2ad
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/6884b4397dc0510008149618
😎 Deploy Preview https://deploy-preview-5681--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: 68 (🔴 down 6 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 project configuration.

@chenjiahan chenjiahan merged commit c35481b into main Jul 26, 2025
12 checks passed
@chenjiahan chenjiahan deleted the get_stats_perf_0726 branch July 26, 2025 11:03
@chenjiahan chenjiahan mentioned this pull request Jul 31, 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