Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Announcing the profiling branch

112 views
Skip to first unread message

Ehsan Akhgari

unread,
Jan 5, 2012, 2:34:41 PM1/5/12
to dev-pl...@lists.mozilla.org
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.

If you have questions, please let me know!

Cheers,
--
Ehsan
<http://ehsanakhgari.org/>

Boris Zbarsky

unread,
Jan 5, 2012, 3:10:35 PM1/5/12
to
On 1/5/12 2:34 PM, Ehsan Akhgari wrote:
> The profiling branch is a copy of mozilla-central, with --enable-profiling
> added in the mozconfigs

Have we considered also adding --enable-shark? I'd use the existing
shark nightlies, but they have no update channel....

-Boris

Ehsan Akhgari

unread,
Jan 5, 2012, 3:18:29 PM1/5/12
to Boris Zbarsky, dev-pl...@lists.mozilla.org
If you can verify that --enable-shark doesn't break anything these days,
I'd be happy to take a patch!

--
Ehsan
<http://ehsanakhgari.org/>

Ehsan Akhgari

unread,
Jan 5, 2012, 3:36:30 PM1/5/12
to Boris Zbarsky, dev-pl...@lists.mozilla.org
On Thu, Jan 5, 2012 at 3:18 PM, Ehsan Akhgari <ehsan....@gmail.com>wrote:

> On Thu, Jan 5, 2012 at 3:10 PM, Boris Zbarsky <bzba...@mit.edu> wrote:
>
> If you can verify that --enable-shark doesn't break anything these days,
> I'd be happy to take a patch!
>

This is done now: https://hg.mozilla.org/projects/profiling/rev/4e08bb648d27

--
Ehsan
<http://ehsanakhgari.org/>

Benoit Jacob

unread,
Jan 5, 2012, 10:20:21 PM1/5/12
to Ehsan Akhgari, dev-pl...@lists.mozilla.org
Amazing how a small change like that can have such a big effect!

I've often punted on profiling out of laziness to make a
--enable-profiling build. No longer!

Benoit

2012/1/5 Ehsan Akhgari <ehsan....@gmail.com>:
> 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.
>
> If you have questions, please let me know!
>
> Cheers,
> --
> Ehsan
> <http://ehsanakhgari.org/>
> _______________________________________________
> dev-platform mailing list
> dev-pl...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/dev-platform

Chris AtLee

unread,
Jan 6, 2012, 4:31:19 PM1/6/12
to
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?

Ehsan Akhgari

unread,
Jan 6, 2012, 4:45:41 PM1/6/12
to Chris AtLee, dev-pl...@lists.mozilla.org
On Fri, Jan 6, 2012 at 4:31 PM, Chris AtLee <cat...@mozilla.com> wrote:

> On 05/01/12 03:36 PM, Ehsan Akhgari wrote:
>
>> On Thu, Jan 5, 2012 at 3:18 PM, Ehsan Akhgari<ehsan.akhgari@gmail.**com<ehsan....@gmail.com>
>> >wrote:
>>
>> On Thu, Jan 5, 2012 at 3:10 PM, Boris Zbarsky<bzba...@mit.edu> wrote:
>>>
>>> On 1/5/12 2:34 PM, Ehsan Akhgari wrote:
>>>>
>>>> The profiling branch is a copy of mozilla-central, with
>>>>> --enable-profiling
>>>>> added in the mozconfigs
>>>>>
>>>>>
>>>> Have we considered also adding --enable-shark? I'd use the existing
>>>> shark nightlies, but they have no update channel....
>>>>
>>>>
>>> If you can verify that --enable-shark doesn't break anything these days,
>>> I'd be happy to take a patch!
>>>
>>>
>> This is done now: https://hg.mozilla.org/**projects/profiling/rev/**
>> 4e08bb648d27 <https://hg.mozilla.org/projects/profiling/rev/4e08bb648d27>
>>
>
> 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?

--
Ehsan
<http://ehsanakhgari.org/>

Chris AtLee

unread,
Jan 6, 2012, 5:01:24 PM1/6/12
to
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!

Ehsan Akhgari

unread,
Jan 6, 2012, 5:09:05 PM1/6/12
to Chris AtLee, dev-pl...@lists.mozilla.org
Does anybody use the last three in the list?

--
Ehsan
<http://ehsanakhgari.org/>

Christian Legnitto

unread,
Jan 6, 2012, 7:09:06 PM1/6/12
to Ehsan Akhgari, Chris AtLee, dev-pl...@lists.mozilla.org
I think if they were ever needed we would:

a) Use the older m-c shark builds to track down when the issue came in
b) Do one off shark builds locally

So I say we can turn those all off IMHO, but if anyone is using them please feel free to chime in.

On Jan 6, 2012, at 2:09 PM, Ehsan Akhgari wrote:
> Does anybody use the last three in the list?
>
> --
> Ehsan
> <http://ehsanakhgari.org/>

kibotrekkin...@gmail.com

unread,
Mar 20, 2013, 8:40:22 AM3/20/13
to dev-pl...@lists.mozilla.org
Bushmen Safari

Camping Safari

Mountain Trekking

Testimonials

You will be taken 2000ft down the crater by a 4wheel drive vehicle, explore the crater before ascending back...


Day 6: 6:00 am. Sunrise game drive looking for predators, then drive to the heart of Serengeti.


The Marangu Route is the main route and by far the most popular .... Accommodation is also the "best".


Where to stay? What to do? How far in advance to plan? You have questions, we have answers.
Tanzania safari specialists

It's with much pleasure introduce ourselves....
Kibo Trekking Adventures is a reliable tour operator and Travel agency in Tanzania, with our head office based in Arusha Tourist City and with a branch Dar es Salaam Chief Pride Kisutu. Our main object is to offer a Personalized, Efficient and Competitive Service to our esteemed customers.
We offer Safaris (tour travels) to Northern and Southern National Parks / Game reserves in Tanzania. We also provide specially Tailor-made itineraries as per our Customers’ requirements in the:
Northern Circuit: Arusha National Park, Ngorongoro Conservation Area, the Serengeti, Lake Eyasi, Lake Natron Oldonyo Lengai and Lake Manyara. Tarangire National Parks.
Southern Circuit: Selous Game reserve, Mikumi National Park and Ruaha National Park that are in Tanzania.
Hiking treks to the “ROOF OF AFRICA” with its own team of guides and porters to Mt. Kilimanjaro, Mt. Meru & Usambara Mountains.


Walking safaris with Armed Ranger, Eco & Culture Tourism is also available upon your request.
We undertake all bookings on behalf of our clients of Hotels / Flights – International & Domestic based In and Out of East Africa.
Kibo Trekking Adventures also offers tour packages to the Spice Islands of Zanzibar, Pemba, Mafia, and the whole coast region, including Bagamoyo Slave town, Pangani and Saadani Game reserve / Mkomazi game reserve. “KONEYMOON” and “BEACH HOLIDAYS”.
Packages are available to suit the clients’ needs.
We undertake all types of Hotel, Lodges, and Flights bookings – inclusive of International & Domestic based In and Out of East Africa
Kibo Trekking Adventures operates all its Safaris with a Fleet of fully Equipped 4X4 Vehicles with HF Radio Communication, fully packed First aid kits, Pop-up roof / Photographic Roof for Superb Game viewing. Also, our Driver-Guides are Bi-linguistic and highly Experienced and Knowledgeable in the world of FLORA / FAUNA.
Join Hills of Africa on Facebook Follow Hills of Africa on Twitter See us on YouTube Bookmark and Share/
www.kibotrekking.com
0 new messages