From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Splitting some erc tests Date: Tue, 24 May 2022 21:11:35 +0200 Message-ID: <87wneag2zc.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16860"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) To: "emacs-devel@gnu.org" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 24 21:28:54 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntaD5-0004An-JY for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 21:28:51 +0200 Original-Received: from localhost ([::1]:58218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ntaD4-00051O-IS for ged-emacs-devel@m.gmane-mx.org; Tue, 24 May 2022 15:28:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41060) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntZwk-0003w4-8l for emacs-devel@gnu.org; Tue, 24 May 2022 15:11:58 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:56638) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ntZwZ-0008UH-CT for emacs-devel@gnu.org; Tue, 24 May 2022 15:11:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From: Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zSpTGd3PbR7+9XO++TtUyeBHwXNW8Ik7ot6ZYSYTRn0=; b=W/Ylt1gL3w6OYjh/WfynATqNyM RGHC+Se4vRwkJZxHFGog5OE2BhRtxQ8nPb1LkRlVAGHMNMZTwn0AeA3W2CyHezUM0NS8HpbEE9jO3 UA03dDHtw27heJyCvmlN1KCRmDi3P3xJd37Uz7Pc8lbkbilKyVgHZYherCB6bwFSRHYo=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ntZwP-0001Tj-Bw for emacs-devel@gnu.org; Tue, 24 May 2022 21:11:40 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEW8iFuhakhNMCL/ //8VqXvHAAAAAWJLR0QDEQxM8gAAAAd0SU1FB+YFGBMFOvSfkuEAAAGuSURBVCjPJZKxbtswGISP huRBk2yIhuO5BZo+hRREnsmAJ0DaCoRB7KdogDSzHJgeNLUBHNh6yv5UFoGf7ngi/xNUmicAaBxu gDSuoY0rV4AIpUIqoIECSa5KOmcIRVU4VfMYgSW+M6EEJBr7YfQuYbAGGt14Hpky0ICoqt6TvmJV 1qgfgoClp6vBCF6TLCSNYSerOpAajsGL1gZDUWzYny15ls9H2PlrNzizCdOep8/9eDreitIInH6O wzprYrTYnj6757nYHk7e+91pGPZTAP2SV9Yd0RwCj/MQ6BpRRoEVQ8sgAfuxup/LFcgG6Wrs85V9 oWYrEC5utXht9aSEjZvxVadyUIGse7dH/S0VZRm27Ye93j6XDTA7bC8f9u3mR5zo3ct2OFVv2T8Z IpaHbcjer7OgIoSsLkyx/JPuZE+/0S5XWzkL5OqXos6xhm6B+fhXSnKP0EGay0W1dz3moiBPxZqJ xQmUcd+jWBzUBJXUqgyMilDGxgmX3H9ZxQcnL7AwEWUg6aGAnUCKpFnD/p7+GenHUdv+l+aiFCAX tl8gj6BjkpGHGL+gMjH5P3nWk6blh64mAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTI0VDE5 OjA1OjU4KzAwOjAwm/eeUQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yNFQxOTowNTo1OCsw MDowMOqqJu0AAAAASUVORK5CYII= X-Now-Playing: Thomas Dolby's _Astronauts & Heretics_: "Silk Pyjamas" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290209 Archived-At: Some of the erc test files have a lot more tests than others, or have a lot of tests that take a bit of time. For instance, doing comp-tests takes 40 seconds on my build machine, and tramp takes 30 seconds. But here's the thing: All the other tests, in total, clock in at under 20 seconds, because the machine has a lot of CPUs, and those other bits run in parallel. So I wondered -- has anybody given any thought to "internal" parallelism in (some) test files? We obviously don't want to rearrange the test files themselves, but perhaps there's something simple we could do here. Like... have a SELECTOR that says "run the Xth 20% of the tests", perhaps? And then we can fire off 5 Emacsen to do 20% each. The tests are supposed to be independent of each other, but are they always in practice? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no