"be consistent" | |
PerlMonks |
Re^2: perl process slower and slower when loop number increaseby Anonymous Monk |
on Jan 22, 2018 at 12:05 UTC ( [id://1207661]=note: print w/replies, xml ) | Need Help?? |
you can count startup time like this, just do nothing:
perl always have faster startup time but if using $i = 100000000 where perl 7secs vs PHP 1.6secs, then the problem is not startup time the "problem" is on perl loop, or there limit of the loop number that perl "want" to handle, thats why, I try to ask how to set the loop limit. (maybe system limit or some ENV)
in my vps, seem the limit is about 100k, beyond this, perl start slowing
In Section
Seekers of Perl Wisdom
|
|