in reply to system "gzip $full_name" is taking more time

90,000 files will take more than 2 hours that’s true. I was comparing gzip task with unlink task. I will update scripts as suggested by you all. I will also check the bench mark as suggested by kcott. Thanks.

  • Comment on Re: system "gzip $full_name" is taking more time

Replies are listed 'Best First'.
Re^2: system "gzip $full_name" is taking more time
by Laurent_R (Canon) on Dec 07, 2013 at 18:26 UTC
    Zipping a file will generally take more time than deleting it, often much more time, especially if the file is large. But this has nothing to do with Perl, this will also be true if you doing it manually under your shell (or under Windows, for that matter).