Help for this page

Select Code to Download


  1. or download this
    cmpthese( -1, { 'a' => GRT($s), 'b' => ST($s) } ) ;
    
  2. or download this
    cmpthese(-3, {
        grt => sub { GRT($s) },
        st  => sub { ST($s) }
    });
    
  3. or download this
          Rate  grt   st
    grt 2.75/s   -- -76%
    st  11.6/s 320%   --
    
  4. or download this
           split m{(?<!\A)(?=>>>)}, $s     # GRT
           split       (/^(?=>>> )/m, $s)  # ST
    
  5. or download this
    use Test::More tests => 1;
    is GRT($s), ST($s), 'same';
    
  6. or download this
    1..1
    ok 1 - same
          Rate  st grt
    st  11.7/s  -- -3%
    grt 12.1/s  3%  --