Profile of (eval 87)[XML/Twig.pm:7113]

← Index
NYTProf Performance Profile
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 | (eval 87)[/home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/XML/Twig.pm:7113]
Statements | Executed 11 statements in 90µs
Eval Invoked At | /home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/XML/Twig.pm line 7113
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 12µs | 362µs | XML::Twig::Elt::::__ANON__[:1]XML::Twig::Elt::__ANON__[:1]
1 | 1 | 1 | 5µs | 15µs | XML::Twig::Elt::::BEGIN@1.31XML::Twig::Elt::BEGIN@1.31

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 | 11 | 90µs | 6 | 376µs | # spent 15µs (5+10) within XML::Twig::Elt::BEGIN@1.31 which was called: # once (5µs+10µs) by XML::Twig::Elt::_install_xpath at line 1 # spent 362µs (12+351) within XML::Twig::Elt::__ANON__[(eval 87)[/home/micha/.plenv/versions/5.38.2/lib/perl5/site_perl/5.38.2/XML/Twig.pm:7113]:1] which was called: # once (12µs+351µs) by XML::Twig::Elt::get_xpath at line 7141 of XML/Twig.pm sub { no warnings; my $elt= shift; my @results;@results= ($elt->twig) || croak "cannot use an XPath query starting with a / on a node not attached to a whole twig";@results= grep defined, map { $_->descendants( 's:fonts') } @results;@results= grep defined, map { $_->children( 's:font') } @results;return XML::Twig::_unique_elts( @results); } # spent 184µs making 1 call to XML::Twig::descendants # spent 106µs making 1 call to XML::Twig::Elt::children # spent 57µs making 1 call to XML::Twig::_unique_elts # spent 15µs making 1 call to XML::Twig::Elt::BEGIN@1.31 # spent 10µs making 1 call to warnings::unimport # spent 4µs making 1 call to XML::Twig::Elt::twig
2 |  |  |  |  | ;