From owner-freebsd-questions@FreeBSD.ORG Mon Apr 29 11:36:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 742CB8B6 for ; Mon, 29 Apr 2013 11:36:17 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 122C71DD8 for ; Mon, 29 Apr 2013 11:36:16 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id h11so2627010wiv.2 for ; Mon, 29 Apr 2013 04:36:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=7i30k7WrkqlMKH0X+qLxYMA+VJrhC0RHxebr/X+NUlQ=; b=sP/8LrqR7e6Mf8WAsgAp+wXSv5ybhCjh6dx6+y5r2FF2Ak0m0LsVu3yWDkS+I5IH8x y+sx5y9aFzaSPCYgy5Xr5ylYbXjWvS+WRSq+NyVCVYHcgNXlHxPOhGf2DdvBZITIAXzD t7oikI1BhIORApDU9m5Dsjfz1uTJyVhumXtxjzRTmpX+yuQoeWJgK5LK4I6s4D6GiTB+ zP8/8/WMxD01SSllB3o8fSlcal5CxRKbhhOeqTSaqrzJFv/V2VFWmB6r6Htva5IjzQXg +aGMo+7PojAVmrsoP2snuctUY1saZyGPAZzTgFw7Su5Vw+W379zSXWPPNGja2uQE5wWi 42/g== MIME-Version: 1.0 X-Received: by 10.194.177.225 with SMTP id ct1mr2487435wjc.16.1367235376091; Mon, 29 Apr 2013 04:36:16 -0700 (PDT) Received: by 10.194.76.147 with HTTP; Mon, 29 Apr 2013 04:36:16 -0700 (PDT) In-Reply-To: <20130429103600.GA9403@slackbox.erewhon.net> References: <20130429103600.GA9403@slackbox.erewhon.net> Date: Mon, 29 Apr 2013 13:36:16 +0200 Message-ID: Subject: Re: Firefox is so slow From: David Demelier To: Roland Smith Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Apr 2013 11:36:17 -0000 2013/4/29 Roland Smith : > On Mon, Apr 29, 2013 at 11:18:57AM +0200, David Demelier wrote: >> Hi, >> >> I used to love firefox in the early days, when I started using Linux >> around 2003-2004. It was so fast. Now it's just amazing how long does >> it take to start. >> >> On my machine : intel i3 540, 2G of RAM and FreeBSD 9.1 it takes >> around 12 secondes to start. Is it so long for you too? > > Around 2 seconds on an intel core2 quad, 4G RAM, FreeBSD 9.1 amd64. > >> What kind of bloat has been added so it's so big to start.. > > When building firefox from source, I only set the GIO and > OPTIMIZED_CFLAGS options to ON. All other options were set to OFF. > > You could try using Profile Guided Optimizations, but it will make the > build a lot slower. > > Do you have plugins (not add-ons) like java or flash installed? Try > disabling those. > I had DBUS and LOGGING enabled, I also have flash installed, I will try like you with OPTIMIZED_CFLAGS and without other options to see if it helps, Thanks for the hint -- Demelier David