← 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:23:35 2012

Filename/2home/ss5/perl5/perlbrew/perls/perl-5.12.3/lib/site_perl/5.12.3/x86_64-linux/Moose/Meta/Role/Method.pm
StatementsExecuted 13 statements in 161µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11110µs10µsMoose::Meta::Role::Method::::BEGIN@3Moose::Meta::Role::Method::BEGIN@3
1119µs25µsMoose::Meta::Role::Method::::BEGIN@11Moose::Meta::Role::Method::BEGIN@11
1119µs14µsMoose::Meta::Role::Method::::BEGIN@10Moose::Meta::Role::Method::BEGIN@10
1117µs86µsMoose::Meta::Role::Method::::BEGIN@13Moose::Meta::Role::Method::BEGIN@13
0000s0sMoose::Meta::Role::Method::::_make_compatible_withMoose::Meta::Role::Method::_make_compatible_with
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
2package Moose::Meta::Role::Method;
3
# spent 10µs within Moose::Meta::Role::Method::BEGIN@3 which was called: # once (10µs+0s) by Moose::Meta::Role::BEGIN@20 at line 5
BEGIN {
415µs $Moose::Meta::Role::Method::AUTHORITY = 'cpan:STEVAN';
5124µs110µs}
# spent 10µs making 1 call to Moose::Meta::Role::Method::BEGIN@3
6{
721µs $Moose::Meta::Role::Method::VERSION = '2.0602';
8}
9
10319µs219µs
# spent 14µs (9+5) within Moose::Meta::Role::Method::BEGIN@10 which was called: # once (9µs+5µs) by Moose::Meta::Role::BEGIN@20 at line 10
use strict;
# spent 14µs making 1 call to Moose::Meta::Role::Method::BEGIN@10 # spent 5µs making 1 call to strict::import
11320µs240µs
# spent 25µs (9+16) within Moose::Meta::Role::Method::BEGIN@11 which was called: # once (9µs+16µs) by Moose::Meta::Role::BEGIN@20 at line 11
use warnings;
# spent 25µs making 1 call to Moose::Meta::Role::Method::BEGIN@11 # spent 16µs making 1 call to warnings::import
12
13390µs2165µs
# spent 86µs (7+79) within Moose::Meta::Role::Method::BEGIN@13 which was called: # once (7µs+79µs) by Moose::Meta::Role::BEGIN@20 at line 13
use base 'Moose::Meta::Method';
# spent 86µs making 1 call to Moose::Meta::Role::Method::BEGIN@13 # spent 79µs making 1 call to base::import
14
15sub _make_compatible_with {
16 my $self = shift;
17 my ($other) = @_;
18
19 # XXX: this is pretty gross. the issue here is blah blah blah
20 # see the comments in CMOP::Method::Meta and CMOP::Method::Wrapped
21 return $self unless $other->_is_compatible_with($self->_real_ref_name);
22
23 return $self->SUPER::_make_compatible_with(@_);
24}
25
2612µs1;
27
28# ABSTRACT: A Moose Method metaclass for Roles
29
- -
32=pod
33
34=head1 NAME
35
36Moose::Meta::Role::Method - A Moose Method metaclass for Roles
37
38=head1 VERSION
39
40version 2.0602
41
42=head1 DESCRIPTION
43
44This is primarily used to mark methods coming from a role
45as being different. Right now it is nothing but a subclass
46of L<Moose::Meta::Method>.
47
48=head1 BUGS
49
50See L<Moose/BUGS> for details on reporting bugs.
51
52=head1 AUTHOR
53
54Moose is maintained by the Moose Cabal, along with the help of many contributors. See L<Moose/CABAL> and L<Moose/CONTRIBUTORS> for details.
55
56=head1 COPYRIGHT AND LICENSE
57
58This software is copyright (c) 2012 by Infinity Interactive, Inc..
59
60This is free software; you can redistribute it and/or modify it under
61the same terms as the Perl 5 programming language system itself.
62
63=cut
64
65
66__END__