Profile of Class/MOP/Mixin.pm

← Index
NYTProf Performance Profile «block view•line view•sub view»
For xt/tapper-mcp-scheduler-with-db-longrun.t
Run on Tue May 22 17:18:39 2012
Reported on Tue May 22 17:22:42 2012

Filename | /2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Class/MOP/Mixin.pm
Statements | Executed 49 statements in 260µs

Subroutines
Calls | P | F | Exclusive Time | Inclusive Time | Subroutine
--- | --- | --- | --- | --- | ---
1 | 1 | 1 | 8µs | 15µs | Class::MOP::Mixin::::BEGIN@10Class::MOP::Mixin::BEGIN@10
1 | 1 | 1 | 8µs | 8µs | Class::MOP::Mixin::::BEGIN@2Class::MOP::Mixin::BEGIN@2
1 | 1 | 1 | 6µs | 8µs | Class::MOP::Mixin::::BEGIN@9Class::MOP::Mixin::BEGIN@9
1 | 1 | 1 | 6µs | 32µs | Class::MOP::Mixin::::BEGIN@12Class::MOP::Mixin::BEGIN@12

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

Line | State ments | Time on line | Calls | Time in subs | Code
--- | --- | --- | --- | --- | ---
1 |  |  |  |  | package Class::MOP::Mixin;
2 |  |  |  |  | # spent 8µs within Class::MOP::Mixin::BEGIN@2 which was called: # once (8µs+0s) by base::import at line 4 BEGIN {
3 | 1 | 4µs |  |  | $Class::MOP::Mixin::AUTHORITY = 'cpan:STEVAN';
4 | 1 | 20µs | 1 | 8µs | } # spent 8µs making 1 call to Class::MOP::Mixin::BEGIN@2
5 |  |  |  |  | {
6 | 2 | 800ns |  |  | $Class::MOP::Mixin::VERSION = '2.0602';
7 |  |  |  |  | }
8 |  |  |  |  |
9 | 3 | 16µs | 2 | 10µs | # spent 8µs (6+2) within Class::MOP::Mixin::BEGIN@9 which was called: # once (6µs+2µs) by base::import at line 9 use strict; # spent 8µs making 1 call to Class::MOP::Mixin::BEGIN@9 # spent 2µs making 1 call to strict::import
10 | 3 | 16µs | 2 | 23µs | # spent 15µs (8+7) within Class::MOP::Mixin::BEGIN@10 which was called: # once (8µs+7µs) by base::import at line 10 use warnings; # spent 15µs making 1 call to Class::MOP::Mixin::BEGIN@10 # spent 7µs making 1 call to warnings::import
11 |  |  |  |  |
12 | 3 | 62µs | 2 | 58µs | # spent 32µs (6+26) within Class::MOP::Mixin::BEGIN@12 which was called: # once (6µs+26µs) by base::import at line 12 use Scalar::Util 'blessed'; # spent 32µs making 1 call to Class::MOP::Mixin::BEGIN@12 # spent 26µs making 1 call to Exporter::import
13 |  |  |  |  |
14 |  |  |  |  | sub meta {
15 | 36 | 139µs |  |  | require Class::MOP::Class;
16 |  |  | 36 | 1.34ms | Class::MOP::Class->initialize( blessed( $_[0] ) || $_[0] ); # spent 1.31ms making 18 calls to Class::MOP::Class::initialize, avg 73µs/call # spent 26µs making 18 calls to Scalar::Util::blessed, avg 1µs/call
17 |  |  |  |  | }
18 |  |  |  |  |
19 | 1 | 2µs |  |  | 1;
20 |  |  |  |  |
21 |  |  |  |  | # ABSTRACT: Base class for mixin classes
22 |  |  |  |  |
- - |  |  |  |  |
25 |  |  |  |  | =pod
26 |  |  |  |  |
27 |  |  |  |  | =head1 NAME
28 |  |  |  |  |
29 |  |  |  |  | Class::MOP::Mixin - Base class for mixin classes
30 |  |  |  |  |
31 |  |  |  |  | =head1 VERSION
32 |  |  |  |  |
33 |  |  |  |  | version 2.0602
34 |  |  |  |  |
35 |  |  |  |  | =head1 DESCRIPTION
36 |  |  |  |  |
37 |  |  |  |  | This class provides a single method shared by all mixins
38 |  |  |  |  |
39 |  |  |  |  | =head1 METHODS
40 |  |  |  |  |
41 |  |  |  |  | This class provides a few methods which are useful in all metaclasses.
42 |  |  |  |  |
43 |  |  |  |  | =over 4
44 |  |  |  |  |
45 |  |  |  |  | =item B<< Class::MOP::Mixin->meta >>
46 |  |  |  |  |
47 |  |  |  |  | This returns a L<Class::MOP::Class> object for the mixin class.
48 |  |  |  |  |
49 |  |  |  |  | =back
50 |  |  |  |  |
51 |  |  |  |  | =head1 AUTHOR
52 |  |  |  |  |
53 |  |  |  |  | Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details.
54 |  |  |  |  |
55 |  |  |  |  | =head1 COPYRIGHT AND LICENSE
56 |  |  |  |  |
57 |  |  |  |  | This software is copyright (c) 2012 by Infinity Interactive, Inc..
58 |  |  |  |  |
59 |  |  |  |  | This is free software; you can redistribute it and/or modify it under
60 |  |  |  |  | the same terms as the Perl 5 programming language system itself.
61 |  |  |  |  |
62 |  |  |  |  | =cut
63 |  |  |  |  |
64 |  |  |  |  |
65 |  |  |  |  | __END__