[git-users] Re: git log takes lot of time
On Monday, September 2, 2013 6:45:47 AM UTC+2, dexter ietf wrote: On Monday, September 2, 2013 12:59:13 AM UTC+5:30, Thomas Ferris Nicolaisen wrote: On Friday, August 30, 2013 3:48:24 PM UTC+2, dexter ietf wrote: i'm running git version 1.7.9.5 in cygwin with no encryption and local drive. i'm using time command to measure the time and i'm not using --no-pager Well, Git on Windows might be a bit slow, but that sounds a bit too slow. What kind of hardware do you have? i'm on Intel i5 CPU with 2.4 GHz processor and 4 GB RAM. only 'git log' takes long time for example 'git status' comes up fast. i would understand if it was other way around but oddly its not. so there is something wrong. are there any debugs i can enable in git, i can check what's really going on inside git. Sure, read about GIT_TRACE on https://www.kernel.org/pub/software/scm/git/docs/ What you can try for comparison is to use the official Git for Windows installation (formerly known as msysgit) instead of the one that comes with cygwin: http://msysgit.github.io/ -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
What you can try for comparison is to use the official Git for Windows installation (formerly known as msysgit) instead of the one that comes with cygwin: http://msysgit.github.io/ Just to back this up a bit, I found this quote on SOhttp://stackoverflow.com/a/8371697/266875 : Almost all git features are available in msysgit and except for some Windows specific changes ( and performance), you will find that everything works in a comparable way to git on *nix. cygwin will not be as performant as msysgit and much less native git on *nix. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
On Friday, August 30, 2013 3:48:24 PM UTC+2, dexter ietf wrote: i'm running git version 1.7.9.5 in cygwin with no encryption and local drive. i'm using time command to measure the time and i'm not using --no-pager Well, Git on Windows might be a bit slow, but that sounds a bit too slow. What kind of hardware do you have? -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
On Monday, September 2, 2013 12:59:13 AM UTC+5:30, Thomas Ferris Nicolaisen wrote: On Friday, August 30, 2013 3:48:24 PM UTC+2, dexter ietf wrote: i'm running git version 1.7.9.5 in cygwin with no encryption and local drive. i'm using time command to measure the time and i'm not using --no-pager Well, Git on Windows might be a bit slow, but that sounds a bit too slow. What kind of hardware do you have? i'm on Intel i5 CPU with 2.4 GHz processor and 4 GB RAM. only 'git log' takes long time for example 'git status' comes up fast. i would understand if it was other way around but oddly its not. so there is something wrong. are there any debugs i can enable in git, i can check what's really going on inside git. -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
On Friday, August 30, 2013 11:21:05 AM UTC+5:30, Thomas Ferris Nicolaisen wrote: On Thursday, August 29, 2013 6:52:38 PM UTC+2, dexter ietf wrote: this is my git repo size, why does git log takes such huge time and how do i improve the time. real 0m35.603s user0m08.093s sys 0m22.900s $ du -h .git 27K .git/hooks 437K.git/info 3.0K.git/logs/refs/heads 2.0K.git/logs/refs/remotes/origin 2.0K.git/logs/refs/remotes 5.0K.git/logs/refs 9.0K.git/logs 1.0K.git/objects/info 1.4G.git/objects/pack 1.4G.git/objects 0 .git/refs/heads 1.0K.git/refs/remotes/origin 1.0K.git/refs/remotes 0 .git/refs/tags 1.0K.git/refs 1.4G.git Please tell us which version of Git you have and which operating system you are on (it looks *nix'ish, but it could be cygwin, I guess). What kind of partition/filesystem is the repository checked out on? Is it encrypted? Is it a remote/mounted drive? What command are you doing exactly and how do you time it? Usually git log will page the first results into your view, so it starts immediately. Are you measuring the time it takes to output the entire log (like git log --no-pager, if so, why)? i'm running git version 1.7.9.5 in cygwin with no encryption and local drive. i'm using time command to measure the time and i'm not using --no-pager -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[git-users] Re: git log takes lot of time
On Thursday, August 29, 2013 6:52:38 PM UTC+2, dexter ietf wrote: this is my git repo size, why does git log takes such huge time and how do i improve the time. real 0m35.603s user0m08.093s sys 0m22.900s $ du -h .git 27K .git/hooks 437K.git/info 3.0K.git/logs/refs/heads 2.0K.git/logs/refs/remotes/origin 2.0K.git/logs/refs/remotes 5.0K.git/logs/refs 9.0K.git/logs 1.0K.git/objects/info 1.4G.git/objects/pack 1.4G.git/objects 0 .git/refs/heads 1.0K.git/refs/remotes/origin 1.0K.git/refs/remotes 0 .git/refs/tags 1.0K.git/refs 1.4G.git Please tell us which version of Git you have and which operating system you are on (it looks *nix'ish, but it could be cygwin, I guess). What kind of partition/filesystem is the repository checked out on? Is it encrypted? Is it a remote/mounted drive? What command are you doing exactly and how do you time it? Usually git log will page the first results into your view, so it starts immediately. Are you measuring the time it takes to output the entire log (like git log --no-pager, if so, why)? -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.