This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I see this regression from March. Prepare project - Unpack clucene-core-0.9.21.tar.bz2 - Create project in automatic mode - Set "C++ Standard" = C++11 in Project Properties window - Close IDE Check project - Start IDE with fresh user directory - Open project - Call "Code Assistance|Test Error Highlighting" context menu item ==> Test stops in 'src/CLucene/config/gunichartables.h' files (I think IDE parses this file for a 90 minutes) If I don't change C++ Standard field, then "Test Error Highlighting" test works quickly.
Valera, is this a regression? Does it work in previous IDE versions or with -J-Dapt.use.clank=false?
1) -J-Dapt.use.clank=false doesn't fix test 2) last "good" test run is 2015-03-16 bash-4.1$ cat 150317_050938/..../testErrorHighlightingCluceneCpp11.main.log | grep gunichartables.h Name = clucene_cpp11/src/CLucene/config/gunichartables.h, Errors = 0, Invalid identifiers = 0, Time = 1200.818, Lines = 11264 bash-4.1$ cat 150316_044142/..../testErrorHighlightingCluceneCpp11.main.log | grep gunichartables.h Name = clucene_cpp11/src/CLucene/config/gunichartables.h, Errors = 0, Invalid identifiers = 0, Time = 16.747, Lines = 11264
One more observation: we have the same problem with -J-Dapt.use.clank=false.
(In reply to Vladimir Kvashin from comment #3) Please disregard my previous comment, it concerned another issue. Sorry.
regression after fixing bug #251181
I see two performance problem: 1. Method CsmOffsetResolver.findContext() puts in cache a lot of objects. 2. Method CompletionSupport.tryGetSeparatorFromModel() returns start of offsetable declaration instead of last separator offset.
Created attachment 156469 [details] proposed patch
http://hg.netbeans.org/cnd-main/rev/7de1fef89ec4
Integrated into 'main-silver', will be available in build *201510010328* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/7de1fef89ec4 User: Petr Kudryavtsev <petrk@netbeans.org> Log: Fixed #255548 - inaccuracy tests: IDE can't parse gunichartables.h file for a 30 minutes