Closed Bug 1209865 Opened 9 years ago Closed 9 years ago

Show the marks from |performance.mark| on Gecko profile

Categories

(Core :: DOM: Core & HTML, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla44
Tracking Status
firefox44 --- fixed

People

(Reporter: gweng, Assigned: ting)

References

Details

Attachments

(1 file)

Currently we need to use |console.time| or other ways to show the specific marks on the profiling result, which is not intuitive enough as |performance.mark|. We should implement this.
Attached patch patch v1Splinter Review
Attachment #8667796 - Flags: review?(amarchesini)
Summary: [PerformanceTool] Add a new option to allow marks from |performance.mark| to show on the Gecko profiling result → Show the marks from |performance.mark| on Gecko profile
Component: Performance → DOM
Product: Firefox OS → Core
Attachment #8667796 - Flags: review?(amarchesini) → review+
Assignee: nobody → janus926
Status: NEW → ASSIGNED
Keywords: checkin-needed
We have also Bug 1170314, console.timeStamp.
If this provides similar functionality, Bug 1170314 could be perhaps backed out, since performance.mark is perhaps a tiny bit less odd place to have this kind of side effects.
Is it OK to ask sheriff to backout bug 1170314, or I should make a patch somewhere?
Flags: needinfo?(bugs)
https://hg.mozilla.org/mozilla-central/rev/2c3e1c2fc632
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
Could you still verify with BenWa that the functionality is the same, and if it is, then backing out that other patch/bug should be fine.
Flags: needinfo?(bugs)
The cset on m-c and m-i are empty, seems something wrong with Pulsebot?
Status: RESOLVED → REOPENED
Flags: needinfo?(cbook)
Resolution: FIXED → ---
(In reply to Olli Pettay [:smaug] from comment #8)
> Could you still verify with BenWa that the functionality is the same, and if
> it is, then backing out that other patch/bug should be fine.

It should be the same as both go to PROFILER_MARKER().

BenWa, could you confirm that bug 1170314 has the same functionality (add a marker to gecko profiler) with the patch here? Thank you.
Flags: needinfo?(bgirard)
landed again, seems qimport failed somehow before (no idea why)
Flags: needinfo?(cbook)
It looks like it is indeed duplicate. I'd say we should back bug 1170314 out.
Flags: needinfo?(bgirard)
https://hg.mozilla.org/mozilla-central/rev/561ebe842566
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Depends on: 1213719
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: