Subject: Re: Relocation patch for cygwin
From: jojelino <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 26 Sep 2011 03:06:31 +0900
List-Id: <cygwin.cygwin.com>

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