public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mark David Dumlao <madumlao@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] firefox-bin optimizations?
Date: Thu, 30 Sep 2010 20:30:53 +0800	[thread overview]
Message-ID: <AANLkTim4nshaLPaTi7fCCobB5U18EHMk1b-B2oS5wJzQ@mail.gmail.com> (raw)
In-Reply-To: <4CA47BEE.8050906@gmx.de>

On Thu, Sep 30, 2010 at 8:00 PM, Johannes Kimmel <johannes.kimmel@gmx.de> wrote:
> On 09/30/2010 12:58 PM, Mark David Dumlao wrote:
>>
>> Heya,
>> I noticed that my firefox-bin is a lot smaller in memory footprint
>> compared to ordinary gentoo-compiled firefox.
>>
>> Does anyone know what compiler flags upstream applies to their
>> firefox? I turned off the custom-optimization USE on mine assuming
>> that it would follow upstream optimizations, but maybe it doesn't.
>>
>
> I thought firefox-bin is a 32-bit binary. If you are using a 64-bit gentoo
> it is likely you self compiled version is a lot bigger.

That's right, firefox-bin is a 32bit binary, but I didn't expect the
Virt size to have a nearly 3x difference (855MB vs 355MB) when loading
the same tabs and running the same profile, or the Res size to have
nearly double (200MB vs 130MB).

Is this a speed vs size tradeoff thing? Because I noticed that my
compiled firefox is doing something like 10-30 points higher in the
google v8 benchmark than firefox-bin. But that's relatively a small
improvement, I think my system would do better overall with the giant
memory use reduction.

Or is there an issue with having both firefoxes using the same profile
dirs (not at the same time though).

-- 
This email is:    [ ] actionable   [ ] fyi        [ ] social
Response needed:  [ ] yes          [ ] up to you  [ ] no
Time-sensitive:   [ ] immediate    [ ] soon       [ ] none



  reply	other threads:[~2010-09-30 12:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-30 10:58 [gentoo-user] firefox-bin optimizations? Mark David Dumlao
2010-09-30 12:00 ` Johannes Kimmel
2010-09-30 12:30   ` Mark David Dumlao [this message]
2010-09-30 19:37     ` [gentoo-user] " walt
2010-09-30 20:36       ` Mark David Dumlao
2010-10-05  5:49       ` Walter Dnes
2010-10-05 13:12         ` Bill Longman
2010-10-05 15:16         ` walt
2010-10-06  3:27           ` Walter Dnes
2010-10-07  4:55             ` Walter Dnes
2010-10-07  7:52               ` William Kenworthy
2010-10-07  7:59                 ` William Kenworthy
2010-10-07  9:03               ` Arttu V.
2010-10-09  5:17                 ` Walter Dnes
2010-10-09 15:53                   ` Arttu V.
2010-10-12  3:19                     ` Walter Dnes
2010-10-14  4:12                     ` Walter Dnes
2010-10-14 14:21                       ` Paul Hartman
2010-10-09 15:54           ` Peter Weilbacher
2010-10-09 15:48         ` Peter Weilbacher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTim4nshaLPaTi7fCCobB5U18EHMk1b-B2oS5wJzQ@mail.gmail.com \
    --to=madumlao@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox