From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?P=c3=a1draig_Brady?= Newsgroups: gmane.emacs.devel Subject: Re: builds are getting slower? Date: Tue, 15 Dec 2015 14:23:01 +0000 Message-ID: <56702245.4090500@draigBrady.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1450189416 9770 80.91.229.3 (15 Dec 2015 14:23:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Dec 2015 14:23:36 +0000 (UTC) Cc: emacs-devel@gnu.org To: michael.albinus@gmx.de Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 15 15:23:29 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 1a8qVg-0007Rk-QU for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 15:23:24 +0100 Original-Received: from localhost ([::1]:37094 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8qVg-0003WJ-47 for ged-emacs-devel@m.gmane.org; Tue, 15 Dec 2015 09:23:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58599) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8qVd-0003W9-1b for emacs-devel@gnu.org; Tue, 15 Dec 2015 09:23:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8qVZ-0004Oa-OQ for emacs-devel@gnu.org; Tue, 15 Dec 2015 09:23:20 -0500 Original-Received: from mail1.vodafone.ie ([213.233.128.43]:15346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8qVQ-0004KW-JC for emacs-devel@gnu.org; Tue, 15 Dec 2015 09:23:17 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At4FAKEhcFZtT7k+/2dsb2JhbABegmlRHjRtv0oZhXQCgUFMAQEBAQEBgQuENQIEEhEPAUYbDQ0CBRYLAgsDAgECAUUTCAEBHogRoUSKK4VtjEuBAYRZhXmEWU6CUIFJBZZ8hTmRTJNdY4QEPjQBhHMBAQE Original-Received: from unknown (HELO localhost.localdomain) ([109.79.185.62]) by mail1.vodafone.ie with ESMTP; 15 Dec 2015 14:23:02 +0000 Original-References: X-Enigmail-Draft-Status: N1110 In-Reply-To: 87fuz43z9x.fsf@gmx.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.233.128.43 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:196303 Archived-At: I noticed you mentioned inotify tests were slow on emacs. tail(1) tests in coreutils had the same issue, and when fixed it identified harder to hit race bugs within tail as well as greatly speeding up the test runs as shown below: $ time make -j8 check TESTS="..." real 0m4.886s user 0m5.375s sys 0m4.565s ======================================================= Testsuite summary for GNU coreutils 8.24.107-e369f ======================================================= # TOTAL: 29 # PASS: 28 # SKIP: 1 The main technique used in those tests was a truncated exponential back-off mechanism, which allows for faster operation in the normal case, but will add extra delays where required. See the use of retry_delay_(): git.sv.gnu.org/gitweb/?p=coreutils.git;a=blob;f=init.cfg;h=e4309ae5;hb=HEAD#l628 cheers, Pádraig.