RosettaCodeData/Task/Time-a-function/Perl-6/time-a-function.pl6

4 lines
57 B
Raku

my $start = now;
(^100000).pick(1000);
say now - $start;