-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Performance degradation in 3.0+ #6267
Comments
Thanks, @vbjay Here is some more information from Diagnostics part. I tried once again and found this right after opening a repo in a fresh GitExt instance: Count of refs:
Counts of stashes: 0 Counts of objects:
Count of remotes: 1 Size on disk:
Should I record PerfView session too? |
git-status runs in the background, updates the commit count. There has been some reports of slowdowns like this and some tweaks in GE3, no conclusion of the problem though. |
Ignoring lfs you have a GB .git folder. That can most certainly be a part
of it.
…On Mon, Feb 18, 2019, 12:17 PM Gerhard Olsson ***@***.***> wrote:
git-status runs in the background, updates the commit count.
This should have minor impact on the GUI performance. Also in GE2 the
command started earlier and affected the log retrieval more. But please try
without commit count, if only to reduce the noise this command can create.
There has been some reports of slowdowns like this and some tweaks in GE3,
no conclusion of the problem though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6267 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdhsdKpEjS7lPhxEvpGk_RC5LHFuUqTks5vOuASgaJpZM4bBKRG>
.
|
Thanks @gerhardol and @vbjay When I disable it - everything is loaded and initialized blazingly fast. When I turn it back - I get UI freeze back. This option is very important though, would be glad to have it enabled without delays =\ @vbjay Git-LFS is enabled for that repository (see 11G .git/lfs in my prev comment), not sure what you meant by ignoring it. P.S. looks like this delay happens only when I open big repos and their submodules, nothing is freezing when I open small repos. P.P.S GitExt 2.51.05 opens that repo with default settings without delay, it started to happen after update to 3.0 |
Ignoring the 11GB you still have a 1GB .git folder. Now if it has a
submodule or few then that is not surprising and reasonable.
…On Mon, Feb 18, 2019, 2:04 PM Dmitriy [focus] Yukhanov < ***@***.***> wrote:
Thanks @gerhardol <https://github.com/gerhardol> and @vbjay
<https://github.com/vbjay>
I found option which generated this huge delay:
Show submodule status in browse menu
[image: image]
<https://user-images.githubusercontent.com/883587/52971467-a1a60a80-33c8-11e9-8f07-752448f1a0da.png>
When I disable it - everything is loaded and initialized blazingly fast.
When I turn it back - I get UI freeze back.
This option is very important though, would be glad to have it enabled
without delays =\
@vbjay <https://github.com/vbjay> Git-LFS is enabled for that repository
(see 11G .git/lfs in my prev comment), not sure what you meant by ignoring
it.
P.S. looks like this delay happens only when I open big repos and their
submodules, nothing is freezing when I open small repos.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#6267 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADdhsQK31nIFnpCw_hfMvCkzAAD9-f6-ks5vOvlAgaJpZM4bBKRG>
.
|
Ah, yes it has about 10 submodules @vbjay |
The submodule status is (supposed) to be collected in the background, the UI is not dependent on the status. There were a number of threading updates in 3.0 (to ba able to main the program) and there is some regression in this area. Submodule status performance enhancements are tracked in #5769 |
We do have some threading issues in submodules interrogation code paths, that are yet to be resolved. |
Thanks for quick replies guys, it's not a show stopper for me so I'll just keep updating to new official releases until it'll get in there. Cheers! |
Please try the latest master with submodule updates (including in the left bar). |
Thanks @gerhardol but it does crashes on start for me: |
Also I do confirm this issue is fixed in the new version, yey! (I can proceed to use it when I close crash report dialog with X) |
This error is tracked under #6093 |
@DmitriyYukhanov |
@gerhardol thanks for this information! |
There is also a certain perf degradation caused by the commit info panel (#6319). |
Some more about the slowdown in 3.x, not related to the sidepanel. When submodules start to update, the UI freezes if there are many submodules and you click around when the commit status finishes. (You can see when the Commit button changes from gray to something other than green,) There are many threads trying to find module.FilesEncoding which will require "git-rev-parse --git-common-dir". |
Gerhard could you please raise it as a new issue with your findings for us
to investigate.
…On Thu, Mar 7, 2019, 10:47 AM Gerhard Olsson ***@***.*** wrote:
Some more about the slowdown in 3.x, not related to the sidepanel. When
submodules start to update, the UI freezes if there are many submodules and
you click around when the commit status finishes. (You can see when the
Commit button changes from gray to something other than green,) There are
many threads trying to find module.FilesEncoding which will require
"git-rev-parse --git-common-dir".
Not sure if this a thread exhaustion or if the submodule provider is
locking the UI thread.
Creation of GitModule could be improved, caching the git-rev-parse call or
cache separately and provide when creating the GitModule.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6267 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEMyXqj-GQoV-8oQTph_bXYwCaITYjNjks5vUFN5gaJpZM4bBKRG>
.
|
Opened #6357 for an alternative description of this problem |
Hey guys,
Current behaviour
I've recently updated to 3.0.2 from older 2.* version and noticed this: after opening new repository or submodule, GitExt freezes for 4-6 seconds (differs from time to time but never saw less than 4 secs).
Video:
http://codestage.net/dump/share/2019.02/Untitled%20Project.mp4
Same for fresh submodule with only 1 commit - same 4-6 secs delay.
It was responsive nearly immediately prior to 3.0.
Expected behaviour
I expect it to be instantly responsive, as it was prior to 3.0
Steps to reproduce
Update to 3.0+, open any repo on latest Windows 10
Screenshots
Hope tiny video works better here:
http://codestage.net/dump/share/2019.02/Untitled%20Project.mp4
Did this work in previous version of GitExtensions
It was fine in 2.** I had before updating to 3.0
Environment
Diagnostics
I found this particular command a bit beefy:
Sometimes it runs very fast, sometimes it gets 5 secs to execute.
The text was updated successfully, but these errors were encountered: