From: Fabian G. <fa...@gr...> - 2011-06-21 12:49:29
|
Am 21.06.2011 14:07, schrieb Earnie: > It'll be up to someone else to provide a fix. The response is "For > short-running processes that's generally not a problem." And since it > is using a different runtime than MSYS it is not even relative. Michael Tokarev provides some more insight in this posting, but the overall conclusion remains the same: http://lists.debian.org/debian-devel/2011/03/msg00025.html > I usually find that ls without parameter switches run relatively > quickly. It is the statistics that requires time since fstat needs to > be called repeatedly. One would have to study the newlib functions as > used by MSYS to determine if there is an issue there as well as other > functions that ls might be calling. I can confirm the benchmarks that you provided in your following mail. On my system, running "time ls -l /bin" took 4,1 seconds for the first run and around 0,2 seconds for each subsequent run; my /bin directory currently holds 306 files. - Fabian |