Measure speed of updating dependencies
nikoladev opened this issue · comments
nikoladev commented
Another benchmark that would be good to have is to measure how the different package managers handle updated dependencies. Take for example the dependencies of the React app package.json
:
{
// ...other package.json stuff
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "1.1.1"
},
// ...other package.json stuff
}
After all the currently available benchmarks are done (clean install
, etc...) the dependencies could be updated and the update speed could be measured:
{
// ...other package.json stuff
"dependencies": {
"react": "^16.2.0",
"react-dom": "^16.2.0",
"react-scripts": "^2.1.8" // <===== changed
},
// ...other package.json stuff
}
This way the package managers don't just install new packages, but some packages also have to be deleted and/or rearranged. For me, updating my packgage.json
and node_modules
is a far more common use case than starting a new project.
What do you think?
Zoltan Kochan commented
I don't have objections
ref #4