Closed Bug 1334375 Opened 7 years ago Closed 7 years ago

time stamp for "minimize memory usage" in about:memory

Categories

(Toolkit :: about:memory, enhancement)

enhancement
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla54
Tracking Status
firefox54 --- verified

People

(Reporter: bugzilla.mozilla.org, Assigned: n.nethercote)

Details

Attachments

(1 file)

Currently, you get a message of "Memory minimization completed" when clicking the "minimize memory usage" button in about:memory.  This takes a few seconds.  When you click it again it is unclear if the minimization has already finished or not.  It would be nice to add a time stamp to the completion message to make it clear if the process has finished or not.
Component: Untriaged → about:memory
Product: Firefox → Toolkit
Version: unspecified → Trunk
Specifically, after: "GC", "CC, "Minimize memory usage", "Measure and save",
and "Save DMD output".

Example: "Memory minimization completed (2017-02-02T00:32:41.607Z)".
Attachment #8832700 - Flags: review?(erahm)
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Comment on attachment 8832700 [details] [diff] [review]
Add a timestamp to some about:memory messages

Review of attachment 8832700 [details] [diff] [review]:
-----------------------------------------------------------------

r=me We don't need to update tests do we?

::: toolkit/components/aboutmemory/content/aboutMemory.js
@@ +139,5 @@
>  var SHOW_FOOTER = 1;
>  
> +// Values for the |aShowTimestamp| argument to updateTitleMainAndFooter.
> +var NO_TIMESTAMP = 0;
> +var SHOW_TIMESTAMP = 1;

These could be |const|.
Attachment #8832700 - Flags: review?(erahm) → review+
https://hg.mozilla.org/mozilla-central/rev/cc9a42d772cf
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0) Gecko/20100101 Firefox/54.0
Build ID 	20170203030204

The issue is no longer reproducible on the latest Nightly.
Awesome, thank you!
(In reply to Ciprian Muresan [:cmuresan] from comment #5)
> User Agent 	Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:54.0)
> Gecko/20100101 Firefox/54.0
> Build ID 	20170203030204
> 
> The issue is no longer reproducible on the latest Nightly.

Updating status flags.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: