Optomizing/caching simpletest?
Posted: Mon Aug 08, 2005 10:54 pm
I think something is wrong. The tests seem to take about 2 minutes to run, regardless of the number of tests cases (1 single runner versus the top level All.php). The application itself loads almost instantaneously.
Looking at the process monitor I see that I have 1.5GB of free RAM, and processor load is about 30% on one processor, other processor is basically un-touched. I'm running locally on a Dual 2.7GHz PowerMac with 2.5GB RAM.
Any idea as to what's causing the overhead with simpletest? (I could understand if there were an appreciable difference between single test versus all tests that the reflection for finding test methods could be slightly slow, but it should scale....)
Looking at the process monitor I see that I have 1.5GB of free RAM, and processor load is about 30% on one processor, other processor is basically un-touched. I'm running locally on a Dual 2.7GHz PowerMac with 2.5GB RAM.
Any idea as to what's causing the overhead with simpletest? (I could understand if there were an appreciable difference between single test versus all tests that the reflection for finding test methods could be slightly slow, but it should scale....)