This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

1.3.[12]: readdir() performance problem introduced


For 1.3.[12]:

Noticed from the behaviour of man. It took long long time before returning
"No manual entry for x" for unavailable page x.
For 1.1.7, man returned the message almost immediately.

Dug into the source code of man and did some profiling, I found that more
than 95% of time was spent on the system call readdir(). And that is several
hundred times slower than 1.1.7.

Will try to produce a patch. But need to figure out how to compile
cygwin1.dll first.

Regards,

Kelvin Lee

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]