Re: Pux - High Performance PHP Router

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Jan 7, 2014, at 11:37 PM, Sebastian Krebs <krebs.seb@xxxxxxxxx> wrote:

> 2014/1/7 Lin Yo-an <cornelius.howl@xxxxxxxxx>
> 
> 
> Thats what I wanted to tell you: You benchmark a single, very trivial case. For this case (as mentioned) I don't need a router at all, but thats not the point of a router. Of course both implementations can do more and thats what most interest: How do they behave in something similar to "real world" scenarios :)

If the minimal test case does not show the different, then we will need a complex sample to test them.

The minimal test case already shows the huge difference, so there is no much need to test a complex test case actually.

I added more benchmarks for Klein.php, Ham, and Aura. 

Aura is the second fastest router. but Pux is still faster 2.5x than Aura router:

https://github.com/c9s/router-benchmark/blob/master/code/dispatch.txt

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux