Just moving the discussion from here: https://github.com/zendframework/zend-expressive/issues/500
After some tests today, a xdebug profiler shown that it took 33ms to process que code in zend-expressive, what is pretty good vs 261ms to process the Agavi code.
Even xdebug showing that zend-expressive was 8x faster, it was ~2x slower than agavi in an ab test (3020ms vs 6150ms). For the zend-expressive part, 6.1s was spent in “processing”, not “waiting” or “connecting”. The same difference was present in a request without database access.
Any idea what could be influencing the difference?