Profile of Test2/EventFacet/Parent.pm

← 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/EventFacet/Parent.pm
Statements | Executed 12 statements in 222µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 21µs | 23µs | Test2::EventFacet::Parent::::BEGIN@2Test2::EventFacet::Parent::BEGIN@2
1 | 1 | 1 | 7µs | 7µs | Test2::EventFacet::Parent::::BEGIN@9Test2::EventFacet::Parent::BEGIN@9
1 | 1 | 1 | 6µs | 38µs | Test2::EventFacet::Parent::::BEGIN@7Test2::EventFacet::Parent::BEGIN@7
1 | 1 | 1 | 5µs | 31µs | Test2::EventFacet::Parent::::BEGIN@3Test2::EventFacet::Parent::BEGIN@3
1 | 1 | 1 | 5µs | 77µs | Test2::EventFacet::Parent::::BEGIN@10Test2::EventFacet::Parent::BEGIN@10
0 | 0 | 0 | 0s | 0s | Test2::EventFacet::Parent::::initTest2::EventFacet::Parent::init

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Test2::EventFacet::Parent;
2 | 2 | 34µs | 2 | 25µs | # spent 23µs (21+2) within Test2::EventFacet::Parent::BEGIN@2 which was called: # once (21µs+2µs) by Test2::Event::BEGIN@21 at line 2 use strict; # spent 23µs making 1 call to Test2::EventFacet::Parent::BEGIN@2 # spent 2µs making 1 call to strict::import
3 | 2 | 44µs | 2 | 57µs | # spent 31µs (5+26) within Test2::EventFacet::Parent::BEGIN@3 which was called: # once (5µs+26µs) by Test2::Event::BEGIN@21 at line 3 use warnings; # spent 31µs making 1 call to Test2::EventFacet::Parent::BEGIN@3 # spent 26µs making 1 call to warnings::import
4 |  |  |  |  |
5 | 1 | 500ns |  |  | our $VERSION = '1.302198';
6 |  |  |  |  |
7 | 2 | 41µs | 2 | 70µs | # spent 38µs (6+32) within Test2::EventFacet::Parent::BEGIN@7 which was called: # once (6µs+32µs) by Test2::Event::BEGIN@21 at line 7 use Carp qw/confess/; # spent 38µs making 1 call to Test2::EventFacet::Parent::BEGIN@7 # spent 32µs making 1 call to Exporter::import
8 |  |  |  |  |
9 | 2 | 22µs | 1 | 7µs | # spent 7µs within Test2::EventFacet::Parent::BEGIN@9 which was called: # once (7µs+0s) by Test2::Event::BEGIN@21 at line 9 BEGIN { require Test2::EventFacet; our @ISA = qw(Test2::EventFacet) } # spent 7µs making 1 call to Test2::EventFacet::Parent::BEGIN@9
10 | 2 | 77µs | 2 | 149µs | # spent 77µs (5+72) within Test2::EventFacet::Parent::BEGIN@10 which was called: # once (5µs+72µs) by Test2::Event::BEGIN@21 at line 10 use Test2::Util::HashBase qw{-hid -children -buffered -start_stamp -stop_stamp}; # spent 77µs making 1 call to Test2::EventFacet::Parent::BEGIN@10 # spent 72µs making 1 call to Test2::Util::HashBase::import
11 |  |  |  |  |
12 |  |  |  |  | sub init {
13 |  |  |  |  | confess "Attribute 'hid' must be set"
14 |  |  |  |  | unless defined $_[0]->{+HID};
15 |  |  |  |  |
16 |  |  |  |  | $_[0]->{+CHILDREN} ||= [];
17 |  |  |  |  | }
18 |  |  |  |  |
19 | 1 | 3µs |  |  | 1;
20 |  |  |  |  |
21 |  |  |  |  | __END__