← Index
NYTProf Performance Profile   « line view »
For -e
  Run on Thu Jun 30 16:34:56 2016
Reported on Thu Jun 30 16:35:09 2016

Filename/home/s1/perl5/perlbrew/perls/perl-5.22.1/lib/site_perl/5.22.1/x86_64-linux/DateTime/Helpers.pm
StatementsExecuted 8 statements in 661µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1111.57ms2.00msDateTime::Helpers::::BEGIN@8DateTime::Helpers::BEGIN@8
11119µs22µsDateTime::Helpers::::BEGIN@3DateTime::Helpers::BEGIN@3
11110µs14µsDateTime::Helpers::::BEGIN@4DateTime::Helpers::BEGIN@4
0000s0sDateTime::Helpers::::canDateTime::Helpers::can
0000s0sDateTime::Helpers::::isaDateTime::Helpers::isa
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package DateTime::Helpers;
2
3227µs224µs
# spent 22µs (19+3) within DateTime::Helpers::BEGIN@3 which was called: # once (19µs+3µs) by DateTime::Duration::BEGIN@10 at line 3
use strict;
# spent 22µs making 1 call to DateTime::Helpers::BEGIN@3 # spent 3µs making 1 call to strict::import
4236µs219µs
# spent 14µs (10+5) within DateTime::Helpers::BEGIN@4 which was called: # once (10µs+5µs) by DateTime::Duration::BEGIN@10 at line 4
use warnings;
# spent 14µs making 1 call to DateTime::Helpers::BEGIN@4 # spent 5µs making 1 call to warnings::import
5
61500nsour $VERSION = '1.27';
7
82594µs12.00ms
# spent 2.00ms (1.57+426µs) within DateTime::Helpers::BEGIN@8 which was called: # once (1.57ms+426µs) by DateTime::Duration::BEGIN@10 at line 8
use Scalar::Util ();
# spent 2.00ms making 1 call to DateTime::Helpers::BEGIN@8
9
10sub can {
11 my $object = shift;
12 my $method = shift;
13
14 return unless Scalar::Util::blessed($object);
15 return $object->can($method);
16}
17
18sub isa {
19 my $object = shift;
20 my $method = shift;
21
22 return unless Scalar::Util::blessed($object);
23 return $object->isa($method);
24}
25
2613µs1;