CMakeChecker takes unusually long time to run Requested by dglazkov on #webkit.
Not sure why, but when I modify CMakeLists, the check-webkit-style sits there for seconds. It's a beefy machine. It shouldn't do that.
Related commit - http://trac.webkit.org/changeset/137057 .
I've experienced this when doing this patch: https://bugs.webkit.org/attachment.cgi?id=187386&action=review
The problem is that a bunch of regualr expressions is compiled for every line. Caching them (like we do in the cpp checker fixes it). This is done in bug 121764.
Created attachment 212595 [details] Patch
Comment on attachment 212595 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212595&action=review > Tools/Scripts/webkitpy/style/checkers/common.py:46 > + """Matches the string with the pattern, caching the compiled regexp.""" These comments are pretty useless.
Committed r156403: <http://trac.webkit.org/changeset/156403>