... it's Windows issue

Yes - and I think it's worth raising at https://github.com/Perl/perl5/issues.
I'm getting similar results on Windows 11, with both perl-5.38.0 and the latest devel release (perl-5.39.4).
Update: If this is the same issue as https://github.com/Perl/perl5/issues/21360, then it has not been fixed.

My system seems to be roughly twice as fast as yours. For the final block I get:
Array size: 5000000 split, no pre-heat: 3.296 split, pre-heat: 3.421 match, no pre-heat: 38.257 match, pre-heat: 1.578 io(list), no pre-heat: 38.547 io(list), pre-heat: 1.280
With cygwin's perl-5.38.0 on this same Windows 11 system, I see:
Array size: 5000000 split, no pre-heat: 3.280 split, pre-heat: 3.265 match, no pre-heat: 6.952 match, pre-heat: 1.734 io(list), no pre-heat: 5.920 io(list), pre-heat: 0.969
So there's still a 6x slowdown for "match" and "io(list)" - but that's nowhere near as bad as the native windows perl.
I think that demonstrates there's a potential for significant improvement in the performance of the native windows builds.

With perl-5.38.0 on freebsd12, I see no timing disparity:
Array size: 5000000 split, no pre-heat: 10.392 split, pre-heat: 10.533 match, no pre-heat: 3.642 match, pre-heat: 3.593 io(list), no pre-heat: 3.166 io(list), pre-heat: 3.081
Cheers,
Rob

In reply to Re: Strawberry: Both IO and global match are VERY SLOW. Unless pre-heated (but why?) by syphilis
in thread Strawberry: Both IO and global match are VERY SLOW. Unless pre-heated (but why?) by Anonymous Monk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.