fsprojects / fsprojects/Paket

Paket is very slow with ASP.NET Core 2

Open
#3,126 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

performance
Dominant language
F#
Stars
2.1k
Forks
528
Avg merge
1d 12m
Merged PRs (30d)
54

Description

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.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with the linked skalinets/paket-issue reproduction and run paket.exe convert-from-nuget, update, and add xunit using Paket 5.153.0. Compare the command timings and console output with the reported behavior, and review issue #2827 for related investigation. Done means identifying and addressing why these ASP.NET Core 2 operations take minutes rather than seconds.

Written by the indexing model from the issue text.

Assessment

Tech stack
fsharp
Domain
performance, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.