← 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:40 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/MooseX/Role/Parameterized/Meta/Parameter.pm
StatementsExecuted 16 statements in 834µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11177µs22.8msMooseX::Role::Parameterized::Meta::Parameter::::BEGIN@2MooseX::Role::Parameterized::Meta::Parameter::BEGIN@2
11146µs605µsMooseX::Role::Parameterized::Meta::Parameter::::BEGIN@27MooseX::Role::Parameterized::Meta::Parameter::BEGIN@27
0000s0sMooseX::Role::Parameterized::Meta::Parameter::::__ANON__[:20]MooseX::Role::Parameterized::Meta::Parameter::__ANON__[:20]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package MooseX::Role::Parameterized::Meta::Parameter;
23533µs245.5ms
# spent 22.8ms (77µs+22.7) within MooseX::Role::Parameterized::Meta::Parameter::BEGIN@2 which was called: # once (77µs+22.7ms) by MooseX::Role::Parameterized::Meta::Role::Parameterizable::BEGIN@8 at line 2
use Moose;
3112µs15.36msextends 'Moose::Meta::Attribute';
# spent 5.36ms making 1 call to Moose::extends
4
514µsour $VERSION = '0.19';
6
7# This doesn't actually do anything because _process_options does not consult
8# the default value of "is". hrm.
9112µs15.45mshas '+is' => (
# spent 5.45ms making 1 call to Moose::has
10 default => 'ro',
11);
12
13around _process_options => sub {
14435µs my $orig = shift;
15 my ($class, $name, $options) = @_;
16
17 $options->{is} ||= 'ro';
18
191571µs $orig->(@_);
# spent 571µs making 1 call to Moose::Meta::Attribute::_process_options
20124µs12.09ms};
# spent 2.09ms making 1 call to Moose::around
21
22125µs232.7ms__PACKAGE__->meta->make_immutable(
# spent 32.6ms making 1 call to Class::MOP::Class::make_immutable # spent 94µs making 1 call to MooseX::Role::Parameterized::Meta::Parameter::meta
23 inline_constructor => 1,
24 replace_constructor => 1,
25 constructor_name => "_new",
26);
273113µs21.16ms
# spent 605µs (46+559) within MooseX::Role::Parameterized::Meta::Parameter::BEGIN@27 which was called: # once (46µs+559µs) by MooseX::Role::Parameterized::Meta::Role::Parameterizable::BEGIN@8 at line 27
no Moose;
28
29176µs1;
30
31__END__