This suggests it's not COW related?
Well, it's certainly not related to the introduction of the new COW in perl-5.20.0.
I've just fired up my old windows 7 machine that has all of the ".0" stable releases from 5.10.0.
The demo script ran fine from 5.18 to 5.26.0 - I didn't test back any further back than 5.18.0.
The slowdown comes with perl-5.28.0, and then persists right up to (and including) perl-5.36.0 - which is the latest perl version on that machine.
A quick browse of the perl5280delta didn't really sound any alarms, though I noticed the following:
[CVE-2017-12814] $ENV{$key} stack buffer overflow on Windows
A possible stack buffer overflow in the %ENV code on Windows has b
+een
fixed by removing the buffer completely since it was superfluous a
+nyway.
[GH #16051] <https://github.com/Perl/perl5/issues/16051>
Is there possibly anything suspicious in that ? (It was the fact that it involves the removal of a buffer that led me to wonder ...)
Cheers,
Rob
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.