Closed c9s closed 9 years ago
Hi @tyler-sommer, can you take a look? Thanks!
Thanks for this, @c9s. Sorry about my slow response, I'll take a look at this over the weekend!
Thanks! No worries, sorry for bothering you in this way
Tyler Sommer notifications@github.com 於 2015年9月12日 星期六寫道:
Thanks for this, @c9s https://github.com/c9s. Sorry about my slow response, I'll take a look at this over the weekend!
— Reply to this email directly or view it on GitHub https://github.com/tyler-sommer/php-router-benchmark/pull/10#issuecomment-139669839 .
This PR setups a router benchmark for php-r3 http://github.com/c9s/php-r3
Worst-case matching
This benchmark matches the last route and unknown route. It generates a randomly prefixed and suffixed route in an attempt to thwart any optimization. 1,000 routes each with 9 arguments.
This benchmark consists of 6 tests. Each test is executed 1,000 times, the results pruned, and then averaged. Values that fall outside of 3 standard deviations of the mean are discarded.