Skip to content
New issue

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

Display memory usage #297

Merged
merged 5 commits into from
May 31, 2021
Merged

Display memory usage #297

merged 5 commits into from
May 31, 2021

Conversation

stillzombie
Copy link
Contributor

@stillzombie stillzombie commented May 28, 2021

Since the Laravel documentation does not provide how to check for memory leaks, many developers will opt in to use the Laravel debug bar, but i found out that the debug bar it has a memory leak itself, so displaying the memory usage besides the duration of each request will help to easy spot memory leaks without external tools.

Since the Laravel documentation does not provide how to check for memory leaks, many developers will opt in to use the Laravel debug bar but i found out that the debug bar it has a memory leak, so displaying the memory usage as well as the duration will help to easy spot, memory leaks without external tools.
@taylorotwell taylorotwell merged commit 67a90f0 into laravel:1.x May 31, 2021
@driesvints
Copy link
Member

This PR broke the test suite.

@nunomaduro
Copy link
Member

@driesvints On it.

@stillzombie
Copy link
Contributor Author

stillzombie commented May 31, 2021

Sorry guys my bad, for the assertEquals on the test_request() function: 1 extra space needs to be removed and also the display of the 500 request. the mb needs to be updated from '23.46' to '28.43'. I will be more careful while opening pr.

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.

4 participants