all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Splitting some erc tests
@ 2022-05-24 19:11 Lars Ingebrigtsen
  2022-05-24 19:59 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-24 19:11 UTC (permalink / raw)
  To: emacs-devel@gnu.org

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




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-25 12:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-24 19:11 Splitting some erc tests Lars Ingebrigtsen
2022-05-24 19:59 ` Stefan Monnier
2022-05-25  1:13   ` Lars Ingebrigtsen
2022-05-25  2:17     ` Stefan Monnier
2022-05-25 12:02       ` Lars Ingebrigtsen

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.