Further to this I have had a bit of a play on a few more perls and OSes.
The code runs quickly on
- This is perl 5, version 12, subversion 3 (v5.12.3) built for MSWin32-x86-multi-thread
- This is perl, v5.8.8 built for i386-linux-thread-multi
On all of these the code runs with about 1sec/file total 4seconds (although 5.8.8 spat out some warnings "Scalars leaked: 1" ).
The code runs slowly on
- This is perl, v5.10.0 built for cygwin-thread-multi-64int
- This is perl, v5.10.1 built for cygwin-thread-multi-64int
- This is perl 5, version 14, subversion 1 (v5.14.1) built for cygwin-thread-multi-64int
The 5.10.x taking 7 to 17 s/file, while the shiny new 5.14.1 took 4 to 8s/file. So it looks like this is a problem with cygwin only. :-(
It would be nice if somone else could confirm my observations. The next stop on Monday will be ActivePerl 5.14.1 but I would rather like to keep the code in cygwin if I could.
Suggestions?
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.