Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^7: Script exponentially slower as number of files to process increases

by marioroy (Prior)
on Jan 28, 2023 at 18:38 UTC ( [id://11149994]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $subdircount = $maxforks - 1;
    
  2. or download this
    ########################################################
    # threads, mod: init data after spawning threads
    ...
    
    -rw-r--r-- 1 mario mario 471M Jan 28 12:51 data.dat
    
  3. or download this
    $ time ../threads.pl 
    Parsing 61441 files
    ...
    real  0m4.100s
    user  2m3.994s
    sys   0m0.880s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (7)
As of 2024-03-28 21:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found