Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Simple Perl 6 version of
Perl6 Perl
branch: master

Merge pull request #3 from ugexe/dev

add example. uses edit distances and a result table
latest commit 02d9ceb749
Jonathan Scott Duff authored


=head1 Name


=head1 Synopsis

    use v6;
    use Benchmark;

    my ($start,$end,$diff,$avg) = timethis(1000, "code");
    my @stats = timethis(1000, sub { #`( code ) });
    say ~@stats;

    my %results = timethese(1000, {
        "foo" => sub { ... },
        "bar" => sub { ... },
    say ~%results;

=head1 Description

A simple benchmarking module with an interface similar to Perl 5's  However, rather than output results to $*OUT, the results
are merely returned so that you can output them however you please.

=head1 Author

Jonathan Scott Duff <>

Something went wrong with that request. Please try again.