Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2B380107BF for ; Tue, 21 Jan 2014 08:07:42 +0000 (UTC) Received: (qmail 90509 invoked by uid 500); 21 Jan 2014 08:07:39 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 90309 invoked by uid 500); 21 Jan 2014 08:07:38 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 90301 invoked by uid 99); 21 Jan 2014 08:07:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 08:07:37 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of orwittmann@googlemail.com designates 209.85.215.171 as permitted sender) Received: from [209.85.215.171] (HELO mail-ea0-f171.google.com) (209.85.215.171) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Jan 2014 08:07:32 +0000 Received: by mail-ea0-f171.google.com with SMTP id h10so3550501eak.2 for ; Tue, 21 Jan 2014 00:07:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=JdDqdsdf1bZCNgtIQZ+NuW9SpMf45qEwJwkvz9O3NnE=; b=ykSrU09Umf4ttCNfwmNzuHfoTO5p6uh4qZTN3KBA2xbYmCI3CO6ELfmOMAsCe68Jp1 nRfWnZ0uVyJwLQAVAxsECC+kv623cfZlVZ4FoYMDi1cUr5R1U62U1p+RtyMtHUkM68I3 nplil7QuIY7P1JWf9kSg/K2HP44TJ/g5gKVglYRk78e2o8ycv5LWnudAvTryvObuB/uf 9XaCh1Cth/jsk3RPTGfyt3JvF9uIQ2qXORlfeCWUOhF59AzehIcMRjEaJFniSkkGyRkZ PxO+pRT1eSxndLXzhujOjyaj5eAbiZ7tmA3FQtTdhlm4aQ3l4AZTDTLRyNDqMsn4dkgQ a9FQ== X-Received: by 10.14.37.131 with SMTP id y3mr21859086eea.1.1390291631451; Tue, 21 Jan 2014 00:07:11 -0800 (PST) Received: from [192.168.2.119] (p548CBDC0.dip0.t-ipconnect.de. [84.140.189.192]) by mx.google.com with ESMTPSA id 4sm11875477eed.14.2014.01.21.00.07.10 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:07:11 -0800 (PST) Message-ID: <52DE2AAE.3020301@googlemail.com> Date: Tue, 21 Jan 2014 09:07:10 +0100 From: Oliver-Rainer Wittmann User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: dev@openoffice.apache.org Subject: Re: Precompiled headers References: <52DE285F.2020102@googlemail.com> In-Reply-To: <52DE285F.2020102@googlemail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On 21.01.2014 08:57, Andre Fischer wrote: > Yesterday I was asked whether the use of precompiled headers had any > benefit on the compilation speed. I thought the answer would be yes but > I was not sure. So I did some tests. And the difference is huge. I > compiled sw/ with > > make -sr -j8 > > on a i7 s2720 (2.2GHz), 8GB Ram laptop. > Without precompiled headers that takes a little over 19 minutes. With > precompiled headers that drops down to a little over 10 minutes. That > is a reduction of almost 50%. > I can confirm Andre's findings. That is the reason why I had the precompiled headers enabled in all of my AOO build environments which I use for development under Windows. > Maybe we should think to > a) make the --enable-pch configure switch the default and +1 > b) remove the word "experimental" from its description. +10 Best regards, Oliver. > > Regards, > Andre > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org > For additional commands, e-mail: dev-help@openoffice.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@openoffice.apache.org For additional commands, e-mail: dev-help@openoffice.apache.org