Skip to content

Commit

Permalink
Fix a label to make it more accurate (firefox-devtools#1601)
Browse files Browse the repository at this point in the history
The allocated_bytes field represents the heap capacity before the GC
begins.
  • Loading branch information
PaulBone authored and julienw committed Jan 8, 2019
1 parent f7a938c commit 32558fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/shared/MarkerTooltipContents.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ function getMarkerDetails(
)}
{_markerDetail(
'gcusage',
'Heap usage',
'Heap size',
timings.allocated_bytes,
formatBytes
)}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ Array [
<div
className="tooltipLabel"
>
Heap usage
Heap size
:
</div>
46.1MB
Expand Down

0 comments on commit 32558fb

Please sign in to comment.