← Index
NYTProf Performance Profile   « line view »
For bin/benchmark-perlformance
  Run on Fri Apr 17 15:31:48 2015
Reported on Fri Apr 17 15:32:02 2015

Filename/home/ss5/perl5/perlbrew/perls/tapper-perl/lib/5.16.3/x86_64-linux/Digest/MD5.pm
StatementsExecuted 18 statements in 566µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11117µs39µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
1118µs63µ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
3225µs262µs
# spent 39µs (17+22) within Digest::MD5::BEGIN@3 which was called: # once (17µs+22µs) by Data::Structure::Util::BEGIN@9 at line 3
use strict;
# spent 39µs making 1 call to Digest::MD5::BEGIN@3 # spent 22µs making 1 call to strict::import
42248µs2118µs
# spent 63µs (8+55) within Digest::MD5::BEGIN@4 which was called: # once (8µs+55µs) by Data::Structure::Util::BEGIN@9 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 63µs making 1 call to Digest::MD5::BEGIN@4 # spent 55µs making 1 call to vars::import
5
61800ns$VERSION = '2.51';
7
81900nsrequire Exporter;
912µs*import = \&Exporter::import;
1011µs@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
121500nseval {
13179µs require Digest::base;
1419µs push(@ISA, 'Digest::base');
15};
161300nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
2212µseval {
231600ns require XSLoader;
241185µs1179µs XSLoader::load('Digest::MD5', $VERSION);
# spent 179µs making 1 call to XSLoader::load
25};
261500nsif ($@) {
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 push(@ISA, "Digest::Perl::MD5"); # make OO interface work
34 };
35 if ($@) {
36 # restore the original error
37 die $olderr;
38 }
39}
40else {
4111µs *reset = \&new;
42}
43
44110µs1;
45__END__