← Index
NYTProf Performance Profile   « block view • line view • sub view »
For bin/hailo
  Run on Thu Oct 21 22:50:37 2010
Reported on Thu Oct 21 22:52:05 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/MouseX/Getopt/Meta/Attribute/Trait.pm
StatementsExecuted 34 statements in 439µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
161150µs50µsMouseX::Getopt::Meta::Attribute::Trait::::__ANON__[:25] MouseX::Getopt::Meta::Attribute::Trait::__ANON__[:25]
11119µs19µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@2 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@2
11112µs69µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@11 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@11
11111µs110µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@34 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@34
11111µs95µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@35 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@35
11111µs288µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@10 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@10
1116µs6µsMouse::Meta::Attribute::Custom::Trait::Getopt::::BEGIN@40Mouse::Meta::Attribute::Custom::Trait::Getopt::BEGIN@40
1115µs5µsMouseX::Getopt::Meta::Attribute::Trait::::BEGIN@5 MouseX::Getopt::Meta::Attribute::Trait::BEGIN@5
1115µs5µsMouse::Meta::Attribute::Custom::Trait::Getopt::::BEGIN@43Mouse::Meta::Attribute::Custom::Trait::Getopt::BEGIN@43
1114µs4µsMouse::Meta::Attribute::Custom::Trait::Getopt::::register_implementationMouse::Meta::Attribute::Custom::Trait::Getopt::register_implementation
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package MouseX::Getopt::Meta::Attribute::Trait;
2
# spent 19µs within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@2 which was called: # once (19µs+0s) by Mouse::Util::_try_load_one_class at line 4
BEGIN {
316µs $MouseX::Getopt::Meta::Attribute::Trait::AUTHORITY = 'cpan:STEVAN';
4123µs119µs}
5
# spent 5µs within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@5 which was called: # once (5µs+0s) by Mouse::Util::_try_load_one_class at line 7
BEGIN {
615µs $MouseX::Getopt::Meta::Attribute::Trait::VERSION = '0.33';
7120µs15µs}
8# ABSTRACT: Optional meta attribute trait for custom option names
9
10229µs2565µs
# spent 288µs (11+277) within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@10 which was called: # once (11µs+277µs) by Mouse::Util::_try_load_one_class at line 10
use Mouse::Role;
# spent 288µs making 1 call to MouseX::Getopt::Meta::Attribute::Trait::BEGIN@10 # spent 277µs making 1 call to Mouse::Exporter::do_import
11292µs2127µs
# spent 69µs (12+58) within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@11 which was called: # once (12µs+58µs) by Mouse::Util::_try_load_one_class at line 11
use Mouse::Util::TypeConstraints;
# spent 69µs making 1 call to MouseX::Getopt::Meta::Attribute::Trait::BEGIN@11 # spent 58µs making 1 call to Mouse::Exporter::do_import
12
1315µs142µshas 'cmd_flag' => (
# spent 42µs making 1 call to Mouse::Role::has
14 is => 'rw',
15 isa => 'Str',
16 predicate => 'has_cmd_flag',
17);
18
19# This subtype is to support scalar -> arrayref coercion
20# without polluting the built-in types
2118µs2132µssubtype '_MouseX_Getopt_CmdAliases' => as 'ArrayRef';
# spent 127µs making 1 call to Mouse::Util::TypeConstraints::subtype # spent 4µs making 1 call to Mouse::Util::TypeConstraints::as
22
23coerce '_MouseX_Getopt_CmdAliases'
24 => from 'Str'
251794µs3113µs
# spent 50µs within MouseX::Getopt::Meta::Attribute::Trait::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/MouseX/Getopt/Meta/Attribute/Trait.pm:25] which was called 16 times, avg 3µs/call: # 16 times (50µs+0s) by Mouse::Meta::TypeConstraint::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/Mouse/Meta/TypeConstraint.pm:119] at line 115 of Mouse/Meta/TypeConstraint.pm, avg 3µs/call
=> via { [$_] };
# spent 107µs making 1 call to Mouse::Util::TypeConstraints::coerce # spent 3µs making 1 call to Mouse::Util::TypeConstraints::from # spent 3µs making 1 call to Mouse::Util::TypeConstraints::via
26
2714µs133µshas 'cmd_aliases' => (
# spent 33µs making 1 call to Mouse::Role::has
28 is => 'rw',
29 isa => '_MouseX_Getopt_CmdAliases',
30 predicate => 'has_cmd_aliases',
31 coerce => 1,
32);
33
34226µs2209µs
# spent 110µs (11+99) within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@34 which was called: # once (11µs+99µs) by Mouse::Util::_try_load_one_class at line 34
no Mouse::Util::TypeConstraints;
# spent 110µs making 1 call to MouseX::Getopt::Meta::Attribute::Trait::BEGIN@34 # spent 99µs making 1 call to Mouse::Exporter::do_unimport
35249µs2180µs
# spent 95µs (11+85) within MouseX::Getopt::Meta::Attribute::Trait::BEGIN@35 which was called: # once (11µs+85µs) by Mouse::Util::_try_load_one_class at line 35
no Mouse::Role;
# spent 95µs making 1 call to MouseX::Getopt::Meta::Attribute::Trait::BEGIN@35 # spent 85µs making 1 call to Mouse::Exporter::do_unimport
36
37# register this as a metaclass alias ...
38package # stop confusing PAUSE
39 Mouse::Meta::Attribute::Custom::Trait::Getopt;
40
# spent 6µs within Mouse::Meta::Attribute::Custom::Trait::Getopt::BEGIN@40 which was called: # once (6µs+0s) by Mouse::Util::_try_load_one_class at line 42
BEGIN {
4116µs $Mouse::Meta::Attribute::Custom::Trait::Getopt::AUTHORITY = 'cpan:STEVAN';
42123µs16µs}
43
# spent 5µs within Mouse::Meta::Attribute::Custom::Trait::Getopt::BEGIN@43 which was called: # once (5µs+0s) by Mouse::Util::_try_load_one_class at line 45
BEGIN {
4416µs $Mouse::Meta::Attribute::Custom::Trait::Getopt::VERSION = '0.33';
45126µs15µs}
4619µs
# spent 4µs within Mouse::Meta::Attribute::Custom::Trait::Getopt::register_implementation which was called: # once (4µs+0s) by Mouse::Util::resolve_metaclass_alias at line 202 of Mouse/Util.pm
sub register_implementation { 'MouseX::Getopt::Meta::Attribute::Trait' }
47
4819µs1;
49
50
51__END__