← Index
NYTProf Performance Profile   « line view »
For t/bug-md-11.t
  Run on Fri Mar 8 13:27:24 2024
Reported on Fri Mar 8 13:30:23 2024

Filename/home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/Test2/Formatter.pm
StatementsExecuted 15 statements in 124µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1119µs11µsTest2::Formatter::::BEGIN@2Test2::Formatter::BEGIN@2
1114µs12µsTest2::Formatter::::importTest2::Formatter::import
1113µs18µsTest2::Formatter::::BEGIN@3Test2::Formatter::BEGIN@3
1112µs93µsTest2::Formatter::::new_rootTest2::Formatter::new_root
111700ns700nsTest2::Formatter::::finalizeTest2::Formatter::finalize
0000s0sTest2::Formatter::::hide_bufferedTest2::Formatter::hide_buffered
0000s0sTest2::Formatter::::supports_tablesTest2::Formatter::supports_tables
0000s0sTest2::Formatter::::terminateTest2::Formatter::terminate
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Test2::Formatter;
2218µs212µs
# spent 11µs (9+2) within Test2::Formatter::BEGIN@2 which was called: # once (9µs+2µs) by Test2::Formatter::TAP::BEGIN@17 at line 2
use strict;
# spent 11µs making 1 call to Test2::Formatter::BEGIN@2 # spent 2µs making 1 call to strict::import
3294µs234µs
# spent 18µs (3+15) within Test2::Formatter::BEGIN@3 which was called: # once (3µs+15µs) by Test2::Formatter::TAP::BEGIN@17 at line 3
use warnings;
# spent 18µs making 1 call to Test2::Formatter::BEGIN@3 # spent 15µs making 1 call to warnings::import
4
51200nsour $VERSION = '1.302198';
6
7
81200nsmy %ADDED;
9
# spent 12µs (4+7) within Test2::Formatter::import which was called: # once (4µs+7µs) by Test::Builder::BEGIN@36 at line 36 of Test/Builder.pm
sub import {
101300ns my $class = shift;
111400ns return if $class eq __PACKAGE__;
121800ns return if $ADDED{$class}++;
131500ns require Test2::API;
1412µs18µs Test2::API::test2_formatter_add($class);
# spent 8µs making 1 call to Test2::API::test2_formatter_add
15}
16
17
# spent 93µs (2+90) within Test2::Formatter::new_root which was called: # once (2µs+90µs) by Test2::API::Stack::new_hub at line 31 of Test2/API/Stack.pm
sub new_root {
181200ns my $class = shift;
1912µs190µs return $class->new(@_);
# spent 90µs making 1 call to Test2::Util::HashBase::_new
20}
21
22sub supports_tables { 0 }
23
24sub hide_buffered { 1 }
25
26sub terminate { }
27
2813µs
# spent 700ns within Test2::Formatter::finalize which was called: # once (700ns+0s) by Test2::Hub::finalize at line 461 of Test2/Hub.pm
sub finalize { }
29
3012µs1;
31
32__END__