Performance could be enhanced

Open
#539 4 comments 4 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
csharp
Domain
cli

Research direction

The payload names no files, so start by finding where the update loop runs one NuGet package at a time across the projects in a solution. Check whether the tool can batch updates per project without changing the output. Done means a multi-project solution is updated with each project touched once, and the existing tests still pass. Expect design discussion first, since the thread is old and unresolved.

Written by the indexing model from the issue text.

Description

We have some solutions here with a lot of projects inside. When using dotnet outdated on such a solution, the performance is poor. The reason could be that updating is done package by package, which means for every package each affected project has to be updated. Possibly performance could be much better if the strategy would be the other way round: For each project update all affected packages - so each project would only be updated once.

Dominant language
C#
Stars
1.7k
Forks
172
Avg merge
1d 19h
Merged PRs (30d)
39

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from dotnet-outdated/dotnet-outdated

All issues in dotnet-outdated/dotnet-outdated

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.