Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Help me beat NodeJS (sleep)

by tye (Sage)
on Feb 12, 2016 at 20:34 UTC ( [id://1155125]=note: print w/replies, xml ) Need Help??


in reply to Help me beat NodeJS

Parallel::ForkManager adds sleeps by default.

- tye        

Replies are listed 'Best First'.
Re^2: Help me beat NodeJS (sleep)
by rickyw59 (Novice) on Feb 12, 2016 at 20:48 UTC

    Parallel::ForkManager is only sleeping during " $pm->wait_all_children; ", correct? Or are you saying during every fork there is a hard-limit sleep?

        Thanks for the help, I was able to shave 15 seconds off my perl script with both suggestions.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-23 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found