Skip to content

perf(core): minify third-party chunks - #1624

Merged
9aoy merged 1 commit into
mainfrom
9aoy/perf-core-minify-vendor-chunks
Jul 27, 2026
Merged

perf(core): minify third-party chunks#1624
9aoy merged 1 commit into
mainfrom
9aoy/perf-core-minify-vendor-chunks

Conversation

@9aoy

@9aoy 9aoy commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fully minify nine third-party-heavy Node and browser runtime chunks while preserving readable output and function names for Rstest-owned chunks.
  • Reduce emitted JavaScript from 2,497.1 kB to 2,142.9 kB (-14.2%), with the summed gzip size decreasing from 515.3 kB to 481.8 kB (-6.5%).

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings July 27, 2026 06:29

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@9aoy
9aoy enabled auto-merge (squash) July 27, 2026 06:34
@github-actions

Copy link
Copy Markdown

Rsdoctor Bundle Diff Analysis

Found 13 projects in monorepo, 2 projects with changes.

📊 Quick Summary
Project Total Size Change
adapter-rsbuild 6.1 KB 0
adapter-rspack 9.2 KB 0
adapter-rslib 26.3 KB 0
browser 2.1 MB 0
browser-react 6.4 KB 0
browser-ui 811.2 KB 0
coverage-istanbul 18.8 KB 0
coverage-v8 80.0 KB 0
playwright 47.6 KB 0
core/browser 823.8 KB 📉 -124.2 KB (-13.1%)
core/main 1.7 MB 📉 -221.7 KB (-11.1%)
vscode/extension 47.4 MB 0
vscode/worker 14.8 KB 0
📋 Detailed Reports (Click to expand)

📁 core/browser

Path: packages/core/.rsdoctor/browser/rsdoctor-data.json

📌 Baseline Commit: 960c663224 | PR: #1623

Metric Current Baseline Change
📊 Total Size 823.8 KB 948.0 KB -124.2 KB (-13.1%)
📄 JavaScript 682.3 KB 806.6 KB -124.2 KB (-15.4%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 141.4 KB 141.4 KB 0

📦 Download Diff Report: core/browser Bundle Diff

📁 core/main

Path: packages/core/.rsdoctor/main/rsdoctor-data.json

📌 Baseline Commit: 960c663224 | PR: #1623

Metric Current Baseline Change
📊 Total Size 1.7 MB 2.0 MB -221.7 KB (-11.1%)
📄 JavaScript 1.4 MB 1.6 MB -221.7 KB (-13.6%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 373.3 KB 373.3 KB 0

📦 Download Diff Report: core/main Bundle Diff

Generated by Rsdoctor GitHub Action

@9aoy
9aoy merged commit 9204219 into main Jul 27, 2026
11 checks passed
@9aoy
9aoy deleted the 9aoy/perf-core-minify-vendor-chunks branch July 27, 2026 06:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants