← Index
NYTProf Performance Profile   « block view • line view • sub view »
For reply.pl
  Run on Thu Oct 21 22:40:13 2010
Reported on Thu Oct 21 22:44:40 2010

Filename/home/hinrik/perl5/perlbrew/perls/perl-5.13.5/lib/site_perl/5.13.5/MouseX/StrictConstructor.pm
StatementsExecuted 25 statements in 220µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
41159µs354µsMouseX::StrictConstructor::::init_metaMouseX::StrictConstructor::init_meta
11139µs39µsMouseX::StrictConstructor::::BEGIN@3MouseX::StrictConstructor::BEGIN@3
11112µs21µsMouseX::StrictConstructor::::BEGIN@5MouseX::StrictConstructor::BEGIN@5
1116µs6µsMouseX::StrictConstructor::::BEGIN@4MouseX::StrictConstructor::BEGIN@4
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package MouseX::StrictConstructor;
2
3243µs139µs
# spent 39µs within MouseX::StrictConstructor::BEGIN@3 which was called: # once (39µs+0s) by Any::Moose::_install_module at line 3
use 5.006_002;
# spent 39µs making 1 call to MouseX::StrictConstructor::BEGIN@3
4223µs16µs
# spent 6µs within MouseX::StrictConstructor::BEGIN@4 which was called: # once (6µs+0s) by Any::Moose::_install_module at line 4
use Mouse ();
# spent 6µs making 1 call to MouseX::StrictConstructor::BEGIN@4
5272µs230µs
# spent 21µs (12+9) within MouseX::StrictConstructor::BEGIN@5 which was called: # once (12µs+9µs) by Any::Moose::_install_module at line 5
use Mouse::Exporter;
# spent 21µs making 1 call to MouseX::StrictConstructor::BEGIN@5 # spent 9µs making 1 call to Mouse::Exporter::import
6
712µsour $VERSION = '0.02';
8
914µs182µsMouse::Exporter->setup_import_methods();
# spent 82µs making 1 call to Mouse::Exporter::setup_import_methods
10
11
# spent 354µs (59+294) within MouseX::StrictConstructor::init_meta which was called 4 times, avg 88µs/call: # 4 times (59µs+294µs) by Mouse::Exporter::do_import at line 181 of Mouse/Exporter.pm, avg 88µs/call
sub init_meta {
121672µs shift;
134279µs my $meta = Mouse->init_meta(@_);
# spent 279µs making 4 calls to Mouse::init_meta, avg 70µs/call
14415µs $meta->strict_constructor(1); # XXX: Mouse-extended feature
# spent 15µs making 4 calls to Mouse::Meta::Class::strict_constructor, avg 4µs/call
15 return $meta;
16}
17
1814µs1;
19__END__