Package Size

#performance #node #node_modules #size

npm package sizes matters

if you reduce your project dependencies your node_modules will be small and it will be fast to run yarn install and also to cache and restore cache

Feedback-server has ~2GB of node_modules

Feedback-admin has ~2GB of node_modules

Productivity

Links to
  • ProductivityTo be productivity we need our workflows to be fast We also need our workflows to be easy to use creating a new pull request should be fast creating a new test should be run run a…
Shares tags with
  • Big OBig O is how we measure how fast an algorithm is, and how fast it grows as the input N grows O(n) means the algorithm increases at the same rate as their input o(log n) means it…
  • Bundle analyzeMost modern apps can’t be built without dependencies, so we need to analyze the final bundle of our application to make sure we are not shipping unnecessary code We can also use…
  • Image ThumbnailWe need to resize images to different formats and devices to provide the best user experience Right now we use thumbor docker from Globo, that uses python to provide their tool. I…
  • Memory LeakMemory leak when you allocated some memory and didn't dispose it.
  • Node Modulesnode modules is where node keeps all their dependencies one good thing of node modules is that you can easily modify an external package code inside node modules and test your fix…

Sign in with GitHub to reply.

Select any passage to quote it.

Comments