Skip to content

Conversation

@JamShady
Copy link
Contributor

In my (very simple) benchmarks, limiting the number of frames returned sped up the function call by a factor of 4-5x. No sense in pulling back all the frames when we only need the second one.

@GrahamCampbell GrahamCampbell changed the title [4.2] Limit backtrace frames to return [4.2] Limit Backtrace Frames To Return Dec 18, 2014
taylorotwell added a commit that referenced this pull request Dec 18, 2014
@taylorotwell taylorotwell merged commit 3adb726 into laravel:4.2 Dec 18, 2014
@JamShady JamShady deleted the pull-request/micro-optimisation branch December 18, 2014 16:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants