← Index
NYTProf Performance Profile   « line view »
For /usr/local/bin/sa-learn
  Run on Tue Nov 7 05:38:10 2017
Reported on Tue Nov 7 06:16:04 2017

Filename/usr/local/lib/perl5/site_perl/mach/5.24/Net/SSLeay.pm
StatementsExecuted 163 statements in 9.72ms
Subroutines
Calls P F Exclusive
Time
Inclusive
Time
Subroutine
1114.42ms4.42msNet::SSLeay::::load_error_stringsNet::SSLeay::load_error_strings (xsub)
201412.01ms2.39msNet::SSLeay::::AUTOLOADNet::SSLeay::AUTOLOAD
111469µs469µsNet::SSLeay::::library_initNet::SSLeay::library_init (xsub)
2011205µs205µsNet::SSLeay::::CORE:substNet::SSLeay::CORE:subst (opcode)
2011166µs166µsNet::SSLeay::::constantNet::SSLeay::constant (xsub)
111144µs190µsNet::SSLeay::::BEGIN@449Net::SSLeay::BEGIN@449
111128µs314µsNet::SSLeay::::randomizeNet::SSLeay::randomize
111127µs127µsNet::SSLeay::::RAND_load_fileNet::SSLeay::RAND_load_file (xsub)
11156µs69µsNet::SSLeay::::BEGIN@16Net::SSLeay::BEGIN@16
11147µs47µsNet::SSLeay::::OpenSSL_add_all_digestsNet::SSLeay::OpenSSL_add_all_digests (xsub)
11144µs44µsNet::SSLeay::::PEM_read_bio_DHparamsNet::SSLeay::PEM_read_bio_DHparams (xsub)
11143µs4.66msNet::SSLeay::::BEGIN@19Net::SSLeay::BEGIN@19
11131µs110µsNet::SSLeay::::BEGIN@20Net::SSLeay::BEGIN@20
11130µs30µsNet::SSLeay::::RAND_seedNet::SSLeay::RAND_seed (xsub)
22129µs29µsNet::SSLeay::::CORE:ftereadNet::SSLeay::CORE:fteread (opcode)
11125µs1.12msNet::SSLeay::::BEGIN@24Net::SSLeay::BEGIN@24
11122µs410µsNet::SSLeay::::BEGIN@18Net::SSLeay::BEGIN@18
11121µs211µsNet::SSLeay::::BEGIN@17Net::SSLeay::BEGIN@17
11111µs11µsNet::SSLeay::::BIO_newNet::SSLeay::BIO_new (xsub)
1119µs9µsNet::SSLeay::::BIO_freeNet::SSLeay::BIO_free (xsub)
1119µs9µsNet::SSLeay::::BIO_writeNet::SSLeay::BIO_write (xsub)
1119µs9µsNet::SSLeay::::CORE:matchNet::SSLeay::CORE:match (opcode)
1117µs7µsNet::SSLeay::::BIO_s_memNet::SSLeay::BIO_s_mem (xsub)
0000s0sNet::SSLeay::::die_if_ssl_errorNet::SSLeay::die_if_ssl_error
0000s0sNet::SSLeay::::die_nowNet::SSLeay::die_now
0000s0sNet::SSLeay::::print_errsNet::SSLeay::print_errs
Call graph for these subroutines as a Graphviz dot language file.
Line State
ments
Time
on line
Calls Time
in subs
Code
1
- -
16270µs281µs
# spent 69µs (56+12) within Net::SSLeay::BEGIN@16 which was called: # once (56µs+12µs) by IO::Socket::SSL::BEGIN@19 at line 16
# spent 69µs making 1 call to Net::SSLeay::BEGIN@16 # spent 12µs making 1 call to strict::import
17266µs2402µs
# spent 211µs (21+190) within Net::SSLeay::BEGIN@17 which was called: # once (21µs+190µs) by IO::Socket::SSL::BEGIN@19 at line 17
# spent 211µs making 1 call to Net::SSLeay::BEGIN@17 # spent 190µs making 1 call to Exporter::import
18274µs2797µs
# spent 410µs (22+387) within Net::SSLeay::BEGIN@18 which was called: # once (22µs+387µs) by IO::Socket::SSL::BEGIN@19 at line 18
# spent 410µs making 1 call to Net::SSLeay::BEGIN@18 # spent 387µs making 1 call to vars::import
19267µs29.27ms
# spent 4.66ms (43µs+4.61) within Net::SSLeay::BEGIN@19 which was called: # once (43µs+4.61ms) by IO::Socket::SSL::BEGIN@19 at line 19
# spent 4.66ms making 1 call to Net::SSLeay::BEGIN@19 # spent 4.61ms making 1 call to Exporter::import
20277µs2189µs
# spent 110µs (31+79) within Net::SSLeay::BEGIN@20 which was called: # once (31µs+79µs) by IO::Socket::SSL::BEGIN@19 at line 20
# spent 110µs making 1 call to Net::SSLeay::BEGIN@20 # spent 79µs making 1 call to Exporter::import
21126µs
- -
2312µs
2422.16ms22.22ms
# spent 1.12ms (25µs+1.10) within Net::SSLeay::BEGIN@24 which was called: # once (25µs+1.10ms) by IO::Socket::SSL::BEGIN@19 at line 24
# spent 1.12ms making 1 call to Net::SSLeay::BEGIN@24 # spent 1.10ms making 1 call to AutoLoader::import
- -
2712µs
- -
3712µs
- -
4112µs
- -
4511µs
- -
6312µs
6412µs
- -
6612µs
67127µs
- -
741166µs
- -
378
# spent 2.39ms (2.01+380µs) within Net::SSLeay::AUTOLOAD which was called 20 times, avg 120µs/call: # 5 times (547µs+92µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 261 of IO/Socket/SSL.pm, avg 128µs/call # 3 times (278µs+58µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 2171 of IO/Socket/SSL.pm, avg 112µs/call # once (125µs+39µs) by IO::Socket::SSL::BEGIN@46 at line 46 of IO/Socket/SSL.pm # once (123µs+22µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 39 of IO/Socket/SSL.pm # once (125µs+19µs) by IO::Socket::SSL::SSL_Context::BEGIN@2168 at line 2168 of IO/Socket/SSL.pm # once (105µs+15µs) by IO::Socket::SSL::BEGIN@48 at line 48 of IO/Socket/SSL.pm # once (97µs+22µs) by IO::Socket::SSL::BEGIN@49 at line 49 of IO/Socket/SSL.pm # once (102µs+14µs) by IO::Socket::SSL::BEGIN@70 at line 71 of IO/Socket/SSL.pm # once (94µs+16µs) by IO::Socket::SSL::BEGIN@47 at line 47 of IO/Socket/SSL.pm # once (90µs+18µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 41 of IO/Socket/SSL.pm # once (98µs+10µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 278 of IO/Socket/SSL.pm # once (96µs+10µs) by IO::Socket::SSL::SSL_Context::BEGIN@2169 at line 2169 of IO/Socket/SSL.pm # once (78µs+12µs) by Mail::SpamAssassin::Plugin::SpamCop::BEGIN@53 at line 40 of IO/Socket/SSL.pm # once (58µs+32µs) by IO::Socket::SSL::init at line 200 of IO/Socket/SSL.pm
- -
3832034µs
38420434µs20205µs
# spent 205µs making 20 calls to Net::SSLeay::CORE:subst, avg 10µs/call
38520288µs20166µs
# spent 166µs making 20 calls to Net::SSLeay::constant, avg 8µs/call
3862071µs
387122µs19µs
# spent 9µs making 1 call to Net::SSLeay::CORE:match
38813µs
389117µs1842µs
# spent 842µs making 1 call to AutoLoader::AUTOLOAD
- -
395191.19ms
# spent 28µs executing statements in string eval
# includes 10µs spent executing 2 calls to 1 sub defined therein. # spent 24µs executing statements in string eval
# includes 5µs spent executing 1 call to 1 sub defined therein. # spent 17µs executing statements in string eval
# includes 10µs spent executing 2 calls to 1 sub defined therein. # spent 16µs executing statements in string eval
# includes 9µs spent executing 2 calls to 1 sub defined therein. # spent 16µs executing statements in string eval
# includes 10µs spent executing 2 calls to 1 sub defined therein. # spent 16µs executing statements in string eval
# includes 19µs spent executing 2 calls to 1 sub defined therein. # spent 10µs executing statements in string eval
# includes 6µs spent executing 1 call to 1 sub defined therein. # spent 9µs executing statements in string eval
# includes 5µs spent executing 1 call to 1 sub defined therein. # spent 9µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 9µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 5µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 5µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 5µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein. # spent 8µs executing statements in string eval
# includes 4µs spent executing 1 call to 1 sub defined therein.
39619366µs1988µs
# spent 6µs making 1 call to Net::SSLeay::ERROR_WANT_READ # spent 5µs making 1 call to Net::SSLeay::FILETYPE_PEM # spent 5µs making 1 call to Net::SSLeay::VERIFY_NONE # spent 5µs making 1 call to Net::SSLeay::VERIFY_FAIL_IF_NO_PEER_CERT # spent 5µs making 1 call to Net::SSLeay::OP_NO_TLSv1_1 # spent 5µs making 1 call to Net::SSLeay::OP_SINGLE_DH_USE # spent 5µs making 1 call to Net::SSLeay::VERIFY_CLIENT_ONCE # spent 5µs making 1 call to Net::SSLeay::OP_NO_TLSv1 # spent 5µs making 1 call to Net::SSLeay::VERIFY_PEER # spent 4µs making 1 call to Net::SSLeay::OP_ALL # spent 4µs making 1 call to Net::SSLeay::OP_NO_SSLv2 # spent 4µs making 1 call to Net::SSLeay::ERROR_SYSCALL # spent 4µs making 1 call to Net::SSLeay::ERROR_WANT_WRITE # spent 4µs making 1 call to Net::SSLeay::FILETYPE_ASN1 # spent 4µs making 1 call to Net::SSLeay::OPENSSL_VERSION_NUMBER # spent 4µs making 1 call to Net::SSLeay::OP_NO_SSLv3 # spent 4µs making 1 call to Net::SSLeay::OP_NO_TLSv1_2 # spent 4µs making 1 call to Net::SSLeay::OP_SINGLE_ECDH_USE # spent 4µs making 1 call to Net::SSLeay::X509_V_FLAG_TRUSTED_FIRST
- -
400110µs
40113.73ms13.70ms
# spent 3.70ms making 1 call to XSLoader::load
40213µs
40314µs
- -
41113µs
- -
415
- -
431
- -
439
- -
449
# spent 190µs (144+46) within Net::SSLeay::BEGIN@449 which was called: # once (144µs+46µs) by IO::Socket::SSL::BEGIN@19 at line 452
450171µs
# spent 92µs executing statements in string eval
# includes 37µs spent executing 1 call to 2 subs defined therein.
451113µs
4521260µs1190µs
# spent 190µs making 1 call to Net::SSLeay::BEGIN@449
- -
4571134µs
- -
915### Arrange some randomness for eay PRNG
916
917
# spent 314µs (128+186) within Net::SSLeay::randomize which was called: # once (128µs+186µs) by IO::Socket::SSL::init at line 24 of AutoLoader.pm
sub randomize (;$$$) {
91813µs my ($rn_seed_file, $seed, $egd_path) = @_;
91912µs my $rnsf = defined($rn_seed_file) && -r $rn_seed_file;
920
92112µs $egd_path = '';
922110µs $egd_path = $ENV{'EGD_PATH'} if $ENV{'EGD_PATH'};
923
924197µs130µs RAND_seed(rand() + $$); # Stir it with time and pid
# spent 30µs making 1 call to Net::SSLeay::RAND_seed
925
926129µs115µs unless ($rnsf || -r $Net::SSLeay::random_device || $seed || -S $egd_path) {
# spent 15µs making 1 call to Net::SSLeay::CORE:fteread
927 my $poll_retval = Net::SSLeay::RAND_poll();
928 warn "Random number generator not seeded!!!" if $trace && !$poll_retval;
929 }
930
93111µs RAND_load_file($rn_seed_file, -s _) if $rnsf;
93211µs RAND_seed($seed) if $seed;
93312µs RAND_seed($ENV{RND_SEED}) if $ENV{RND_SEED};
9341169µs2140µs RAND_load_file($Net::SSLeay::random_device, $Net::SSLeay::how_random/8)
# spent 127µs making 1 call to Net::SSLeay::RAND_load_file # spent 13µs making 1 call to Net::SSLeay::CORE:fteread
935 if -r $Net::SSLeay::random_device;
936}
937
938# end of Net::SSLeay::randomize
93917µs1;
 
# spent 9µs within Net::SSLeay::BIO_free which was called: # once (9µs+0s) by IO::Socket::SSL::init at line 220 of IO/Socket/SSL.pm
sub Net::SSLeay::BIO_free; # xsub
# spent 11µs within Net::SSLeay::BIO_new which was called: # once (11µs+0s) by IO::Socket::SSL::init at line 207 of IO/Socket/SSL.pm
sub Net::SSLeay::BIO_new; # xsub
# spent 7µs within Net::SSLeay::BIO_s_mem which was called: # once (7µs+0s) by IO::Socket::SSL::init at line 207 of IO/Socket/SSL.pm
sub Net::SSLeay::BIO_s_mem; # xsub
# spent 9µs within Net::SSLeay::BIO_write which was called: # once (9µs+0s) by IO::Socket::SSL::init at line 209 of IO/Socket/SSL.pm
sub Net::SSLeay::BIO_write; # xsub
# spent 29µs within Net::SSLeay::CORE:fteread which was called 2 times, avg 14µs/call: # once (15µs+0s) by Net::SSLeay::randomize at line 926 # once (13µs+0s) by Net::SSLeay::randomize at line 934
sub Net::SSLeay::CORE:fteread; # opcode
# spent 9µs within Net::SSLeay::CORE:match which was called: # once (9µs+0s) by Net::SSLeay::AUTOLOAD at line 387
sub Net::SSLeay::CORE:match; # opcode
# spent 205µs within Net::SSLeay::CORE:subst which was called 20 times, avg 10µs/call: # 20 times (205µs+0s) by Net::SSLeay::AUTOLOAD at line 384, avg 10µs/call
sub Net::SSLeay::CORE:subst; # opcode
# spent 47µs within Net::SSLeay::OpenSSL_add_all_digests which was called: # once (47µs+0s) by IO::Socket::SSL::init at line 199 of IO/Socket/SSL.pm
sub Net::SSLeay::OpenSSL_add_all_digests; # xsub
# spent 44µs within Net::SSLeay::PEM_read_bio_DHparams which was called: # once (44µs+0s) by IO::Socket::SSL::init at line 219 of IO/Socket/SSL.pm
sub Net::SSLeay::PEM_read_bio_DHparams; # xsub
# spent 127µs within Net::SSLeay::RAND_load_file which was called: # once (127µs+0s) by Net::SSLeay::randomize at line 934
sub Net::SSLeay::RAND_load_file; # xsub
# spent 30µs within Net::SSLeay::RAND_seed which was called: # once (30µs+0s) by Net::SSLeay::randomize at line 924
sub Net::SSLeay::RAND_seed; # xsub
# spent 166µs within Net::SSLeay::constant which was called 20 times, avg 8µs/call: # 20 times (166µs+0s) by Net::SSLeay::AUTOLOAD at line 385, avg 8µs/call
sub Net::SSLeay::constant; # xsub
# spent 469µs within Net::SSLeay::library_init which was called: # once (469µs+0s) by IO::Socket::SSL::init at line 196 of IO/Socket/SSL.pm
sub Net::SSLeay::library_init; # xsub
# spent 4.42ms within Net::SSLeay::load_error_strings which was called: # once (4.42ms+0s) by IO::Socket::SSL::init at line 198 of IO/Socket/SSL.pm
sub Net::SSLeay::load_error_strings; # xsub