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.

Paket is very slow with ASP.NET Core 2

See original GitHub issue

Description

Performance is suboptimal when paket is used with ASP.NET Core 2. Just wondering if that is because of microsoft.aspnetcore.all metapackage or issue is the same as in #2827?

Repro steps

  1. dotnet new webapi

  2. download paket.exe (ver 5.153.0), save it to ./paket directory

  3. .\.paket\paket.exe convert-from-nuget takes ~ 5 minutes

  4. .\.paket\paket.exe update takes minutes

  5. .\.paket\paket.exe add xunit takes minutes

Repro is available here

Expected behavior

It is expected to be much faster.

Actual behavior

Steps 3…5 should not take minutes, but rather seconds. Console output can be observed in my twitter.

Known workarounds

No any.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
forkicommented, May 4, 2018

or you go to deps file. add it and run install

0reactions
forkicommented, May 4, 2018

I think I now understand your issue. You are not complaining about the resolution time, but you want to add couple of packages and resolve only once. is that correct?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Loading is slower in ASP.NET Core 2
If you are running your project directly from Visual Studio, it will always be slower at first as JIT compilation takes place, or...
Read more >
net core 7 web api very slow first call more that 32s
Hi,. I have a problem in EF7 with core 7 web api. The first call take more that 30s and the second call...
Read more >
paket install slow · Issue #2823 · fsprojects/Paket
Description paket install seems to take a long time with dotnet core projects. On my machine this repo took over 10 minutes.
Read more >
Reducing initial request latency by pre-building services in ...
In this post I show a startup task that pre-builds all the services registered in the DI container to reduce the duration of...
Read more >
How I Boosted 3.3 Minutes Slow ASP.NET MVC 5 Web ...
So, 3.3 minutes (198 seconds) vs 3 seconds! That's 6600% faster! Yeah, I know… 3 seconds is still slow. (Enter .NET Core, baby!)...
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