← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/site_perl/5.22.0/Moo/sification.pm
StatementsExecuted 13 statements in 181µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
222900µs2.69msMoo::sification::::import Moo::sification::import
1119µs21µsMoo::sification::::BEGIN@3 Moo::sification::BEGIN@3
1118µs60µsMoo::sification::::BEGIN@5 Moo::sification::BEGIN@5
1115µs13µsMoo::sification::::BEGIN@4 Moo::sification::BEGIN@4
0000s0sMoo::HandleMoose::AuthorityHack::::DESTROYMoo::HandleMoose::AuthorityHack::DESTROY
0000s0sMoo::sification::::unimport Moo::sification::unimport
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Moo::sification;
2
3217µs234µs
# spent 21µs (9+13) within Moo::sification::BEGIN@3 which was called: # once (9µs+13µs) by CHI::Stats::BEGIN@6 at line 3
use Moo::_strictures;
# spent 21µs making 1 call to Moo::sification::BEGIN@3 # spent 13µs making 1 call to Moo::_strictures::import
4215µs221µs
# spent 13µs (5+8) within Moo::sification::BEGIN@4 which was called: # once (5µs+8µs) by CHI::Stats::BEGIN@6 at line 4
no warnings 'once';
# spent 13µs making 1 call to Moo::sification::BEGIN@4 # spent 8µs making 1 call to warnings::unimport
52100µs292µs
# spent 60µs (8+51) within Moo::sification::BEGIN@5 which was called: # once (8µs+51µs) by CHI::Stats::BEGIN@6 at line 5
use Devel::GlobalDestruction qw(in_global_destruction);
# spent 60µs making 1 call to Moo::sification::BEGIN@5 # spent 33µs making 1 call to Sub::Exporter::Progressive::__ANON__[Sub/Exporter/Progressive.pm:40]
6
7sub unimport {
8 die "Can't disable Moo::sification after inflation has been done"
9 if $Moo::HandleMoose::SETUP_DONE;
10 our $disabled = 1;
11}
12
13sub Moo::HandleMoose::AuthorityHack::DESTROY {
14 unless (our $disabled or in_global_destruction) {
15 require Moo::HandleMoose;
16 Moo::HandleMoose->import;
17 }
18}
19
20
# spent 2.69ms (900µs+1.79) within Moo::sification::import which was called 2 times, avg 1.35ms/call: # once (898µs+1.79ms) by CHI::Stats::BEGIN@6 at line 10 of Moo.pm # once (2µs+0s) by CHI::BEGIN@8 at line 12 of Moo/Role.pm
sub import {
21 return
2224µs if our $setup_done;
231600ns if ($INC{"Moose.pm"}) {
24139µs require Moo::HandleMoose;
2511µs129µs Moo::HandleMoose->import;
# spent 29µs making 1 call to Moo::HandleMoose::import
26 } else {
27 $Moose::AUTHORITY = bless({}, 'Moo::HandleMoose::AuthorityHack');
28 }
2912µs $setup_done = 1;
30}
31
3212µs1;