Skip to content

Speed enhancement needed badly! #143

@ye

Description

@ye

I've compared the original GitX and this fork of the GitX and found out on a large Git local repo (1.7G in size, 27k commits), this fork is 5x-6x slower!

Invoking the GUI from command line on the same repo, original GitX tooks about 2 seconds, whereas this fork took around 10-12 seconds. Not sure what else stats do I need to provide, but here are some:

Notice that there is no significant improvement on load time after doing garbage collection.

$ git gc
Counting objects: 375793, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (95330/95330), done.
Writing objects: 100% (375793/375793), done.
Total 375793 (delta 230288), reused 372431 (delta 228128)
Removing duplicate objects: 100% (256/256), done.
Checking connectivity: 375793, done.
$ git log | wc -l
   27457
$ du -sh .
1.7G    .

I understand that there are quite a bit of bells and whistles added comparing to the original GitX, but it shouldn't be that much slower. Is it because of loading git commit objects all at once upon starting?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions