From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

use strict;
use MyNote;
use Benchmark qw(:hireswallclock countit);
unless ( $ENV{TEST_VERBOSE} ) {
plan skip_all => 'not verbose';
}
use_ok 'UUID', 'uuid6';
note '';
note 'testing version 6 string speed';
my $t = countit(1, 'uuid6()');
my $cnt = $t->iters;
note 'rate = ', $cnt, ' UUID strings per second';
note '';
ok 1, 'done';
done_testing;