Julien Beasley wrote: > Well at my last job, we had hundreds of test files.. and most of them were > really fast because we wanted to keep the total time to a minimum. Even > then, it took over five minutes to run all of our tests, and that was > getting to be Too Long. So I could definitely see in a case like that that > the overhead of starting a new interpreter for each file would add up
$ time perl -wle 'for (1..$ARGV[0]) { system "perl -e 1" }' 1000 real 0m5.358s user 0m1.328s sys 0m3.474s And that's on my dinky little Macbook. Firing up a new perl interpreter for each test will not be your bottleneck if your tests actually do anything.