← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 15:57:08 2022
Reported on Wed Dec 14 16:00:30 2022

Filename/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Moo/sification.pm
StatementsExecuted 17 statements in 358µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11138µs42µsMoo::sification::::BEGIN@2 Moo::sification::BEGIN@2
1117µs46µsMoo::sification::::BEGIN@3 Moo::sification::BEGIN@3
1116µs37µsMoo::sification::::BEGIN@6 Moo::sification::BEGIN@6
2226µs6µsMoo::sification::::import Moo::sification::import
1115µs15µsMoo::sification::::BEGIN@4 Moo::sification::BEGIN@4
1114µs23µsMoo::sification::::BEGIN@8 Moo::sification::BEGIN@8
1113µs3µsMoo::sification::::BEGIN@7 Moo::sification::BEGIN@7
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;
2235µs246µs
# spent 42µs (38+4) within Moo::sification::BEGIN@2 which was called: # once (38µs+4µs) by OpenAPI::Modern::BEGIN@11 at line 2
use strict;
# spent 42µs making 1 call to Moo::sification::BEGIN@2 # spent 4µs making 1 call to strict::import
3225µs285µs
# spent 46µs (7+39) within Moo::sification::BEGIN@3 which was called: # once (7µs+39µs) by OpenAPI::Modern::BEGIN@11 at line 3
use warnings;
# spent 46µs making 1 call to Moo::sification::BEGIN@3 # spent 39µs making 1 call to warnings::import
4224µs225µs
# spent 15µs (5+10) within Moo::sification::BEGIN@4 which was called: # once (5µs+10µs) by OpenAPI::Modern::BEGIN@11 at line 4
no warnings 'once';
# spent 15µs making 1 call to Moo::sification::BEGIN@4 # spent 10µs making 1 call to warnings::unimport
5
6244µs268µs
# spent 37µs (6+31) within Moo::sification::BEGIN@6 which was called: # once (6µs+31µs) by OpenAPI::Modern::BEGIN@11 at line 6
use Carp qw(croak);
# spent 37µs making 1 call to Moo::sification::BEGIN@6 # spent 31µs making 1 call to Exporter::import
7127µs13µs
# spent 3µs within Moo::sification::BEGIN@7 which was called: # once (3µs+0s) by OpenAPI::Modern::BEGIN@11 at line 7
BEGIN { our @CARP_NOT = qw(Moo::HandleMoose) }
# spent 3µs making 1 call to Moo::sification::BEGIN@7
82187µs242µs
# spent 23µs (4+19) within Moo::sification::BEGIN@8 which was called: # once (4µs+19µs) by OpenAPI::Modern::BEGIN@11 at line 8
use Moo::_Utils qw(_in_global_destruction);
# spent 23µs making 1 call to Moo::sification::BEGIN@8 # spent 19µs making 1 call to Exporter::import
9
10sub unimport {
11 croak "Can't disable Moo::sification after inflation has been done"
12 if $Moo::HandleMoose::SETUP_DONE;
13 our $disabled = 1;
14}
15
16sub Moo::HandleMoose::AuthorityHack::DESTROY {
17 unless (our $disabled or _in_global_destruction) {
18 require Moo::HandleMoose;
19 Moo::HandleMoose->import;
20 }
21}
22
23
# spent 6µs within Moo::sification::import which was called 2 times, avg 3µs/call: # once (4µs+0s) by OpenAPI::Modern::BEGIN@11 at line 33 of Moo.pm # once (2µs+0s) by MooX::TypeTiny::import at line 34 of Moo/Role.pm
sub import {
24 return
2525µs if our $setup_done;
2610s if ($INC{"Moose.pm"}) {
27 require Moo::HandleMoose;
28 Moo::HandleMoose->import;
29 } else {
3012µs $Moose::AUTHORITY = bless({}, 'Moo::HandleMoose::AuthorityHack');
31 }
3215µs $setup_done = 1;
33}
34
3514µs1;