Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Socket slowdown when using two separate print statements

by suaveant (Parson)
on May 06, 2011 at 16:02 UTC ( [id://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
Domain Nodelet?
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?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2024-04-19 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found