Skip to content

[HttpKernel] compress files generated by the profiler #33698

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

Merged
merged 1 commit into from
Sep 25, 2019

Conversation

nicolas-grekas
Copy link
Member

@nicolas-grekas nicolas-grekas commented Sep 25, 2019

Q A
Branch? 4.4
Bug fix? no
New feature? yes
Deprecations? no
Tickets #33006
License MIT
Doc PR -

I've recently seen several reports of fastly growing profiler storages. Let's compress them when possible.

Locally for the skeleton homepage, a single profile goes from 150k to 15k. Level 3 is producing significant compression ratio while being measurably faster than level 6 (the default), that's why I'm using it.

@fabpot
Copy link
Member

fabpot commented Sep 25, 2019

Thank you @nicolas-grekas.

fabpot added a commit that referenced this pull request Sep 25, 2019
…(nicolas-grekas)

This PR was merged into the 4.4 branch.

Discussion
----------

[HttpKernel] compress files generated by the profiler

| Q             | A
| ------------- | ---
| Branch?       | 4.4
| Bug fix?      | no
| New feature?  | yes
| Deprecations? | no
| Tickets       | #33006
| License       | MIT
| Doc PR        | -

I've recently seen several reports of fastly growing profiler storages. Let's compress them when possible.

Locally for the skeleton homepage, a single profile goes from 150k to 15k. Level 3 is producing significant compression ratio while being measurably faster than level 6 (the default), that's why I'm using it.

Commits
-------

08f9470 [HttpKernel] compress files generated by the profiler
@fabpot fabpot merged commit 08f9470 into symfony:4.4 Sep 25, 2019
@ostrolucky
Copy link
Contributor

Won't this negatively affect dev performance?

@nicolas-grekas
Copy link
Member Author

CPU are much faster than storages nowadays. It will even save significant I/O.

@nicolas-grekas nicolas-grekas deleted the gz-profiles branch September 30, 2019 14:33
@nicolas-grekas nicolas-grekas modified the milestones: next, 4.4 Oct 27, 2019
This was referenced Nov 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants