ã¯ããã« æ¥ããããªããï¼ããã©ã¼ãã³ã¹ãæèããã³ã¼ããæ¸ãï¼ã¨ãããã¨ãä»ã¾ã§ãã¾ããã¦ããªãã£ãããï¼ããå æ¸ãã®è¾ºæèãæ¹ããªãã¨ï¼ï¼ï¼ã¨æãã ãã¯æã£ã¦ããä»æ¥ãã®é ï¼ ãããªèæ¯ãããï¼æãã¨ããããã£ãã®ã§ï¼Perlã«ãããããã©ã¼ãã³ã¹æ¸¬å®ãã¼ã«ã§ã¯ã¡ã¸ã£ã¼ã£ã½ã Benchmark ã¢ã¸ã¥ã¼ã«ãã¡ããã£ã¨ã ã使ã£ã¦ã¿ã¾ããï¼ Benchmark - benchmark running times of Perl code - search.cpan.org 使ã£ã¦ã¿ãé¢æ° ä»å㯠timetheseé¢æ°ã cmptheseé¢æ°ã使ã£ã¦ã¿ã¾ããï¼ use Benchmark qw( :all ); my $results = timethese( $count, { name1 => sub { ... }, name2 => sub { ... }, } ); cmpth
{{#tags}}- {{label}}
{{/tags}}