Profile of /data/SimpleDB-Class/author.t/lib/Foo/Parent.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:38 2010

File | /data/SimpleDB-Class/author.t/lib/Foo/Parent.pm
Statements Executed | 8
Statement Execution Time | 99µs

Subroutines — ordered by exclusive time
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 40µs | 2.33ms | Foo::Parent::::BEGIN@3Foo::Parent::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::Parent;
2 |  |  |  |  |
3 | 3 | 77µs | 2 | 4.61ms | # spent 2.33ms (40µs+2.29) within Foo::Parent::BEGIN@3 which was called # once (40µs+2.29ms) by Module::Find::useall at line 3 use Moose; # spent 2.33ms making 1 call to Foo::Parent::BEGIN@3 # spent 2.29ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:389]
4 | 1 | 2µs | 1 | 227µs | extends 'SimpleDB::Class::Item'; # spent 227µs making 1 call to Moose::extends
5 |  |  |  |  |
6 | 1 | 4µs | 1 | 29µs | __PACKAGE__->set_domain_name('foo_parent'); # spent 29µs making 1 call to SimpleDB::Class::Item::set_domain_name
7 | 1 | 3µs | 1 | 1.46ms | __PACKAGE__->add_attributes(title=>{isa=>'Str'}); # spent 1.46ms making 1 call to SimpleDB::Class::Item::add_attributes
8 | 1 | 3µs | 1 | 24µs | __PACKAGE__->has_many('domains', 'Foo::Domain', 'parentId', mate=>'parent', consistent=>1); # consistent because we run tests in real time # spent 24µs making 1 call to SimpleDB::Class::Item::has_many
9 |  |  |  |  |
10 | 1 | 9µs |  |  | 1;
11 |  |  |  |  |