dotnet / upgrade-assistant

A tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
MIT License
1.1k stars 163 forks source link

non-interactive upgrade is too slow. #887

Open gregpakes opened 2 years ago

gregpakes commented 2 years ago

I cannot include this file as it is 1GB.

image

Describe the bug

I left the upgrade assistant running over the weekend in non-interactive mode on a 357 project. After the entire weekend (friday-> monday) it had completed 25 projects. At this speed, it is far too slow to be a practical way to upgrade.

Exceptions (if any)

None

Further technical details

image

C:\Users\firstname.lastname>dotnet --list-sdks
2.2.207 [C:\Program Files\dotnet\sdk]
3.1.301 [C:\Program Files\dotnet\sdk]
3.1.413 [C:\Program Files\dotnet\sdk]
5.0.104 [C:\Program Files\dotnet\sdk]
5.0.207 [C:\Program Files\dotnet\sdk]
5.0.303 [C:\Program Files\dotnet\sdk]
5.0.400 [C:\Program Files\dotnet\sdk]
5.0.401 [C:\Program Files\dotnet\sdk]
6.0.100-preview.7.21379.14 [C:\Program Files\dotnet\sdk]
6.0.100-rc.1.21463.6 [C:\Program Files\dotnet\sdk]
C:\Users\firstname.lastname>upgrade-assistant --version
0.3.246501+9814e6485222fc73128b9fdc64633c6a5322b57b
sunandabalu commented 2 years ago

@gregpakes Thanks for raising this issue, we are aware of the perf issues faced with large projects (#849 for instance) and actively looking at areas that can reduce the perf load.