Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Faster Method for Gathering Data

by Abigail-II (Bishop)
on Jul 31, 2003 at 12:07 UTC ( [id://279538]=note: print w/replies, xml ) Need Help??


in reply to Faster Method for Gathering Data

And how fast is the equivalent find command? Do something like:
$ time find dir1 dir2 dir3 -name '*.sgml' > /dev/null

If that also takes hours, the problem isn't at your Perl program.

Abigail

Replies are listed 'Best First'.
Re: Re: Faster Method for Gathering Data
by ChrisS (Monk) on Jul 31, 2003 at 12:49 UTC
    If the requester isn't on Unix, would wrapping the appropriate system("") call with some code to store the start and finish time be useful?

    Maybe the Benchmark module?

    I don't know, just wanted to see if such a strategy might be worthwhile.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (5)
As of 2024-04-24 04:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found