Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

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

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use strict;
    ...
    
    $elapsed = tv_interval($t0);
    print "regex: $elapsed\n" if $benchmark;
    
  2. or download this
    # threads: init data before spawning
    
    ...
    real   0m31.510s
    user  12m26.168s
    sys    0m10.089s
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found