Profile of (eval 99)[Eval/Closure.pm:125]

← Index
NYTProf Performance Profile
For xt/tapper-mcp-scheduler-with-db-longrun.t
Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:23:34 2012

Filename | (eval 99)[/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Eval/Closure.pm:125]
Statements | Executed 83 statements in 197µs
Eval Invoked At | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Eval/Closure.pm line 125
Sibling evals | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 4µs | 4µs | Eval::Closure::Sandbox_31::::__ANON__[:58]Eval::Closure::Sandbox_31::__ANON__[:58]
0 | 0 | 0 | 0s | 0s | Eval::Closure::Sandbox_31::::__ANON__[:57]Eval::Closure::Sandbox_31::__ANON__[:57]

Call graph for these subroutines as a Graphviz dot language file.

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Eval::Closure::Sandbox_31;
2 |  |  |  |  | # spent 4µs within Eval::Closure::Sandbox_31::__ANON__[(eval 99)[/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/Eval/Closure.pm:125]:58] which was called: # once (4µs+0s) by Eval::Closure::_clean_eval_closure at line 103 of Eval/Closure.pm sub {
3 | 1 | 400ns |  |  | my $defaults = ${$_[0]};
4 |  |  |  |  | sub {
5 | 4 | 2µs |  |  | my $class = shift;
6 | 4 | 16µs | 4 | 2µs | $class = Scalar::Util::blessed($class) || $class; # spent 2µs making 4 calls to Scalar::Util::blessed, avg 500ns/call
7 | 4 | 1µs |  |  | return Class::MOP::Class->initialize($class)->new_object(@_)
8 |  |  |  |  | if $class ne 'Moose::Meta::TypeConstraint::Parameterizable';
9 | 4 | 8µs |  |  | my $params = @_ == 1 ? $_[0] : {@_};
10 | 4 | 104µs |  |  | my $instance = bless {} => $class;
11 | 4 | 2µs |  |  | if (exists $params->{'_default_message'}) {
12 |  |  |  |  | $instance->{"_default_message"} = $params->{'_default_message'};
13 |  |  |  |  | }
14 | 4 | 1µs |  |  | if (exists $params->{'coercion'}) {
15 |  |  |  |  | $instance->{"coercion"} = $params->{'coercion'};
16 |  |  |  |  | }
17 | 4 | 1µs |  |  | if (exists $params->{'compiled_type_constraint'}) {
18 |  |  |  |  | $instance->{"compiled_type_constraint"} = $params->{'compiled_type_constraint'};
19 |  |  |  |  | }
20 | 4 | 4µs |  |  | if (exists $params->{'constraint'}) {
21 |  |  |  |  | $instance->{"constraint"} = $params->{'constraint'};
22 |  |  |  |  | }
23 |  |  |  |  | else {
24 |  |  |  |  | $instance->{"constraint"} = $defaults->[3]->($instance);
25 |  |  |  |  | }
26 | 4 | 3µs |  |  | if (exists $params->{'constraint_generator'}) {
27 |  |  |  |  | $instance->{"constraint_generator"} = $params->{'constraint_generator'};
28 |  |  |  |  | }
29 | 4 | 1µs |  |  | if (exists $params->{'optimized'}) {
30 |  |  |  |  | $instance->{"hand_optimized_type_constraint"} = $params->{'optimized'};
31 |  |  |  |  | }
32 | 4 | 2µs |  |  | if (exists $params->{'inline_environment'}) {
33 |  |  |  |  | $instance->{"inline_environment"} = $params->{'inline_environment'};
34 |  |  |  |  | }
35 |  |  |  |  | else {
36 | 4 | 9µs | 4 | 6µs | $instance->{"inline_environment"} = $defaults->[6]->($instance); # spent 6µs making 4 calls to Moose::Meta::TypeConstraint::__ANON__[Moose/Meta/TypeConstraint.pm:101], avg 1µs/call
37 |  |  |  |  | }
38 | 4 | 3µs |  |  | if (exists $params->{'inline_generator'}) {
39 |  |  |  |  | $instance->{"inline_generator"} = $params->{'inline_generator'};
40 |  |  |  |  | }
41 | 4 | 3µs |  |  | if (exists $params->{'inlined'}) {
42 |  |  |  |  | $instance->{"inlined"} = $params->{'inlined'};
43 |  |  |  |  | }
44 | 4 | 1µs |  |  | if (exists $params->{'message'}) {
45 |  |  |  |  | $instance->{"message"} = $params->{'message'};
46 |  |  |  |  | }
47 | 4 | 4µs |  |  | if (exists $params->{'name'}) {
48 |  |  |  |  | $instance->{"name"} = $params->{'name'};
49 |  |  |  |  | }
50 | 4 | 3µs |  |  | if (exists $params->{'package_defined_in'}) {
51 |  |  |  |  | $instance->{"package_defined_in"} = $params->{'package_defined_in'};
52 |  |  |  |  | }
53 | 4 | 2µs |  |  | if (exists $params->{'parent'}) {
54 |  |  |  |  | $instance->{"parent"} = $params->{'parent'};
55 |  |  |  |  | }
56 | 4 | 12µs |  |  | return $instance
57 |  |  |  |  | }
58 | 1 | 6µs |  |  | }
59 | 1 | 8µs |  |  | ;