[Xapian-tickets] [Xapian] #767: Make testcases using different backends run in parallel
Xapian
nobody at xapian.org
Tue May 9 10:27:57 BST 2023
#767: Make testcases using different backends run in parallel
------------------------------+-------------------------------------
Reporter: Guruprasad Hegde | Owner: Guruprasad Hegde
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Test Suite | Version: git master
Severity: normal | Resolution:
Keywords: | Blocked By:
Blocking: | Operating System: All
------------------------------+-------------------------------------
Comment (by Olly Betts):
Here are the timings - saving was actually jut under 11% for 4-way
parallelism. This was on x86 with eatmydata and without valgrind (just so
the runs didn't take so long). `/proc/cpuinfo` reports 8 CPUs, but I
think it's really 4 + hyperthreading.
{{{
time make check -sj4 VALGRIND= AUTOMATED_TESTING=1
real 2m26.917s
user 1m8.072s
sys 0m36.666s
time make check -sj2 VALGRIND= AUTOMATED_TESTING=1
real 2m29.914s
user 1m8.009s
sys 0m36.334s
time make check -s VALGRIND= AUTOMATED_TESTING=1
real 2m44.534s
user 1m8.860s
sys 0m37.316s
}}}
Also notable is that there's not much speed up from 2 to 4 processes.
User and system time is reassuringly similar across the runs too.
--
Ticket URL: <https://trac.xapian.org/ticket/767#comment:10>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list