← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:11:23 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/MooseX/Types/Moose.pm
StatementsExecuted 1261 statements in 14.9ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1243318.93ms8.93msMooseX::Types::Moose::::type_storageMooseX::Types::Moose::type_storage
11178µs151µsMooseX::Types::Moose::::BEGIN@10MooseX::Types::Moose::BEGIN@10
11148µs4.47msMooseX::Types::Moose::::BEGIN@16MooseX::Types::Moose::BEGIN@16
11139µs15.6msMooseX::Types::Moose::::BEGIN@13MooseX::Types::Moose::BEGIN@13
11138µs54µsMooseX::Types::Moose::::BEGIN@11MooseX::Types::Moose::BEGIN@11
11125µs25µsMooseX::Types::Moose::::BEGIN@14MooseX::Types::Moose::BEGIN@14
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package MooseX::Types::Moose;
214µsour $VERSION = "0.23";
3
4=head1 NAME
5
- -
103111µs2225µs
# spent 151µs (78+74) within MooseX::Types::Moose::BEGIN@10 which was called: # once (78µs+74µs) by Markdent::Types::Internal::BEGIN@24 at line 10
use warnings;
# spent 151µs making 1 call to MooseX::Types::Moose::BEGIN@10 # spent 74µs making 1 call to warnings::import
11397µs269µs
# spent 54µs (38+16) within MooseX::Types::Moose::BEGIN@11 which was called: # once (38µs+16µs) by Markdent::Types::Internal::BEGIN@24 at line 11
use strict;
# spent 54µs making 1 call to MooseX::Types::Moose::BEGIN@11 # spent 16µs making 1 call to strict::import
12
133139µs231.2ms
# spent 15.6ms (39µs+15.6) within MooseX::Types::Moose::BEGIN@13 which was called: # once (39µs+15.6ms) by Markdent::Types::Internal::BEGIN@24 at line 13
use MooseX::Types;
# spent 15.6ms making 1 call to MooseX::Types::Moose::BEGIN@13 # spent 15.6ms making 1 call to MooseX::Types::import
143115µs125µs
# spent 25µs within MooseX::Types::Moose::BEGIN@14 which was called: # once (25µs+0s) by Markdent::Types::Internal::BEGIN@24 at line 14
use Moose::Util::TypeConstraints ();
# spent 25µs making 1 call to MooseX::Types::Moose::BEGIN@14
15
163332µs28.90ms
# spent 4.47ms (48µs+4.42) within MooseX::Types::Moose::BEGIN@16 which was called: # once (48µs+4.42ms) by Markdent::Types::Internal::BEGIN@24 at line 16
use namespace::clean -except => [qw( meta )];
# spent 4.47ms making 1 call to MooseX::Types::Moose::BEGIN@16 # spent 4.42ms making 1 call to namespace::clean::import
17
18=head1 SYNOPSIS
19
- -
50# all available builtin types as short and long name
51my %BuiltIn_Storage
521126µs126µs = map { ($_) x 2 }
53 Moose::Util::TypeConstraints->list_all_builtin_type_constraints;
54
55=head1 METHODS
56
- -
64# use prepopulated builtin hash as type storage
65124313.9ms
# spent 8.93ms within MooseX::Types::Moose::type_storage which was called 1243 times, avg 7µs/call: # 594 times (4.34ms+0s) by MooseX::Types::Base::get_type at line 132 of MooseX/Types/Base.pm, avg 7µs/call # 594 times (4.16ms+0s) by MooseX::Types::Base::has_type at line 172 of MooseX/Types/Base.pm, avg 7µs/call # 55 times (423µs+0s) by MooseX::Types::Base::type_names at line 145 of MooseX/Types/Base.pm, avg 8µs/call
sub type_storage { \%BuiltIn_Storage }
66
67=head1 SEE ALSO
68
- -
84158µs115.3ms1;