← Index
NYTProf Performance Profile   « line view »
For ../prof.pl
  Run on Wed Dec 14 15:33:55 2022
Reported on Wed Dec 14 15:40:02 2022

Filename/Users/ether/perl5/perlbrew/perls/36.0/lib/5.36.0/darwin-2level/Digest/MD5.pm
StatementsExecuted 18 statements in 1.77ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
11125µs29µsDigest::MD5::::BEGIN@3Digest::MD5::BEGIN@3
1114µs34µsDigest::MD5::::BEGIN@4Digest::MD5::BEGIN@4
0000s0sDigest::MD5::::__ANON__[:19]Digest::MD5::__ANON__[:19]
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µs233µs
# spent 29µs (25+4) within Digest::MD5::BEGIN@3 which was called: # once (25µs+4µs) by Mojo::Util::BEGIN@6 at line 3
use strict;
# spent 29µs making 1 call to Digest::MD5::BEGIN@3 # spent 4µs making 1 call to strict::import
42162µs264µs
# spent 34µs (4+30) within Digest::MD5::BEGIN@4 which was called: # once (4µs+30µs) by Mojo::Util::BEGIN@6 at line 4
use warnings;
# spent 34µs making 1 call to Digest::MD5::BEGIN@4 # spent 30µs making 1 call to warnings::import
5
610sour $VERSION = '2.58';
7
811µsrequire Exporter;
911µs*import = \&Exporter::import;
1011µsour @EXPORT_OK = qw(md5 md5_hex md5_base64);
11
12our @ISA;
1311µseval {
141420µs require Digest::base;
1517µs @ISA = qw/Digest::base/;
16};
1710sif ($@) {
18 my $err = $@;
19 *add_bits = sub { die $err };
20}
21
22
2310seval {
2411µs require XSLoader;
2511.14ms11.13ms XSLoader::load('Digest::MD5', $VERSION);
# spent 1.13ms making 1 call to XSLoader::load
26};
2711µsif ($@) {
28 my $olderr = $@;
29 eval {
30 # Try to load the pure perl version
31 require Digest::Perl::MD5;
32
33 Digest::Perl::MD5->import(qw(md5 md5_hex md5_base64));
34 unshift(@ISA, "Digest::Perl::MD5"); # make OO interface work
35 };
36 if ($@) {
37 # restore the original error
38 die $olderr;
39 }
40}
41else {
4211µs *reset = \&new;
43}
44
4519µs1;
46__END__