Cc: Steffen Prohaska <prohaska@...>, Johannes Schindelin <Johannes.Schindelin@...>, Junio C Hamano <gitster@...>, Git Mailing List <git@...>, <msysgit@...>
On Sun, Jan 20, 2008 at 10:20:46AM -0800, Linus Torvalds wrote:
Windows (msys) Git, with the lstat patch and on my 15433-file test case,
is at least 90-95% system time. I don't have any good tools for
measuring this, but just using the silly performance monitor you get
with ctrl-alt-del and enabling the "View -> Show Kernel Times" curve on
the graph shows this fact pretty clearly.
I think this shows that:
1. There's not much overhead in msysGit's stat wrapper at all. It gets
converted quite efficiently to native Windows calls.
2. Windows really sucks at filesystem ops. Film at 11.
One thing I dimly recall is that the nightmare interface of
FindFirstFile/FindNextFile (which I assume is what is actually getting
called for opendir/readdir) actually returns some stat information with
each file. Would it be possible to use that directly in some cases
rather than taking an extra stat call to get it?
-bcd
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html