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.

Bug 234179 - Code completion in JavaScript editor slower than in 7.3.1
Summary: Code completion in JavaScript editor slower than in 7.3.1
Status: VERIFIED DUPLICATE of bug 233815
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-08-09 12:17 UTC by Jiri Skrivanek
Modified: 2013-09-16 08:07 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2013-08-09 12:17:43 UTC
Code completion in JavaScript editor is significantly slower than in NetBeans 7.3.1. Test case is the following (ignore failures in GlassFish setup):

ant -f performance
ant -f performance/languages test -Dtest.includes=**/ScriptingCodeCompletionInEditorTest.class

7.4 results:

#####  Results for testCC_InJavaScriptEditor   #####
#####        [1751ms, 593ms, 677ms, 599ms, ]
####################################################

7.3.1 results:

#####  Results for testCC_InJavaScriptEditor   #####
#####        [942ms, 317ms, 363ms, 339ms, ]
####################################################


Product Version: NetBeans IDE Dev (Build web-main-11294-on-20130808)
Java: 1.7.0_40-ea; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-ea-b37
System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Comment 1 Petr Hejl 2013-08-12 12:07:38 UTC
Isn't it actually a duplicate of issue #233815? The more accurate type resolution is the slower it is :(
Comment 2 Jiri Skrivanek 2013-08-19 13:17:09 UTC
With "Perform full type resolution" disabled numbers are better. So, what with it?

#####  Results for testCC_InJavaScriptEditor   #####
#####        [566ms, 331ms, 369ms, 304ms, ]
####################################################
Comment 3 Jiri Skrivanek 2013-09-16 08:07:04 UTC
Fixed in 233815.

*** This bug has been marked as a duplicate of bug 233815 ***