This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Multiple blocking spawn calls to Git are freezing Atom intermittently #386
Closed
Description
At least in this session, I'm noticing that every time I save, Atom becomes unresponsive. Turns out we're shelling out to Git a bunch and the calls are blocking for ~60ms each. That seems abnormally high to me. I tried to save a profile but it seems like the ability to save them has regressed, so here's the screenshot. I think we need to get to the bottom of why spawning subprocesses can end up blocking the thread for this long.
After reloading the window, the calls block for less time again.
Versions
Atom Version (atom --version
): 1.14.0-dev-3b24a33b1
GitHub Package Version (git --git-dir ~/.atom/packages/github/.git rev-parse head
): 54a2f754e0cd41d1455b522f9a3025d4b52d9232