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

John McCall rjmccall at apple.com
Thu Jun 20 18:22:53 PDT 2013


On 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.

That's odd if true.  This test is quite small compared to some IR-gen tests, and those tend to have many more regexps than this.  Is it possible that there's poor performance on some specific regexp or set of regexps?

John.



More information about the cfe-commits mailing list