Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Making this script process 56,000 lines 5 times faster

by sundialsvc4 (Abbot)
on Mar 22, 2018 at 02:08 UTC ( #1211479=note: print w/replies, xml ) Need Help??


in reply to Making this script process 56,000 lines 5 times faster

Frankly, I’m not too sure that the original script can be meaningfully improved upon.   The time-consuming part of the process (networking, and so on ...) is being handled by curl, and the output is then being fairly-insignificantly filtered by awk in a way that awk can handle just-as-well as anyone could.   The determinant of execution-speed in this scenario is, entirely, “the remote site.”

  • Comment on Re: Making this script process 56,000 lines 5 times faster

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2019-07-20 17:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?