Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: CGI Benchmarks

by chromatic (Archbishop)
on Jan 23, 2001 at 22:39 UTC ( [id://53759]=note: print w/replies, xml ) Need Help??


in reply to CGI Benchmarks

Unless you're printing out megabytes of data, it's not likely to make a difference.

However, if you disable buffering with $| and print a number of small lines, it will be slower than printing most of a document at once. This, of course, depends on the buffer size of your OS and on such things as packet size. Your web server may also intercept data instead of allowing you to write to a raw socket.

This is one of the last things I would worry about optimizing. You're more likely to get better speed out of using Fast CGI or mod_perl than you are switching from printing a list to printing a here-doc.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://53759]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-26 01:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found