Skip to content

Conversation

Lozik
Copy link
Contributor

@Lozik Lozik commented Apr 24, 2020

Q A
Branch? 3.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Fix #36533
License MIT
Doc PR none

This PR changes the label of the peak memory usage from MB into MiB in the time and memory panels of the web profiler, as discussed in #36533.

The changed file Resources/views/Collector/time.html.twig is completely updated by commit symfony/web-profiler-bundle@c9433b0 for v4.3. So for correctly displaying the label in 4.4 (& 5.0), the file Resources/views/Collector/time.js needs to be updated.

@nicolas-grekas nicolas-grekas added this to the 3.4 milestone Apr 26, 2020
@nicolas-grekas
Copy link
Member

Thank you @Lozik.

@nicolas-grekas nicolas-grekas merged commit 048e6f3 into symfony:3.4 Apr 26, 2020
@Lozik Lozik deleted the ticket_36533 branch April 26, 2020 16:18
fabpot added a commit that referenced this pull request May 26, 2020
…e panel (Mb into MiB) (Lozik)

This PR was merged into the 4.4 branch.

Discussion
----------

[WebProfilerBundle] changed label of memory usage in time panel (Mb into MiB)

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

This PR fixes the memory usage labels in the time panel of the web profiler for 4.4+. PR #36571 already fixed this for 3.4 but since the time panel has been rewritten in 4.3, that minor fix has not correctly been transferred into 4.4+.

Commits
-------

a91204a [WebProfilerBundle] changed label of memory usage in time panel (Mb into MiB)
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.

7 participants