Test-Stream
view release on metacpan or search on metacpan
profiling/ok_stream_ipc.t view on Meta::CPAN
use strict;
use warnings;
use Test::Stream::IPC;
use Test::Stream::Context qw/context/;
sub plan {
my $ctx = context();
$ctx->plan(@_);
$ctx->release;
}
sub ok($;$) {
my ($bool, $name) = @_;
my $ctx = context();
$ctx->ok($bool, $name);
$ctx->release;
}
my $count = 100000;
plan($count);
ok(1, "an ok") for 1 .. $count;
1;
( run in 1.969 second using v1.01-cache-2.11-cpan-2398b32b56e )