Profile of /data/SimpleDB-Class/author.t/lib/Foo/Child.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For 05.Domain_and_Item.t
Run on Tue May 4 17:21:41 2010
Reported on Tue May 4 17:22:22 2010

File | /data/SimpleDB-Class/author.t/lib/Foo/Child.pm
Statements Executed | 9
Statement Execution Time | 131µs

Subroutines — ordered by exclusive time
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 35µs | 2.50ms | Foo::Child::::BEGIN@3Foo::Child::BEGIN@3

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Foo::Child;
2 |  |  |  |  |
3 | 3 | 92µs | 2 | 4.97ms | # spent 2.50ms (35µs+2.47) within Foo::Child::BEGIN@3 which was called # once (35µs+2.47ms) by Module::Find::useall at line 3 use Moose; # spent 2.50ms making 1 call to Foo::Child::BEGIN@3 # spent 2.47ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:389]
4 | 1 | 2µs | 1 | 22.2ms | extends 'SimpleDB::Class::Item'; # spent 22.2ms making 1 call to Moose::extends
5 |  |  |  |  |
6 | 1 | 5µs | 1 | 32µs | __PACKAGE__->set_domain_name('foo_child'); # spent 32µs making 1 call to SimpleDB::Class::Item::set_domain_name
7 | 1 | 6µs | 1 | 2.83ms | __PACKAGE__->add_attributes( # spent 2.83ms making 1 call to SimpleDB::Class::Item::add_attributes
8 |  |  |  |  | domainId=>{isa=>'Str'},
9 |  |  |  |  | class =>{isa=>'Str'},
10 |  |  |  |  | );
11 | 1 | 6µs | 1 | 2.14ms | __PACKAGE__->belongs_to('domain', 'Foo::Domain', 'domainId',consistent=>1); # consistent because we run tests in real time # spent 2.14ms making 1 call to SimpleDB::Class::Item::belongs_to
12 | 1 | 5µs | 1 | 15µs | __PACKAGE__->recast_using('class'); # spent 15µs making 1 call to SimpleDB::Class::Item::recast_using
13 |  |  |  |  |
14 | 1 | 15µs |  |  | 1;
15 |  |  |  |  |