Re: Parallelised run-tests.php (patch)

From: Date: Tue, 10 Oct 2017 12:09:08 +0000
Subject: Re: Parallelised run-tests.php (patch)
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-100849@lists.php.net to get a copy of this message
On So, 2017-10-08 at 04:47 +0100, Andrea Faulds wrote: > Have you long since ABANDONED every test directory besides > Zend/tests? ... or ran only eext/foo/tests ;) > …*ahem*. Okay, enough terrible salesmanship. I felt like > parallelising  > run-tests.php, so I did it. If you give it the flag -jX, it'll spawn > X  > worker processes and throw batches at tests at them, and those > worker  This is cool! I also see (from very very very) short look on the github diff that you have a parallelization protection for some tests, which might share resources. Very good! Kind of unrelated: Somewhere on my 10+ years old todo list I also have the item of using FastCGI or similar for running tests to avoid running tthrough MINIT/MSHUTDOWN for each and every test (for some we can'T avoid due to ini requirements, but well) maybe a less hackish way for parallelizing might be using fpm workers and async io (just to spin the idea, maybe somebody takes it up ...) johannes

« previous php.internals (#100849) next »