Skip to content

Commit 9f52228

Browse files
committed
minor #36972 [WebProfilerBundle] changed label of memory usage in time 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)
2 parents a4f8a49 + a91204a commit 9f52228

File tree

1 file changed

+1
-1
lines changed
  • src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Collector/time.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class TimelineEngine {
9494

9595
createLabel(name, duration, memory, period) {
9696
const label = this.renderer.createText(name, period.start * this.scale, this.labelY, 'timeline-label');
97-
const sublabel = this.renderer.createTspan(` ${duration} ms / ${memory} Mb`, 'timeline-sublabel');
97+
const sublabel = this.renderer.createTspan(` ${duration} ms / ${memory} MiB`, 'timeline-sublabel');
9898

9999
label.appendChild(sublabel);
100100

0 commit comments

Comments
 (0)