From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: builds are getting slower? Date: Tue, 15 Dec 2015 13:12:26 +0000 Message-ID: <874mfj6ekl.fsf@russet.org.uk> References: <8337vab7nx.fsf@gnu.org> <0d7fkmdxj1.fsf@fencepost.gnu.org> <566D0BEB.4010707@cs.ucla.edu> <52wpsif21j.fsf@fencepost.gnu.org> <6tpoy9aorv.fsf@fencepost.gnu.org> <83fuz54sfk.fsf@gnu.org> <566F5371.7010506@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1450185184 2593 80.91.229.3 (15 Dec 2015 13:13:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2015 13:13:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 15 14:12:56 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8pPU-0001XO-42 for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 14:12:56 +0100 Original-Received: from localhost ([::1]:36844 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8pPS-0000Ry-Ug for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 08:12:54 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8pP9-0000Qw-V8 for emacs-devel@gnu.org; Tue, 15 Dec 2015 08:12:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8pP4-0003kZ-DH for emacs-devel@gnu.org; Tue, 15 Dec 2015 08:12:35 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:37347) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8pP4-0003kN-7N for emacs-devel@gnu.org; Tue, 15 Dec 2015 08:12:30 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1a8pP1-0002b0-Dk; Tue, 15 Dec 2015 13:12:27 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1a8pP0-0006b6-Tl; Tue, 15 Dec 2015 13:12:26 +0000 In-Reply-To: <566F5371.7010506@cs.ucla.edu> (Paul Eggert's message of "Mon, 14 Dec 2015 15:40:33 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196299 Archived-At: Paul Eggert writes: > John Wiegley wrote: >> Which part of this is "make", and which "make check"? Are you doing a >> bootstrap build, or a "clean" build? > > When I reproduced the small part of the performance regression on Fedora > x86-64 (the part that's been fixed since then, on emacs-25), I did this: > > ./autogen.sh > ./configure CFLAGS='-g3 -O0' > make -j5 > time make bootstrap > > So there's no 'make check', just a 'make bootstrap'. > > 'make check' is so slow that I normally don't run it these days. We should do > what coreutils does, and run the expensive tests only if > RUN_EXPENSIVE_TESTS=yes is in the environment. coreutils has three categories > of expensiveness, but Emacs could probably get by with two for now. When you get to master, make check-maybe should be pretty quick (although not from bootstrap) now. In the ideal world, it would be nice to include this in the pre-commit hook, although that might be impractical in the short term. Phil