We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From my understanding, the awesome route caching improvements from Laravel has yet to be implemented into the Lumen project.
It would be nice to have this for Lumen as well.
Related: laravel/framework#31188
The text was updated successfully, but these errors were encountered:
I swapped out FastRoute\simpleDispatcher with FastRoute\cachedDispatcher and ran:
FastRoute\simpleDispatcher
FastRoute\cachedDispatcher
for ($i = 0; $i < 800; $i++) { $router->get('/test-'.$i.'/{foo}', 'TestController'); }
...with the following controller:
class TestController extends Controller { public function __invoke($foo) { return 'Invoked - '.$foo; } }
...and command:
ab -t 10 -c 1 http://127.0.0.1/test-799/foo
And here are the average requests per second:
Sorry, something went wrong.
We have no plans to change the router in Lumen.
No branches or pull requests
From my understanding, the awesome route caching improvements from Laravel has yet to be implemented into the Lumen project.
It would be nice to have this for Lumen as well.
Related: laravel/framework#31188
The text was updated successfully, but these errors were encountered: