← Index
NYTProf Performance Profile   « block view • line view • sub view »
For -e
  Run on Wed Nov 17 21:45:08 2010
Reported on Wed Nov 17 22:11:30 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.08ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11153µs53µsMarkdent::Role::EventsAsMethods::::BEGIN@2Markdent::Role::EventsAsMethods::BEGIN@2
11143µs14.5msMarkdent::Role::EventsAsMethods::::BEGIN@12Markdent::Role::EventsAsMethods::BEGIN@12
11141µs58µsMarkdent::Role::EventsAsMethods::::BEGIN@6Markdent::Role::EventsAsMethods::BEGIN@6
11140µs123µsMarkdent::Role::EventsAsMethods::::BEGIN@7Markdent::Role::EventsAsMethods::BEGIN@7
11140µs216µsMarkdent::Role::EventsAsMethods::::BEGIN@11Markdent::Role::EventsAsMethods::BEGIN@11
11139µs203µ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 53µs within Markdent::Role::EventsAsMethods::BEGIN@2 which was called: # once (53µs+0s) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 4
BEGIN {
3128µs $Markdent::Role::EventsAsMethods::VERSION = '0.17';
4179µs153µs}
# spent 53µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@2
5
6398µs275µs
# spent 58µs (41+17) within Markdent::Role::EventsAsMethods::BEGIN@6 which was called: # once (41µs+17µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 6
use strict;
# spent 58µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@6 # spent 17µs making 1 call to strict::import
73115µs2205µs
# spent 123µs (40+82) within Markdent::Role::EventsAsMethods::BEGIN@7 which was called: # once (40µs+82µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 7
use warnings;
# spent 123µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@7 # spent 82µs making 1 call to warnings::import
8
93108µs2366µs
# spent 203µs (39+164) within Markdent::Role::EventsAsMethods::BEGIN@9 which was called: # once (39µs+164µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 9
use Scalar::Util qw( blessed );
# spent 203µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@9 # spent 164µs making 1 call to Exporter::import
10
113140µs2393µs
# spent 216µs (40+177) within Markdent::Role::EventsAsMethods::BEGIN@11 which was called: # once (40µs+177µs) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 11
use namespace::autoclean;
# spent 216µs making 1 call to Markdent::Role::EventsAsMethods::BEGIN@11 # spent 177µs making 1 call to namespace::autoclean::import
123393µs228.9ms
# spent 14.5ms (43µs+14.4) within Markdent::Role::EventsAsMethods::BEGIN@12 which was called: # once (43µs+14.4ms) by Class::MOP::__ANON__[/home/doy/perl5/perlbrew/perls/perl-5.10.1/lib/site_perl/5.10.1/x86_64-linux/Class/MOP.pm:118] at line 12
use Moose::Role;
# spent 14.5ms making 1 call to Markdent::Role::EventsAsMethods::BEGIN@12 # spent 14.4ms making 1 call to Moose::Exporter::__ANON__[Moose/Exporter.pm:456]
13
14122µs137.6mswith 'Markdent::Role::Handler';
# spent 37.6ms 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
- -
91157µs117.2ms__END__