タグ

関連タグで絞り込む (2)

タグの絞り込みを解除

perlmoduleとperldocに関するcu39のブックマーク (1)

  • Benchmark

    NAME Benchmark - benchmark running times of Perl code SYNOPSIS use Benchmark qw(:all) ; timethis ($count, "code"); # Use Perl code in strings... timethese($count, { 'Name1' => '...code1...', 'Name2' => '...code2...', }); # ... or use subroutine references. timethese($count, { 'Name1' => sub { ...code1... }, 'Name2' => sub { ...code2... }, }); # cmpthese can be used both ways as well cmpthese($coun

    Benchmark
  • 1