← Index
NYTProf Performance Profile   « line view »
For /home/ss5/perl5/perlbrew/perls/perl-5.22.0/bin/benchmarkanything-storage
  Run on Mon Jan 29 16:55:34 2018
Reported on Mon Jan 29 16:57:07 2018

Filename/home/ss5/perl5/perlbrew/perls/perl-5.22.0/lib/5.22.0/x86_64-linux/Digest/MD5.pm
StatementsExecuted 18 statements in 304µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
276291142.9ms42.9msDigest::MD5::::md5Digest::MD5::md5 (xsub)
1118µs10µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
1115µs34µ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
3216µs211µs
# spent 10µs (8+1) within Digest::MD5::BEGIN@3 which was called: # once (8µs+1µs) by CHI::Util::BEGIN@6 at line 3
use strict;
# spent 10µs making 1 call to Digest::MD5::BEGIN@3 # spent 1µs making 1 call to strict::import
42119µs263µs
# spent 34µs (5+29) within Digest::MD5::BEGIN@4 which was called: # once (5µs+29µs) by CHI::Util::BEGIN@6 at line 4
use vars qw($VERSION @ISA @EXPORT_OK);
# spent 34µs making 1 call to Digest::MD5::BEGIN@4 # spent 29µs making 1 call to vars::import
5
61300ns$VERSION = '2.54';
7
81300nsrequire Exporter;
91800ns*import = \&Exporter::import;
101700ns@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
121300nseval {
13152µs require Digest::base;
1414µs push(@ISA, 'Digest::base');
15};
161100nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
2211µseval {
231300ns require XSLoader;
241101µs197µs XSLoader::load('Digest::MD5', $VERSION);
# spent 97µ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 {
411700ns *reset = \&new;
42}
43
4417µs1;
45__END__
 
# spent 42.9ms within Digest::MD5::md5 which was called 27629 times, avg 2µs/call: # 27629 times (42.9ms+0s) by BenchmarkAnything::Storage::Backend::SQL::Query::execute_query at line 40 of BenchmarkAnything/Storage/Backend/SQL/Query.pm, avg 2µs/call
sub Digest::MD5::md5; # xsub