← Index
NYTProf Performance Profile   « line view »
For /Users/timbo/perl5/perlbrew/perls/perl-5.18.2/bin/perlcritic
  Run on Sat Mar 19 22:12:22 2016
Reported on Sat Mar 19 22:14:10 2016

Filename/Users/timbo/perl5/perlbrew/perls/perl-5.18.2/lib/5.18.2/darwin-2level/Digest/MD5.pm
StatementsExecuted 18 statements in 475µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11111µs21µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
1116µs44µsDigest::MD5::::BEGIN@4Digest::MD5::BEGIN@4
0000s0sDigest::MD5::::__ANON__[:18]Digest::MD5::__ANON__[:18]
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1package Digest::MD5;
2
3224µs232µs
# spent 21µs (11+11) within Digest::MD5::BEGIN@3 which was called: # once (11µs+11µs) by PPI::Util::BEGIN@7 at line 3
use strict;
# spent 21µs making 1 call to Digest::MD5::BEGIN@3 # spent 11µs making 1 call to strict::import
42139µs282µs
# spent 44µs (6+38) within Digest::MD5::BEGIN@4 which was called: # once (6µs+38µs) by PPI::Util::BEGIN@7 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 44µs making 1 call to Digest::MD5::BEGIN@4 # spent 38µs making 1 call to vars::import
5
61500ns$VERSION = '2.52';
7
81200nsrequire Exporter;
911µs*import = \&Exporter::import;
101900ns@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
121400nseval {
13158µs require Digest::base;
1414µs push(@ISA, 'Digest::base');
15};
161100nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
2212µseval {
231300ns require XSLoader;
241225µs1220µs XSLoader::load('Digest::MD5', $VERSION);
# spent 220µs making 1 call to XSLoader::load
25};
261300nsif ($@) {
27 my $olderr = $@;
28 eval {
29 # Try to load the pure perl version
30 require Digest::Perl::MD5;
31
32 Digest::Perl::MD5->import(qw(md5 md5_hex md5_base64));
33 unshift(@ISA, "Digest::Perl::MD5"); # make OO interface work
34 };
35 if ($@) {
36 # restore the original error
37 die $olderr;
38 }
39}
40else {
411900ns *reset = \&new;
42}
43
44118µs1;
45__END__