← 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/Dashes.pm
StatementsExecuted 119 statements in 621µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
2211481µs3.43msMouseX::Getopt::Dashes::::__ANON__[:24]MouseX::Getopt::Dashes::__ANON__[:24]
11120µs20µsMouseX::Getopt::Dashes::::BEGIN@2MouseX::Getopt::Dashes::BEGIN@2
11112µs309µsMouseX::Getopt::Dashes::::BEGIN@10MouseX::Getopt::Dashes::BEGIN@10
11111µs100µsMouseX::Getopt::Dashes::::BEGIN@26MouseX::Getopt::Dashes::BEGIN@26
1115µs5µsMouseX::Getopt::Dashes::::BEGIN@5MouseX::Getopt::Dashes::BEGIN@5
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::Dashes;
2
# spent 20µs within MouseX::Getopt::Dashes::BEGIN@2 which was called: # once (20µs+0s) by Mouse::Util::_try_load_one_class at line 4
BEGIN {
317µs $MouseX::Getopt::Dashes::AUTHORITY = 'cpan:STEVAN';
4123µs120µs}
# spent 20µs making 1 call to MouseX::Getopt::Dashes::BEGIN@2
5
# spent 5µs within MouseX::Getopt::Dashes::BEGIN@5 which was called: # once (5µs+0s) by Mouse::Util::_try_load_one_class at line 7
BEGIN {
616µs $MouseX::Getopt::Dashes::VERSION = '0.33';
7121µs15µs}
# spent 5µs making 1 call to MouseX::Getopt::Dashes::BEGIN@5
8# ABSTRACT: convert underscores in attribute names to dashes
9
102105µs2606µs
# spent 309µs (12+297) within MouseX::Getopt::Dashes::BEGIN@10 which was called: # once (12µs+297µs) by Mouse::Util::_try_load_one_class at line 10
use Mouse::Role;
# spent 309µs making 1 call to MouseX::Getopt::Dashes::BEGIN@10 # spent 297µs making 1 call to Mouse::Exporter::do_import
11
1214µs11.59mswith 'MouseX::Getopt';
# spent 1.59ms making 1 call to Mouse::Role::with
13
14
# spent 3.43ms (481µs+2.95) within MouseX::Getopt::Dashes::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/MouseX/Getopt/Dashes.pm:24] which was called 22 times, avg 156µs/call: # 22 times (481µs+2.95ms) by Mouse::Meta::Class::__ANON__[/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/x86_64-linux/Mouse/Meta/Class.pm:379] at line 379 of Mouse/Meta/Class.pm, avg 156µs/call
around _get_cmd_flags_for_attr => sub {
15110418µs my $next = shift;
16 my ( $class, $attr, @rest ) = @_;
17
18221.83ms my ( $flag, @aliases ) = $class->$next($attr, @rest);
# spent 1.83ms making 22 calls to MouseX::Getopt::Basic::_get_cmd_flags_for_attr, avg 83µs/call
193989µs $flag =~ tr/_/-/
# spent 63µs making 22 calls to Mouse::Util::does, avg 3µs/call # spent 26µs making 17 calls to Mouse::Meta::Class::__ANON__::2::has_cmd_flag, avg 2µs/call
20 unless $attr->does('MouseX::Getopt::Meta::Attribute::Trait')
21 && $attr->has_cmd_flag;
22
23 return ( $flag, @aliases );
2416µs148µs};
# spent 48µs making 1 call to Mouse::Role::around
25
26226µs2190µs
# spent 100µs (11+89) within MouseX::Getopt::Dashes::BEGIN@26 which was called: # once (11µs+89µs) by Mouse::Util::_try_load_one_class at line 26
no Mouse::Role;
# spent 100µs making 1 call to MouseX::Getopt::Dashes::BEGIN@26 # spent 89µs making 1 call to Mouse::Exporter::do_unimport
27
2815µs1;
29
30
31__END__