Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[6.x] Speed up runningInConsole method #30922
This code is actually quite hot, since it's called by most (package) service providers.
The new code is faster because:
I detected this optimization when profiling a Laravel app with xdebug tracing btw. ;)