Subject: | Encoding is too slow, not usable |
When using a MIME::Entity, uploading a 3M file takes 25 minutes (not usable) if I encode, but is quite quick if I use 'binary'. The profile is below. It would be better not to use the IO::Scaler methods if possible.
Thanks;
Judith
Total Elapsed Time = 1251.234 Seconds
User+System Time = 1137.806 Seconds
Exclusive Times
%Time ExclSec CumulS #Calls sec/call Csec/c Name
97.4 1109. 1109.2 50928 0.0218 0.0218 IO::Scalar::print
0.69 7.874 10.148 49848 0.0002 0.0002 IO::ScalarArray::getline
0.53 6.038 5.919 48338 0.0001 0.0001 MIME::QuotedPrint::encode_qp
0.16 1.769 2.335 49983 0.0000 0.0000 IO::ScalarArray::eof
0.12 1.370 1.121 99561 0.0000 0.0000 IO::ScalarArray::_eos
0.11 1.307 1126.9 135 0.0097 8.3481
MIME::Decoder::QuotedPrint::encode_it
0.10 1.160 1.159 304 0.0038 0.0038 Socket::inet_aton
0.07 0.820 6.497 48338 0.0000 0.0001 MIME::Decoder::QuotedPrint::encode_qp_really
0.06 0.649 0.687 162 0.0040 0.0042 PLM::Archive::Tar::_grep_files
0.04 0.510 0.508 912 0.0006 0.0006 IO::Handle::blocking
0.04 0.420 0.419 304 0.0014 0.0014 IO::Socket::socket
0.04 0.420 1.529 2970 0.0001 0.0005 SOAP::SOM::_traverse
0.04 0.410 0.409 547 0.0007 0.0007 IO::Handle::syswrite
0.04 0.408 5.231 304 0.0013 0.0172 LWP::Protocol::http::request
0.03 0.380 0.595 2025 0.0002 0.0003 Mail::Header::_fmt_line