Some extra runs while not interacting with the machine. Perl is 5.30.0 via perlbrew under WSL.

perl -v | head -2 | tail -1 This is perl 5, version 30, subversion 0 (v5.30.0) built for x86_64-li +nux

Results:

de_DE.iso88591 3,1 3.1 3.1 Rate y_sprintf s_sprintf sprintf y_sprintf 4716774/s -- -33% -63% s_sprintf 7052758/s 50% -- -45% sprintf 12712918/s 170% 80% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4816895/s -- -34% -61% s_sprintf 7286043/s 51% -- -41% sprintf 12366711/s 157% 70% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4919055/s -- -32% -70% s_sprintf 7182801/s 46% -- -55% sprintf 16134317/s 228% 125% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4694110/s -- -31% -65% s_sprintf 6766241/s 44% -- -50% sprintf 13495072/s 187% 99% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4661016/s -- -36% -70% s_sprintf 7310428/s 57% -- -53% sprintf 15604067/s 235% 113% -- Rate y_sprintf s_sprintf sprintf y_sprintf 5036750/s -- -10% -62% s_sprintf 5583036/s 11% -- -58% sprintf 13364520/s 165% 139% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4737843/s -- -39% -61% s_sprintf 7805896/s 65% -- -36% sprintf 12216419/s 158% 57% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4921710/s -- -31% -62% s_sprintf 7171893/s 46% -- -45% sprintf 12952997/s 163% 81% -- Rate y_sprintf s_sprintf sprintf y_sprintf 5370220/s -- -26% -62% s_sprintf 7269597/s 35% -- -49% sprintf 14253514/s 165% 96% -- Rate y_sprintf s_sprintf sprintf y_sprintf 4708990/s -- -33% -63% s_sprintf 6986810/s 48% -- -45% sprintf 12723873/s 170% 82% --

In reply to Re^5: A locale independent sprintf? by swl
in thread A locale independent sprintf? by swl

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.