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.
Created attachment 95040 [details] snapshot available if it helps According to tests code completion after < regressed from 120-130ms to 170-180ms first usage and from ~70ms to 140-150ms subsequent usage. http://aventurine.russia.sun.com:8080/PerformanceDashboard/atomicResult.jsp?projectId=5&buildNumber=201003081350&suiteName=Actions&resultName=testAllTags&resultClassname=org.netbeans.performance.web.actions.JSPCompletionInJspEditorTest&resultThreshold=1000&resultUnit=ms&history=50 Actually other similar tests like cc after <%@page, <%@include file=, etc. haven't regressed.
The regression started from build 201002140200, Marku do you have any idea what could have caused it (as far as I can tell it was none of my changes)
It's hard to say what could caused this especially if there's only a few tests. For example I couldn't find similar test for x/html which is my first suspection and which would help if the problem is JSP or HTML related. Both completion providers are involved on < completion. In any case I reckon this is the html editor problem and can be either related with some html indexing related work or rather with a changes in jsf.editor module. But can be caused also by something completely different :-). I quickly glanced over the changes around this date but found nothing striking my eyes.
It's likely caused by some of the changes in EL support. The JsfElCompletionProvider$CCQuery.query() creates a new instance of JsfElExpression() which accesses JsfSupport.findFor(doc).getWebBeansModel(). I reckon this may take some time. None of these actions are needed if the completion is not in EL contenxt though. I'll add a fast precheck for EL tokens at the completion offset.
web-mai#319db6b9ac2f should help, please reopen if the times are still bad.
the fix caused a serious regression: the EL code completion doesn't work if invoked just before the closing } delimiter. So #{|} or #{bean.|} doesn't work (| == caret)http://netbeans.org/bugzilla/show_bug.cgi?id=181842#
the regression fixed in web-main#e957a871678e I was quite surprised that tokenHierarchy.embeddedTokenSequences(...) won't return the embedded token sequence if there's an empty embedding at the given offset. Milo, is this intentional or bug?
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ User: Log:
Hi Oleg, can you please confirm whether or not this is fixed? I see that in the monthly performance report, there is still regression compared to NB 6.8. Thanks.
according to recent measurements there are no improvements http://aventurine.russia.sun.com:8080/PerformanceDashboard/atomicResult.jsp?projectId=6&buildNumber=201005170932&suiteName=Actions&resultName=testAllTags&resultClassname=org.netbeans.performance.web.actions.JSPCompletionInJspEditorTest&resultThreshold=1000&resultUnit=ms