← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 22:00:36 2010
Reported on Wed Nov 17 22:13:52 2010

Filename/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/Markdent/Role/EventsAsMethods.pm
StatementsExecuted 18 statements in 1.04ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11154µs54µsMarkdent::Role::EventsAsMethods::::BEGIN@2Markdent::Role::EventsAsMethods::BEGIN@2
11150µs72µsMarkdent::Role::EventsAsMethods::::BEGIN@6Markdent::Role::EventsAsMethods::BEGIN@6
11143µs13.6msMarkdent::Role::EventsAsMethods::::BEGIN@12Markdent::Role::EventsAsMethods::BEGIN@12
11141µs110µsMarkdent::Role::EventsAsMethods::::BEGIN@7Markdent::Role::EventsAsMethods::BEGIN@7
11139µs249µsMarkdent::Role::EventsAsMethods::::BEGIN@11Markdent::Role::EventsAsMethods::BEGIN@11
11139µs201µsMarkdent::Role::EventsAsMethods::::BEGIN@9Markdent::Role::EventsAsMethods::BEGIN@9
0000s0sMarkdent::Role::EventsAsMethods::::handle_eventMarkdent::Role::EventsAsMethods::handle_event
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Markdent::Role::EventsAsMethods;
2
# spent 54µs within Markdent::Role::EventsAsMethods::BEGIN@2 which was called: # once (54µs+0s) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 4
BEGIN {
3130µs $Markdent::Role::EventsAsMethods::VERSION = '0.17';
4184µs154µs}
# spent 54µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@2
5
63108µs295µs
# spent 72µs (50+23) within Markdent::Role::EventsAsMethods::BEGIN@6 which was called: # once (50µs+23µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 6
use strict;
# spent 72µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@6 # spent 22µs making 1 call to strict::import
73107µs2178µs
# spent 110µs (41+69) within Markdent::Role::EventsAsMethods::BEGIN@7 which was called: # once (41µs+69µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 7
use warnings;
# spent 110µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@7 # spent 69µs making 1 call to warnings::import
8
93107µs2363µs
# spent 201µs (39+162) within Markdent::Role::EventsAsMethods::BEGIN@9 which was called: # once (39µs+162µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 9
use Scalar::Util qw( blessed );
# spent 201µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@9 # spent 162µs making 1 call to Exporter::import
10
113108µs2459µs
# spent 249µs (39+210) within Markdent::Role::EventsAsMethods::BEGIN@11 which was called: # once (39µs+210µs) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 11
use namespace::autoclean;
# spent 249µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@11 # spent 210µs making 1 call to namespace::autoclean::import
123392µs227.1ms
# spent 13.6ms (43µs+13.5) within Markdent::Role::EventsAsMethods::BEGIN@12 which was called: # once (43µs+13.5ms) by Class::MOP::__ANON__[/home/doy/coding/src/Class-MOP/blib/lib//Class/MOP.pm:118] at line 12
use Moose::Role;
# spent 13.6ms making 1 call to Markdent::Role::EventsAsMethods::BEGIN@12 # spent 13.5ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456]
13
14117µs127.8mswith 'Markdent::Role::Handler';
# spent 27.8ms making 1 call to Moose::Role::with
15
16sub handle_event {
17 my $self = shift;
18 my $event = shift;
19
20 my $meth = $event->event_name();
21
22 $self->$meth( $event->kv_pairs_for_attributes() );
23}
24
25135µs1;
26
27# ABSTRACT: Turns events into method calls
28
- -
31=pod
32
- -
91154µs18.97ms__END__