As part of the Snappy project, we have worked to create a new branch called
"profiling", with nightly updates. tl;dr: if you are a developer, and you
profile Firefox, you want to run these builds instead of the regular
nightly builds.
=== What is this branch? ===
The profiling branch is a copy of mozilla-central, with --enable-profiling
added in the mozconfigs, which causes the builds on that branch to have
frame pointers enabled, which enables us to get useful stacks when
profiling. In other words, profiling is mozilla-central + this patch: <
https://hg.mozilla.org/projects/profiling/rev/5d1a84af644e>.
=== How do I switch to this branch? ===
You should download a nightly from <
http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-profiling/>.
Builds will get updated for you automatically. I have a cron job enabled
to merge stuff which lands on mozilla-central to the profiling branch, so
the regular nightlies and the profiling nightlies should be built from the
same code, but with different configurations.
=== How do I get code landed on this branch? ===
This branch is not open for anybody to land code on. If you want your code
on this branch, please land it on mozilla-central (or mozilla-inbound) and
it will be merged to profiling for you. If you want to do things which
only happen on builds with frame pointers, you should make your code
conditional on #ifdef MOZ_PROFILING.
=== How do I get profiling builds locally ===
You should add "ac_add_options --enable-profiling" to your mozconfig.
> As part of the Snappy project, we have worked to create a new branch called
> "profiling", with nightly updates. tl;dr: if you are a developer, and you
> profile Firefox, you want to run these builds instead of the regular
> nightly builds.
> === What is this branch? ===
> The profiling branch is a copy of mozilla-central, with --enable-profiling
> added in the mozconfigs, which causes the builds on that branch to have
> frame pointers enabled, which enables us to get useful stacks when
> profiling. In other words, profiling is mozilla-central + this patch: <
> https://hg.mozilla.org/projects/profiling/rev/5d1a84af644e>.
> === How do I switch to this branch? ===
> You should download a nightly from <
> http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-profiling/>.
> Builds will get updated for you automatically. I have a cron job enabled
> to merge stuff which lands on mozilla-central to the profiling branch, so
> the regular nightlies and the profiling nightlies should be built from the
> same code, but with different configurations.
> === How do I get code landed on this branch? ===
> This branch is not open for anybody to land code on. If you want your code
> on this branch, please land it on mozilla-central (or mozilla-inbound) and
> it will be merged to profiling for you. If you want to do things which
> only happen on builds with frame pointers, you should make your code
> conditional on #ifdef MOZ_PROFILING.
> === How do I get profiling builds locally ===
> You should add "ac_add_options --enable-profiling" to your mozconfig.
On Fri, Jan 6, 2012 at 5:01 PM, Chris AtLee <cat...@mozilla.com> wrote:
> On 06/01/12 04:45 PM, Ehsan Akhgari wrote:
>> Given that we now have these regular shark builds that update, is there
>>> any reason to continue to do the nightly shark builds on other branches?
>> For mozilla-central, no. For other branches, perhaps, depending on
>> whether
>> people use those builds...
>> What other branches are we talking about?
> We have shark builds on mozilla-central, mozilla-aurora, mozilla-beta and
> mozilla-1.9.2!
> On Fri, Jan 6, 2012 at 5:01 PM, Chris AtLee <cat...@mozilla.com> wrote:
>> On 06/01/12 04:45 PM, Ehsan Akhgari wrote:
>>> Given that we now have these regular shark builds that update, is there
>>>> any reason to continue to do the nightly shark builds on other branches?
>>> For mozilla-central, no. For other branches, perhaps, depending on
>>> whether
>>> people use those builds...
>>> What other branches are we talking about?
>> We have shark builds on mozilla-central, mozilla-aurora, mozilla-beta and
>> mozilla-1.9.2!