-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meta] Perf build #926
Comments
From nono Some other ideas:
It embeds 65ko of CSS from cozy-ui, and some stylus things |
L'idée serait d'avoir une approche loi de Pareto et d'agir sur les plus grosses libs plutôt que de faire de multiple optimisations un peu partout. 20% d'action pour 80% d'efficacité. Les libs les plus grosses (hors lib cozy - voir plus bas l'analyse du poids des libs) sont
Préconisations :
Analyse du poids des libs avec BundlePhobia : |
Webpack Bundle AnalyzerAnalyse :Libs :Hors lib cozy, les plus grosses sont (en poids minifié) :
Côté cozy :
Autre :
Préconisations :
|
Baseline: 2421ko
First PR perf : #907
Possible candidates for size reduction:
Removing moment from chart.js
Only import what we need from cozy-ui, verify tree shaking for cozy-ui
Cozy Authentication build ? Why is it so big ? Transpile it.
Localforage ?
Cozy stack client db.json (issue here, [stack-client] The database used for mime-types is very big cozy-client#109)
The text was updated successfully, but these errors were encountered: