← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:42:38 2010
Reported on Wed Nov 17 22:04:55 2010

Filename/home/doy/nytprof/kioku-new/accessor max_depth (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 67)
StatementsExecuted 2 statements in 45µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11127µs27µsEval::Closure::::__ANON__[accessor max_depth (defined at Devel/PartialDump.pm line 67):13]Eval::Closure::__ANON__[accessor max_depth (defined at Devel/PartialDump.pm line 67):13]
0000s0sEval::Closure::::__ANON__[accessor max_depth (defined at Devel/PartialDump.pm line 67):12]Eval::Closure::__ANON__[accessor max_depth (defined at Devel/PartialDump.pm line 67):12]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
# spent 27µs within Eval::Closure::__ANON__[accessor max_depth (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 67):13] which was called: # once (27µs+0s) by Eval::Closure::_clean_eval_closure at line 94 of Eval/Closure.pm
sub {
2my $attr = ${$_[0]};
3my $meta = ${$_[1]};
4my $type_constraint = ${$_[2]};
5my $type_constraint_obj = ${$_[3]};
6#line 1 "accessor max_depth (defined at /home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Devel/PartialDump.pm line 67)"
7sub {
8if (@_ > 1) {
9if (@_ < 2) {
10$meta->throw_error("Attribute (max_depth) is required, so cannot be set to undef");
11}
12if (!$type_constraint->($_[1])) {
13126µs$meta->throw_error("Attribute (max_depth) does not pass the type constraint because: " . $type_constraint_obj->get_message($_[1]), data => $_[1]);
14119µs}
15$_[0]->{"max_depth"} = $_[1];
16}
17return $_[0]->{"max_depth"};
18}
19}
20;