-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
paket install slow #2823
Comments
I have this issue on Windows 10. I avoid upgrading my packages but when I have to add a new package to my project it takes a long time as for some reason I see all projects listed in console. |
Is this a regression? Is it faster with older (recent) versions?
Am 05.10.2017 00:51 schrieb "Sandeep Chandra" <notifications@github.com>:
… I have this issue on Windows 10. I avoid upgrading my packages but when I
have to add a new package to my project it takes a long time as for some
reason I see all projects listed in console.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNHV4xoaPKD5AlWF0SxWfWSnce4Ruks5spAwHgaJpZM4PuVME>
.
|
If I create a new project and download packages using nuget it is much quicker than converting the new project to use paket and then to download the packages. |
I reproduced the issue as well
Deets
|
first install: 5min @matthid something is seriously weird. It "hangs" for a while at some runtime packages |
I cannot take a look the next couple of days. maybe I broke something with my perf changes. Only a profiler will tell |
don't even know where to start here |
ok @matthid just told me that he has an idea and wants to investigate that during the weekend |
Profiler says the problem might be that I think the "fix" is to only do simplify on import and when writing the lockfile or even better after the resolution. |
For reference:
|
@TheAngryByrd Thanks, yes that agrees with my quick findings with the profiler :) |
Hit this problem, too. I need to waiting for 17minute with an install. |
@zaaack so you have the deps file for us? |
@forki Here is my deps file, not the newest, but I think the speed won't change too much. In my debian labtop, most time it just takes 100% CPU and doesn't cause much network traffic. source https://nuget.org/api/v2
storage:none
nuget FSharp.Core redirects: force
nuget Fable.JsonConverter
nuget Suave
nuget Microsoft.Extensions.Logging.Console
nuget System.Net.NetworkInformation
nuget Newtonsoft.Json
nuget jose-jwt
nuget Fable.Core
nuget Fable.Elmish.Browser
nuget Fable.Elmish.Debugger
nuget Fable.Elmish.React
nuget Fable.Elmish.HMR
nuget WindowsAzure.Storage
nuget Nett.Coma
nuget Microsoft.EntityFrameworkCore.Tools
nuget Pomelo.EntityFrameworkCore.MySql
nuget Z.EntityFramework.Plus.EFCore
nuget SmtpServer
nuget Foundatio
nuget Humanizer
clitool dotnet-fable
clitool Microsoft.DotNet.Watcher.Tools
group ServerTests
source https://nuget.org/api/v2
storage:none
clitool Microsoft.DotNet.Watcher.Tools
nuget FSharp.Core redirects: force
nuget Expecto
group UITests
source https://nuget.org/api/v2
framework >= net461
nuget FSharp.Core redirects: force
nuget Canopy
nuget Expecto
nuget phantomjs
group Build
source https://nuget.org/api/v2
framework >= net461
nuget FAKE
nuget Newtonsoft.Json |
first trial: #2846 |
Please test with https://github.com/fsprojects/Paket/releases/tag/5.114.5 sorry for the delay :/ |
And please report back if it helps. Thanks
Am 14.10.2017 18:05 schrieb "Matthias Dittrich" <notifications@github.com>:
… Closed #2823 <#2823>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2823 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AADgNK_-4RekxIwd2hJC9wQGx-vwc5Vaks5ssNuugaJpZM4PuVME>
.
|
Much better! 🎸
|
Thanks for reporting back. |
+1 🎸 |
I'm using latest paket (5.120.1) and paket install is taking a lot of time (10 minutes) for every package I'm adding. |
Seems like this is starting to creep back up:
|
Guys I need deps + lock file to help
Am 30.11.2017 20:40 schrieb "Jimmy Byrd" <notifications@github.com>:
… Seems like this is starting to creep back up:
Performance:
- Resolver: 4 minutes, 6 seconds (2 runs)
- Runtime: 3 minutes, 38 seconds
- Blocked (retrieving package details): 20 seconds (52 times)
- Blocked (retrieving package versions): 7 seconds (4 times)
- Not Blocked (retrieving package details): 143 times
- Not Blocked (retrieving package versions): 191 times
- Disk IO: 947 milliseconds
- Average Download Time: 4 seconds
- Number of downloads: 15
- Average Request Time: 209 milliseconds
- Number of Requests: 688
- Runtime: 4 minutes, 16 seconds
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNFxXJHkqc0nuL60JXrgIsR9zKcKjks5s7wSWgaJpZM4PuVME>
.
|
Sorry I wasn't clear. I was using the same github repo as stated in the original issue: https://github.com/TheAngryByrd/paket-install-slow |
Ok. Thanks. Will investigate on Monday
Am 01.12.2017 16:31 schrieb "Jimmy Byrd" <notifications@github.com>:
… Sorry I wasn't clear. I was using the same github repo as stated in the
original issue: https://github.com/TheAngryByrd/paket-install-slow
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNM9c1TbrwgHVWahzFs79MyxwMYxBks5s8BvlgaJpZM4PuVME>
.
|
I experience slow performance with https://gist.github.com/blair55/fcbb276fc04e17517fd92beb37f33d11
|
p.s. Paket version 5.133.0 |
Sorry I'm very busy the next two weeks. Will look into this after that.
Am 06.02.2018 20:44 schrieb "Nick" <notifications@github.com>:
… p.s. Paket version 5.133.0
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNNOO_qrSV0GdTf6s-iHGgqAeLhjcks5tSKuigaJpZM4PuVME>
.
|
@blair55 how fast is second update run after the first run? |
@forki Normally there is no significant difference. |
Ok. I Have a version in preparation that needs 3min. Which seems plausible
given that this retrieves the internet. But need to verify correctness
Am 11.02.2018 20:04 schrieb "Nick" <notifications@github.com>:
… @forki <https://github.com/forki> Normally there is no significant
difference.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2823 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AADgNA08pOrRrDX74W0SsdW16c7ARmBzks5tTznPgaJpZM4PuVME>
.
|
@blair55 can you please retry? |
@TheAngryByrd tried |
Awesome! I'll yet when I get in the office |
Yep, can confirm:
👍 |
🎸
|
Description
paket install
seems to take a long time with dotnet core projects. On my machine this repo took over 10 minutes. Maybe my ssd is dying, maybe my internet is throttled?Repro steps
https://github.com/TheAngryByrd/paket-install-slow
Expected behavior
[Insert Sonic]
Actual behavior
[Insert not Sonic]
Known workarounds
Obtain a hobby between calls to install
Other
The text was updated successfully, but these errors were encountered: