700mb is with debugging information (this is not the same as -DDEBUG
build). We can strip debugging information while retaining a symbol tables.
For fennec this made packaged xul go from 16.3MB to 18.8MB (+2.5MB) an
unpackaged xul (on the phone) go from 29MB to 44MB (+15MB)[1]. It's not a
trivial increase but it's not 700 Mb.

Otherwise we just have to upload the symbols to the symbol server and add
code to query the symbols when profiling. We also need to implement an
versioning system for XUL. That would have no impact to what we ship but
we'd need to modify the build script and have the symbol servers ready to
handle this data.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=788680


On Tue, Apr 8, 2014 at 2:57 PM, Dave Hylands <[email protected]> wrote:

> Pulling from the phone probably won't be an option.
>
> unstripped libxul.so is about 700 Mb (for a non-debug emulator build).
> Most of our phones don't have enough space to store anything that big.
>
> We'd need to have these on a server someplace and be able to pull from the
> server.
>
> Dave Hylands
>
> ----- Original Message -----
> > From: "Benoit Girard" <[email protected]>
> > To: "James Burke" <[email protected]>
> > Cc: "fxos-perf" <[email protected]>, "Dave Huseby" <
> [email protected]>, [email protected]
> > Sent: Tuesday, April 8, 2014 11:43:39 AM
> > Subject: Re: [b2g] a proposal on one tool to rule them all
> >
> > All that needed for that is to ship these builds without stripping the
> > symbols (like we already do for mac/linux/fennec nightlies) and to modify
> > profile.sh to support pulling all the information from the phone.
> >
> >
> > On Tue, Apr 8, 2014 at 2:10 PM, James Burke < [email protected] > wrote:
> >
> >
> >
> > On Mon, Apr 7, 2014 at 10:34 AM, Dave Huseby < [email protected] >
> wrote:
> > > Thoughts? I would really like to get some feedback on this. If we
> > > think this is a good idea, it will dominate the perf dev-tools effort
> > > for the foreseeable future as it would be a tool useful for both
> Mozilla
> > > engineers (e.g. fxos-perf team, gaia team, etc) and 3rd party app
> > > developers.
> >
> > One thing that also might help make the whole perf capture easier to
> > do today, without needing to expand the tooling:
> >
> > It would be nice to have a way to get symbols for use in the
> > profile.sh workflow without needing to do a local build myself.
> > Perhaps provide them as an option for engineering pvt builds.
> >
> > For some of us gaia developers, needing to maintain a local build of
> > b2g on a laptop (plus the extra hitches if using latest OS X) means it
> > is enough of a barrier that I have not done it recently, but at the
> > same time have wanted to do some perf captures.
> >
> > James
> > _______________________________________________
> > dev-b2g mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
> >
> > _______________________________________________
> > dev-b2g mailing list
> > [email protected]
> > https://lists.mozilla.org/listinfo/dev-b2g
> >
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to