[Patch, PR 61720] Clear regex BFS match queue after every iteration

Jonathan Wakely jwakely@redhat.com
Wed Jul 9 08:23:00 GMT 2014


On 09/07/14 10:10 +0200, Paolo Carlini wrote:
>Hi,
>
>On 07/09/2014 10:08 AM, Jonathan Wakely wrote:
>>All the 28_regex tests run as part of the same target:
>>
>>         normal7) \
>>           dirs="`cd $$srcdir; echo 26_*/* 28_*/[c-z]*`";; \
>>
>>I've tried moving the 26_numeric tests to a different target but it
>>doesn't make much difference, the regex tests still take longer than
>>any other target. We could try splitting up the 28_regex tests across
>>two targets, but the fact is that it takes 2-5 seconds to compile any
>>test using std::regex, so the more tests we add the slower the
>>testsuite gets.
>I'm not an expert in this area, but my guess is indeed that it would 
>be beneficial to split up 28_regex across multiple targets, why not 
>more than 2, I would try 4 for example.
>
>In general, I agree it would certainly make sense grouping the tests, 
>but not all in a single file! Anyway, let's fix this bug first.

I can't actually reproduce the bug with trunk.



More information about the Libstdc++ mailing list