← Index
NYTProf Performance Profile   « line view »
For svc/members/upsert
  Run on Tue Jan 13 11:50:22 2015
Reported on Tue Jan 13 12:09:47 2015

Filename/usr/share/perl5/Date/Manip.pm
StatementsExecuted 20 statements in 263µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11113µs20µsDate::Manip::::BEGIN@9Date::Manip::BEGIN@9
1116µs19µsDate::Manip::::BEGIN@11Date::Manip::BEGIN@11
1116µs15µsDate::Manip::::BEGIN@39Date::Manip::BEGIN@39
1115µs15µsDate::Manip::::BEGIN@10Date::Manip::BEGIN@10
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Date::Manip;
2# Copyright (c) 2010-2014 Sullivan Beck. All rights reserved.
3# This program is free software; you can redistribute it and/or modify it
4# under the same terms as Perl itself.
5
6###########################################################################
7###########################################################################
8
9225µs227µs
# spent 20µs (13+7) within Date::Manip::BEGIN@9 which was called: # once (13µs+7µs) by C4::Overdues::BEGIN@25 at line 9
use warnings;
# spent 20µs making 1 call to Date::Manip::BEGIN@9 # spent 7µs making 1 call to warnings::import
10223µs224µs
# spent 15µs (5+9) within Date::Manip::BEGIN@10 which was called: # once (5µs+9µs) by C4::Overdues::BEGIN@25 at line 10
use strict;
# spent 15µs making 1 call to Date::Manip::BEGIN@10 # spent 9µs making 1 call to strict::import
112113µs232µs
# spent 19µs (6+13) within Date::Manip::BEGIN@11 which was called: # once (6µs+13µs) by C4::Overdues::BEGIN@25 at line 11
use Exporter;
# spent 19µs making 1 call to Date::Manip::BEGIN@11 # spent 13µs making 1 call to Exporter::import
12
131100nsour $VERSION;
141300ns$VERSION='6.47';
15
161200nsour (@ISA,@EXPORT);
17
181100nsmy $backend;
19
2012µsif ((exists $ENV{'DATE_MANIP'} && $ENV{'DATE_MANIP'} eq 'DM5') ||
21 (defined $Date::Manip::Backend && $Date::Manip::Backend eq 'DM5')) {
22 $backend = 'Date::Manip::DM5';
23
24} elsif ($] >= 5.010) {
25 $backend = 'Date::Manip::DM6';
26
27} else {
28 $backend = 'Date::Manip::DM5';
29}
30
311600nsmy $backend_exp = $backend . "::EXPORT";
32
33126µsmy $flag = eval "require $backend; $backend->import(); return 'loaded';";
# spent 687µs executing statements in string eval
341300nsif (! $flag) {
35 die "ERROR LOADING MODULE: $backend";
36}
37
38{
39350µs225µs
# spent 15µs (6+9) within Date::Manip::BEGIN@39 which was called: # once (6µs+9µs) by C4::Overdues::BEGIN@25 at line 39
no strict 'refs';
# spent 15µs making 1 call to Date::Manip::BEGIN@39 # spent 9µs making 1 call to strict::unimport
4014µs @EXPORT = @{ $backend_exp };
41}
42
4318µsunshift (@ISA, $backend);
44
45110µs1;
46# Local Variables:
47# mode: cperl
48# indent-tabs-mode: nil
49# cperl-indent-level: 3
50# cperl-continued-statement-offset: 2
51# cperl-continued-brace-offset: 0
52# cperl-brace-offset: 0
53# cperl-brace-imaginary-offset: 0
54# cperl-label-offset: 0
55# End: