laravel/framework — pull request #6710 by JamShady (2014-12-18 10:00:47+00:00)
Title: [4.2] Limit backtrace frames to return

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.