Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: How Could I Speed Up An Archive Script?

by waswas-fng (Curate)
on Jun 22, 2004 at 15:25 UTC ( #368762=note: print w/ replies, xml ) Need Help??


in reply to How Could I Speed Up An Archive Script?

As stated here, The tradeoff is usually compression size or speed. The default is level 6, you can drop that to 1 to make compressing faster at the cost of zip file size. You should also investigate where the bottleneck is -- it could be disk, memory or CPU. Usually compressing bangs on the CPU more so then disk or memory.



-Waswas


Comment on Re: How Could I Speed Up An Archive Script?
Replies are listed 'Best First'.
Re^2: How Could I Speed Up An Archive Script?
by Chankey Pathak (Novice) on Jan 30, 2013 at 06:48 UTC
    Thanks. I had the same problem and your advice helped me to speed up zip creation process :)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (8)
As of 2015-07-08 02:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls