Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Measure speed of updating dependencies #25

@nikoladev

Description

@nikoladev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions