Adding an extra loop for the no of cores brought an speed improvement of the parallel execution of 100%.
Time parallel execution
real 0m0.312s, user 0m0.304s, sys 0m0.052s
Time serial exection
real 0m0.324s, user 0m0.272s, sys 0m0.031s
In reply to Re^3: No Performance gain with Parallel::ForkManager
by walto
in thread No Performance gain with Parallel::ForkManager
by walto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |