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.

Lock updating is very slow

See original GitHub issue

Updating a lockfile can be very slow. A standard pipenv lock easily takes well over a minute for me:

$ time pipenv lock 
Locking [dev-packages] dependencies…
Locking [packages] dependencies…
Updated Pipfile.lock (abef76)!

real	1m56.988s
user	0m21.805s
sys	0m2.417s

This means every time I need to install, uninstall or upgrade a package I need to take a 2-minute break to wait for pipenv to finish updating its lockfile. I’m not sure why that is; yarn and npm seem to perform a similar task but only take seconds, even for projects that have many many more dependencies.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:136
  • Comments:52 (5 by maintainers)

github_iconTop GitHub Comments

180reactions
uranusjrcommented, Aug 9, 2018

@iddan Thanks for the reminder, Captain Obvious!

137reactions
kstohrcommented, Jan 16, 2019

Read this while waiting for pipfile to lock…😃 Would be great if there was a solution.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows lock screen incredibly slow ... - Microsoft Community
After updating KB5005565 yesterday, it seems my lock screen (after 15 minutes past for screen saver) no ... It takes a minute or...
Read more >
Lock Screen to Login Screen Slow & Takes Too ... - YouTube
Lock Screen to Login Screen Takes Too Much Time to Load in Windows 10 FIX .If there is a delay when going from...
Read more >
Why is postgres UPDATE function so slow? - Stack Overflow
The only explanation is that the update is blocked by a lock. Use the pg_blocking_pids function on the process ID of the hanging...
Read more >
Lenovo laptops becoming very slow after locking - Super User
A restart fixes the issue, but isn't a great solution. I have an idea that our Lenovo Vantage updates are causing the issue,...
Read more >
What's causing very slow single record update in Postgresql?
While the application is lock-free (no explicit lock), UPDATE statement locks the row. Using the wiki pointed in the problem along with ...
Read more >

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