[cfe-commits] r168098 - in /cfe/trunk/test/Index: annotate-comments.cpp comment-to-html-xml-conversion.cpp

Dmitri Gribenko gribozavr at gmail.com
Thu Jun 20 09:48:46 PDT 2013


On Thu, Jun 20, 2013 at 12:49 AM, Dmitri Gribenko <gribozavr at gmail.com> wrote:
> On Thu, Jun 20, 2013 at 12:43 AM, Chandler Carruth <chandlerc at google.com> wrote:
>>
>> On Thu, Nov 15, 2012 at 2:03 PM, Dmitri Gribenko <gribozavr at gmail.com>
>> wrote:
>>>
>>> Author: gribozavr
>>> Date: Thu Nov 15 16:03:13 2012
>>> New Revision: 168098
>>>
>>> URL: http://llvm.org/viewvc/llvm-project?rev=168098&view=rev
>>> Log:
>>> Split annotate-comments.cpp into a fragile (that uses hardcoded line
>>> numbers)
>>> and a non-fragile (that uses [[@LINE]]) parts.
>>>
>>> Added:
>>>     cfe/trunk/test/Index/comment-to-html-xml-conversion.cpp
>>
>>
>> Hey Dmitri,
>>
>> I've no real idea why (it doesn't look that big), but this test is one of
>> the slowest for me taking over 20 seconds. Do you see the same? Any ideas
>> why?
>
> Hi Chandler,
>
> Yes, this is a known problem that I don't know how to fix, though.
> The reason is FileCheck being slow on many CHECK lines with regexps.

But I can certainly split this test into two, so that each one runs in
half the original time.

Dmitri

--
main(i,j){for(i=2;;i++){for(j=2;j<i;j++){if(!(i%j)){j=0;break;}}if
(j){printf("%d\n",i);}}} /*Dmitri Gribenko <gribozavr at gmail.com>*/



More information about the cfe-commits mailing list