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

Re: Perl's poor disk IO performance

by BrowserUk (Patriarch)
on Apr 29, 2010 at 19:57 UTC ( [id://837646]=note: print w/replies, xml ) Need Help??


in reply to Perl's poor disk IO performance

Change open (FILE, "$path") to open (FILE, '<:raw', "$path").

On my system, with that change, your code reading 10MB, takes .38 seconds.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 00:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found