← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 15:33:55 2022
Reported on Wed Dec 14 15:40:02 2022

Filename/Users/ether/.perlbrew/libs/36.0@std/lib/perl5/Moo/sification.pm
StatementsExecuted 17 statements in 357µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11136µs40µsMoo::sification::::BEGIN@2 Moo::sification::BEGIN@2
11111µs54µsMoo::sification::::BEGIN@3 Moo::sification::BEGIN@3
1116µs17µsMoo::sification::::BEGIN@4 Moo::sification::BEGIN@4
1116µs40µsMoo::sification::::BEGIN@6 Moo::sification::BEGIN@6
1116µs22µsMoo::sification::::BEGIN@8 Moo::sification::BEGIN@8
2226µs6µsMoo::sification::::import Moo::sification::import
1112µs2µ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;
2237µs244µs
# spent 40µs (36+4) within Moo::sification::BEGIN@2 which was called: # once (36µs+4µs) by OpenAPI::Modern::BEGIN@11 at line 2
use strict;
# spent 40µs making 1 call to Moo::sification::BEGIN@2 # spent 4µs making 1 call to strict::import
3227µs297µs
# spent 54µs (11+43) within Moo::sification::BEGIN@3 which was called: # once (11µs+43µs) by OpenAPI::Modern::BEGIN@11 at line 3
use warnings;
# spent 54µs making 1 call to Moo::sification::BEGIN@3 # spent 43µs making 1 call to warnings::import
4220µs228µs
# spent 17µs (6+11) within Moo::sification::BEGIN@4 which was called: # once (6µs+11µs) by OpenAPI::Modern::BEGIN@11 at line 4
no warnings 'once';
# spent 17µs making 1 call to Moo::sification::BEGIN@4 # spent 11µs making 1 call to warnings::unimport
5
6240µs274µs
# spent 40µs (6+34) within Moo::sification::BEGIN@6 which was called: # once (6µs+34µs) by OpenAPI::Modern::BEGIN@11 at line 6
use Carp qw(croak);
# spent 40µs making 1 call to Moo::sification::BEGIN@6 # spent 34µs making 1 call to Exporter::import
7128µs12µs
# spent 2µs within Moo::sification::BEGIN@7 which was called: # once (2µs+0s) by OpenAPI::Modern::BEGIN@11 at line 7
BEGIN { our @CARP_NOT = qw(Moo::HandleMoose) }
# spent 2µs making 1 call to Moo::sification::BEGIN@7
82190µs238µs
# spent 22µs (6+16) within Moo::sification::BEGIN@8 which was called: # once (6µs+16µs) by OpenAPI::Modern::BEGIN@11 at line 8
use Moo::_Utils qw(_in_global_destruction);
# spent 22µs making 1 call to Moo::sification::BEGIN@8 # spent 16µ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 (3µs+0s) by MooX::TypeTiny::import at line 34 of Moo/Role.pm # once (3µs+0s) by OpenAPI::Modern::BEGIN@11 at line 33 of Moo.pm
sub import {
24 return
2526µ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 }
3214µs $setup_done = 1;
33}
34
3513µs1;