We know. It takes a “good” 5-10 minutes to run
$ create-react-app myTestApp
The plan: I’m going to installing a npm repository cache npm_lazy, and do 4 measurement:
- First time elapsed of a ‘create-react-app myApp’ – Without npm_lazy cache
- Next time elapsed of a ‘create-react-app myApp’ – Without npm_lazy cache
- Third time is the npm_cache install case, but when “npm install” not yet been ever run.
- Fourth time elapsed is that of all things configured with npm_lazy cache
So the final benefit of using a npm_lazy cache will be subtracting the time between 4 and 2.
Gonna be back soon! Stay tuned. Second Post will be about the results. Cheers, Jukka
Leave a Reply