Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Apr 23, 2025

  • group all icons into one chunk -> reduce from 73 to 56 files
  • extract CSS to reduce JS parser time

@susnux susnux added 3. to review Waiting for reviews performance 🚀 Performance issues and optimisations labels Apr 23, 2025
@susnux susnux changed the title Perf/vite perf: group icons into one chunk and extract CSS Apr 23, 2025
@codecov
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 2.31%. Comparing base (d43eef4) to head (9f03cf1).
Report is 6 commits behind head on master.

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #2949   +/-   ##
======================================
  Coverage    2.31%   2.31%           
======================================
  Files          98      98           
  Lines        6190    6190           
  Branches      112     112           
======================================
  Hits          143     143           
  Misses       6047    6047           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

susnux added 3 commits April 23, 2025 12:14
reducing files from 73 to 56

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux marked this pull request as ready for review April 23, 2025 10:15
@susnux susnux requested review from artonge and skjnldsv April 23, 2025 10:16
[[annotations]]
path = ["l10n/**.js", "l10n/**.json", "js/**.js.map", "js/**.js", "js/**.mjs", "js/**.mjs.map", "js/templates/**.handlebars", "screenshots/screenshot1.png", "src/assets/file-placeholder.svg"]
path = ["js/**.map"]
precedence = "override"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is needed to remove warning from REUSE because there are SPDX headers within the map file (as they contain all sources).

It basically tells REUSE to use this license here instead of parsing the file.

@artonge artonge merged commit 79fa713 into master Apr 23, 2025
52 checks passed
@artonge artonge deleted the perf/vite branch April 23, 2025 10:30
Copy link
Member

@skjnldsv skjnldsv left a comment

Choose a reason for hiding this comment

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

Still not sure about the benefits of 36 css files 🙈

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews performance 🚀 Performance issues and optimisations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants