Christian Jaeger wrote:
chris@novo:~$ time perl -we 'defined(fork) or die; for(1..10000000) { $z++ } print "$z\n"; wait'10000000 10000000 real 0m0.766s user 0m0.768s sys 0m0.000s
Sorry, this number should have been (I did forget the wait call first and then added it without also giving the new timing results):
chris@novo:~$ time perl -we 'defined(fork) or die; for(1..10000000) { $z++ } print "$z\n"; wait'
10000000 10000000 real 0m0.640s user 0m1.256s sys 0m0.008s