Help for this page

Select Code to Download


  1. or download this
    use Benchmark;
    use feature 'say';
    say timeit(5, sub { sleep 4 })->real;
    say timeit(5, sub { sleep 6 })->real;