Relocation patch for cygwin
jojelino
jojelino@gmail.com
Mon Sep 26 12:21:00 GMT 2011
On 2011-09-24 AM 5:10, jojelino wrote:
> The attached is report gprof produced when invoked *id* . as you can
> see, format_process_maps consumes 70% of the lifetime(0.5s with
> profiling overhead). this is reproducible whenever we do
> open('/proc/self/maps').
> the problem is, the cost is too expensive. gnulib should care about
> cygwin do sacrifice performance for compatibility.
> As a workaround, how about rebuild libintl without capacity of relocatable?
> because in cygwin libintl is expected to place in /bin so there's no use
> of relocatable.
>
>
A bug in profiling code was found and fixed. revised time consumption of
format_process_maps is now 60%.
http://pastebin.com/yYh6fNbS for detailed gprof result.
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list