develooper Front page | perl.perl5.porters | Postings from October 2014

[perl #122955] miniperl disk I/O read statistics during build WAS: [PATCH] speed up building with less disk IO pod moves+__END__+misc

From:
bulk88 via RT
Date:
October 12, 2014 08:43
Subject:
[perl #122955] miniperl disk I/O read statistics during build WAS: [PATCH] speed up building with less disk IO pod moves+__END__+misc
Message ID:
rt-4.0.18-32521-1413103426-32.122955-15-0@perl.org
After making this patch I did some analysis of a capture of all ReadFile calls by any miniperl.exe process during a "nmake all". I've attached a CSV file with the hottest by number of read calls (and all of them are in 4096 bytes or less if EOF at a time chunks). I cut it off after 10 since otherwise almost (maybe thats an exaggeration) every .pm file in the repo will be in the list. This list is basically a list of which .pm files to make as short as possible for the perl compiler/parser, or to refactor into heavy and light versions, or remove whitespace from them or remove excessive source code comments. If the perl code section of the .pm is below 4096, there is nothing to optimize obviously, except by removing the dependency on that module completely from some invocations/loads of that module.

-- 
bulk88 ~ bulk88 at hotmail.com

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=122955



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About