Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Socket slowdown when using two separate print statements

by suaveant (Parson)
on May 06, 2011 at 16:02 UTC ( #903408=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/idcom/bin/perl
    use IO::Socket::INET;
    ...
            print tv_interval( $t0, [gettimeofday] ),"\n";
        }   
    }
    
  2. or download this
    func=mbs_descriptive&type=&secid=313627KM2
    0.000259
    ...
    4.2e-05
    func=mbs_descriptive&type=&secid=313627KM2
    4.2e-05
    
  3. or download this
            print {$s} "func=mbs_descriptive&type=";
            print {$s} "&secid=313627KM2\n";
    
  4. or download this
    func=mbs_descriptive&type=&secid=313627KM2
    0.000181
    ...
    0.039891
    func=mbs_descriptive&type=&secid=313627KM2
    0.040025
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://903408]
Approved by toolic
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2020-07-07 12:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?