Re: Parallel curl tests

2023-06-08 Thread Dan Fandrich via curl-library
On Thu, Jun 08, 2023 at 05:40:04PM +0200, Daniel Stenberg via curl-library 
wrote:
> Just a few days ago, Dan Fandrich merged the necessary commits into master 
> that now lets us try out running the curl tests in parallel as compared to 
> the old serial way.

It's been a long road of refactoring the test suite to get here, but there are 
finally some visible benefits. The biggest remaining issues to fix before 
enabling it by default have to do with general test flakiness.  Running tests 
in parallel changes test timing significantly, so timing-related test failures 
now occur more often. I've made some improvements in this area recently that 
also benefit sequential tests (one of my recent PRs actually went 
green!) and there are more to come. Still, running tests on your local 
system should usually go fine, so try it out!

I'm also interested in finding out what the optimum number of test runners is, 
so if you experiment on your own system and find the number that reduces 
test times the most, let me know what it is and what CPU you're using 
and I'll use that data to set an optimum value when it's time to enable 
it by default.

Dan
-- 
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html


Parallel curl tests

2023-06-08 Thread Daniel Stenberg via curl-library

Hi friends,

Just a few days ago, Dan Fandrich merged the necessary commits into master 
that now lets us try out running the curl tests in parallel as compared to the 
old serial way.


This can make a test round complete more than twenty times faster than before. 
If your machine is up to it.


  https://daniel.haxx.se/blog/2023/06/08/parallel-curl-tests/

All credits to Dan for the hard work that made this possible. I just write 
about it.


--

 / daniel.haxx.se
 | Commercial curl support up to 24x7 is available!
 | Private help, bug fixes, support, ports, new features
 | https://curl.se/support.html
--
Unsubscribe: https://lists.haxx.se/mailman/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html