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