46 points · by blasdel · 16y ago · 9 comments
It is practically impossible for a benchmark to cover all the special cases and what-ifs. If a benchmark doesn't cover the corner case that you want, fix it.
Every benchmark that is too small will be criticized as a not doing anything useful, and every benchmark that is too big will be criticized as too polluted by external factors.
The closest we can get to useful metrics is looking at large-scale sites that handle high load in the so-called "real-world". These usually take the form of experiential stories which, incidentally, is how most knowledge is shared.
The solution is more stories, not a fancier benchmark.
No benchmark or special server is going to prevent your code from being bad. So make your code be not bad.
PHP also has language-level isolation from request to request, but extensions are still long lived and require the process to be killed in some cases when they misbehave.