question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Improve performance of workload installation

See original GitHub issue

Is your feature request related to a problem?

dotnet workload install maui seems to take about 6 minutes on the Mac hosted pool, while the dotnet-install script only takes ~13 seconds. See an example here:

https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5972136&view=logs&jobId=96c3d711-2288-532e-87f7-1a666089720f&j=96c3d711-2288-532e-87f7-1a666089720f&t=907c59ba-a277-5b2e-83ee-ef1e51b38284

Is there maybe some performance issues to look into here? We could also look into reducing packs in the maui workload if that would help.

This problem might be worse on Windows because of the use of .msi, we can get an example of that if needed.

Describe the solution you’d like

If dotnet workload install maui only took a couple minutes, that would be great.

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:17 (13 by maintainers)

github_iconTop GitHub Comments

2reactions
joeloffcommented, May 23, 2022

There is a --download-to-cache option (hidden). Also, for MSI based installs we do create a protected cache under ProgramData. I can’t recall why we had this option hidden - it could easily be share across feature bands and having it globally configurable would make sense I think. Maybe something to chat about

Read more comments on GitHub >

github_iconTop Results From Across the Web

Modify Visual Studio workloads, components, & language ...
To do so, open the Visual Studio Installer, and then add or remove workloads, components, and language packs.
Read more >
Application performance tips: Workload optimization and ...
Vendors and IT buyers use three general approaches to optimize workload performance: tuned to the task, application performance management ...
Read more >
Using Workload Optimization to Improve Performance
Workload Placement lets you to optimize virtual machines and storage across clusters to reduce resource contention and maintain optimum ...
Read more >
PERF06-BP02 Define a process to improve workload ...
PERF06-BP02 Define a process to improve workload performance. Define a process to evaluate new services, design patterns, resource types, and configurations as ...
Read more >
(Windows) Improve Workload Performance: Highly-Available ...
Set up a highly available cluster environment. · (Optional) Promote optimal use of system resources. · Configure high availability mode.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found