Closed Bug 1795779 Opened 2 years ago Closed 2 years ago

AutoProfilerImagePaintMarker ctor always calls TimeStamp::Now()

Categories

(Core :: Graphics: ImageLib, defect)

defect

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox-esr102 --- wontfix
firefox106 --- wontfix
firefox107 --- fixed
firefox108 --- fixed

People

(Reporter: smaug, Assigned: tnikkel)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

TimeStamp::Now() is rather slow and the call shows up in the performance profiles for example when running 'leaves' part of MotionMark

Assignee: nobody → tnikkel
Status: NEW → ASSIGNED
Pushed by tnikkel@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/c6f757b147b5 Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r=smaug

Set release status flags based on info from the regressing bug 1704103

Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch

The patch landed in nightly and beta is affected.
:tnikkel, is this bug important enough to require an uplift?

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox107 to wontfix.

For more information, please visit auto_nag documentation.

Flags: needinfo?(tnikkel)

Comment on attachment 9298932 [details]
Bug 1795779. Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r?smaug

Beta/Release Uplift Approval Request

  • User impact if declined: small perf fix
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): small change to only make calls needed by the profiler when it is active
  • String changes made/needed:
  • Is Android affected?: Yes
Flags: needinfo?(tnikkel)
Attachment #9298932 - Flags: approval-mozilla-beta?

Comment on attachment 9298932 [details]
Bug 1795779. Don't call TimeStamp::Now for the profiler every time an image is drawn if the profiler isn't active. r?smaug

Approved for 107.0b3.

Attachment #9298932 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: