Closed
Bug 979947
Opened 11 years ago
Closed 11 years ago
Engineering Builds of B2G should enable profiling by default
Categories
(Core :: Gecko Profiler, defect, P1)
Tracking
()
RESOLVED
FIXED
1.4 S3 (14mar)
People
(Reporter: mchang, Assigned: mchang)
References
Details
(Keywords: perf, Whiteboard: [c=automation p=1 s= u=])
Attachments
(1 file, 2 obsolete files)
|
55 bytes,
patch
|
mwu
:
review+
|
Details | Diff | Splinter Review |
Currently, to get a profiling build, the .userconfig needs MOZ_PROFILING=1. Change it so that if someone is building an engineering build, MOZ_PROFILING is already enabled.
| Assignee | ||
Comment 2•11 years ago
|
||
Enables the profiler by default on engineering builds. Shouldn't affect performance unless we're already running the profiler.
Attachment #8386981 -
Flags: review?(mwu)
| Assignee | ||
Comment 3•11 years ago
|
||
Onto the gonk-misc repo! Thanks for the pointer.
Attachment #8386981 -
Attachment is obsolete: true
Attachment #8386981 -
Flags: review?(mwu)
Attachment #8387113 -
Flags: review?(mwu)
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [c=automation p=2 s= u=] → [c=automation p=1 s= u=]
| Assignee | ||
Comment 4•11 years ago
|
||
Another one that just enables profiling. I've never heard of B2G_PROFILING before, but I looked in configure.in. --enable-profiling exports MOZ_PROFILING=1, so we don't need MOZ_PROFILING anywhere. Good eye!
Attachment #8387113 -
Attachment is obsolete: true
Attachment #8387113 -
Flags: review?(mwu)
Attachment #8387961 -
Flags: review?(mwu)
Comment 5•11 years ago
|
||
(In reply to Mason Chang [:mchang] from comment #4)
> Another one that just enables profiling. I've never heard of B2G_PROFILING
> before, but I looked in configure.in.
Setting B2G_PROFILING already includes --enable-profiling, see here:
https://github.com/mozilla-b2g/gonk-misc/blob/1788b0e3fb119501d34a5df537bd5614d5f16546/default-gecko-config#L49
This is what people have been relying on until now IIRC.
Comment 6•11 years ago
|
||
Comment on attachment 8387961 [details] [diff] [review]
https://github.com/mozilla-b2g/gonk-misc/pull/155/files
Looks good.
Attachment #8387961 -
Flags: review?(mwu) → review+
| Assignee | ||
Comment 7•11 years ago
|
||
Thanks! Landed in gonk-misc - 266bca6e60dad43e395f38b66edabe8bdc882334
| Assignee | ||
Updated•11 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•