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
I have just three Groups with a couple routes in each. With xdebug on it takes around 1.5 sec to register Routes.
System: win10 + wsl2 + docker Spiral: 3.6.1 Spiral/Router: 3.5 PHP: 8.1.14 xDebug: 3.2
win10 + wsl2 + docker
3.6.1
3.5
8.1.14
3.2
File: Spiral/Router/GroupRegistry method: registerRoutes
Spiral/Router/GroupRegistry
registerRoutes
Dump in Buggregator shows:
I checked times in RouteGroup::register method: try/catch block takes: 0.02 sec setRoute call also around 0.02 sec Total: around 0.07-0.1sec PER ROUTE
RouteGroup::register
try/catch
0.02 sec
setRoute
0.07-0.1sec
As I have 17 different routes, each per 0.1sec delay is 17 * 0.1 ~ 1.5sec per each request.
17 * 0.1 ~ 1.5sec
Without xdebug the picture is like this:
Question: any way to speed up with xdebug?
The text was updated successfully, but these errors were encountered:
butschster
No branches or pull requests
I have just three Groups with a couple routes in each.
With xdebug on it takes around 1.5 sec to register Routes.
System:
win10 + wsl2 + docker
Spiral:
3.6.1
Spiral/Router:
3.5
PHP:
8.1.14
xDebug:
3.2
File:
Spiral/Router/GroupRegistry
method:registerRoutes
Dump in Buggregator shows:
I checked times in
RouteGroup::register
method:try/catch
block takes:0.02 sec
setRoute
call also around0.02 sec
Total: around
0.07-0.1sec
PER ROUTEAs I have 17 different routes, each per 0.1sec delay is
17 * 0.1 ~ 1.5sec
per each request.Without xdebug the picture is like this:
Question: any way to speed up with xdebug?
The text was updated successfully, but these errors were encountered: