Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Help me beat NodeJS (sleep)

by Mr. Muskrat (Canon)
on Feb 12, 2016 at 21:02 UTC ( [id://1155129]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Help me beat NodeJS (sleep)
in thread Help me beat NodeJS

Read http://search.cpan.org/~yanick/Parallel-ForkManager-1.17/lib/Parallel/ForkManager.pm#BLOCKING_CALLS and then try this to see if it helps:

#!/usr/local/bin/perl use strict; use warnings; use Parallel::ForkManager; my $pm = new Parallel::ForkManager(24); $pm->set_waitpid_blocking_sleep(0); ...

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

    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://1155129]
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: (4)
As of 2024-04-25 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found