Open pelallemant opened 6 years ago
@ungb @Ben3eeE can you try to reproduce this? I tried briefly but couldn't.
I wasn't able to repro the issue either. I tried it on mac.
What behavior are you seeing that is slow?
Is there any content in either folders or they are both empty?
I ran the following and didn't see any slowness
mkdir root
mkdir root/folder1
mkdir root/folder2
cd root
git init
cd folder1 && atom .
cd ../folder2 && atom .
I updated my post, and re-shared a demo video of the bug occured, on atom/atom's slack (since I can't upload mp4 files here).
I've published a new version that stops background-tips from displaying if the window isn't focused. That seems like it might help in this case.
Only somewhat related: When trying out sticky root projects I noticed a lag in scrolling performance, but with further testing, it seems to be related to the background tips animating at the same time.
Since performance in Atom is quite critical, I wonder if the background tips should be static? Like just have a few tips rendered once when opened, and not keep switching them forever. I'll see if I can propose a new design. There is also an opportunity to add some buttons like open/add project/file or so.
Hi,
Prerequisites
Description
When I work with projects, I usually have 1 .git folder, in which I may have 2 or 3 main folders. I use 1 atom window per folder. In this case, when this extension is enabled, the 1st window becomes horribly slow.
Steps to Reproduce
root
with 2 folders,root/folder1
androot/folder2
.cd root/folder1 && atom .
-> you can use it, atom is normalcd root/folder2 && atom .
-> if the other atom window is still opened, she became horribly slow.root/folder2
must have 0 files opened, in order that this plugin show the messages.Expected behavior: [What you expect to happen]
Atom shouldn't be slown.
Actual behavior: [What actually happens]
Atom first window is slown at a point that it is not usable.
Reproduces how often: [What percentage of the time does it reproduce?]
100%.
If I disable this package, I do not have any problem. If i re-enable it, I do have those problems.
Versions
Additional Information
The project on which I do have there problems has about 450 PHP files (45M) in the
root/folder1
, and the 2nd folder is a Symfony3 application with easily 100-200 php classes. The .git repository's size is 46Mo. The bug may happen when each folder has enough files.I restarted from an empty .atom, disabled all the core packages, and re-enabled then 1 per 1 in order to figure out which package cause the bug. This is systematic, each time the package is re-enabled, window
root/folder1
is slown down alot, and when disabled, atom is super-fast as it should always be.It doesn't affect only file edition, when in the
settings
view, the scroll is 'blocked' during 2-3 secs each 7-8 secs. I had the same kind of lags when thewindow state
of my atom was corrupted.