← Index
NYTProf Performance Profile   « block view • line view • sub view »
For mentat.storage.mongo.pl
  Run on Tue Jun 24 10:04:38 2014
Reported on Tue Jun 24 10:05:19 2014

Filename/usr/lib/perl/5.14/Digest/MD5.pm
StatementsExecuted 18 statements in 477µs
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11114µs17µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
1117µ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
3227µs221µs
# spent 17µs (14+3) within Digest::MD5::BEGIN@3 which was called: # once (14µs+3µs) by MongoDB::MongoClient::BEGIN@29 at line 3
use strict;
# spent 17µs making 1 call to Digest::MD5::BEGIN@3 # spent 3µs making 1 call to strict::import
42180µs282µs
# spent 44µs (7+38) within Digest::MD5::BEGIN@4 which was called: # once (7µs+38µs) by MongoDB::MongoClient::BEGIN@29 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
61700ns$VERSION = '2.51';
7
81700nsrequire Exporter;
911µs*import = \&Exporter::import;
1011µs@EXPORT_OK = qw(md5 md5_hex md5_base64);
11
12397µseval {
13 require Digest::base;
14 push(@ISA, 'Digest::base');
15};
161100nsif ($@) {
17 my $err = $@;
18 *add_bits = sub { die $err };
19}
20
21
223155µseval {
23 require XSLoader;
241147µs XSLoader::load('Digest::MD5', $VERSION);
# spent 147µs making 1 call to XSLoader::load
25};
2622µsif ($@) {
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 {
41 *reset = \&new;
42}
43
44112µs1;
45__END__