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 239185 - CodeCompletion took 15236 ms.
Summary: CodeCompletion took 15236 ms.
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
: 239184 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-12-06 10:36 UTC by Vladimir Riha
Modified: 2014-01-17 10:35 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205833


Attachments
nps snapshot (151.30 KB, application/nps)
2013-12-06 10:36 UTC, Vladimir Riha
Details
nps snapshot (71.01 KB, application/nps)
2013-12-08 17:57 UTC, everflux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2013-12-06 10:36:50 UTC
This issue was reported manually by obrejla.
It already has 5 duplicates 


Build: NetBeans IDE Dev (Build 201312050002)
VM: Java HotSpot(TM) Client VM, 25.0-b59, Java(TM) SE Runtime Environment, 1.8.0-ea-b117
OS: Linux

User Comments:
vriha: cc in javascript

vriha: CC for angular in html

vriha: invoking cc in JS file

vriha: <Please provide a description of the problem or the steps to reproduce>

vriha: Invoking cc in HTML for AngularJS



Maximum slowness yet reported was 15987 ms, average is 10685
Comment 1 Vladimir Riha 2013-12-06 10:36:53 UTC
Created attachment 142896 [details]
nps snapshot
Comment 2 Ondrej Brejla 2013-12-06 10:37:33 UTC
*** Bug 239184 has been marked as a duplicate of this bug. ***
Comment 3 Ondrej Brejla 2013-12-06 10:38:24 UTC
Increasing priority (Lada set it to P2 in previous issue). Please, evaluate, thanks.
Comment 4 everflux 2013-12-08 17:57:41 UTC
Created attachment 142947 [details]
nps snapshot

detected later
Comment 5 Petah 2013-12-09 20:20:20 UTC
Just FYI, my HDD was < 10% active at the time of http://statistics.netbeans.org/analytics/exception.do?id=703533

(because every one says my file system is slow. it is not!)
Comment 6 Vladimir Riha 2013-12-16 14:47:59 UTC
Could you please evaluate? I'm having problems with basically any code completion (either JS or HTML), Go to Declaration, Ctrl+Click on scr attribute of script tag to open file, code completion for value of src attribute etc. Thank you
Comment 7 everflux 2013-12-16 14:58:31 UTC
I have some times the "lengthy operation in progress" dialog, it shows that Netbeans tries to "lock" a file.
IO seems not to be a problem.
I have serious trouble using the 8.0dev for any html/js work due to this problem.
Comment 8 Vladimir Riha 2013-12-16 15:40:19 UTC
I'd vote for P1 as I think this could be stopper for Beta, it makes editing a larger AngularJS project quite difficult (basically it is editing without code completion) and it seems to me KnockoutJS is also affected.
Comment 9 Petr Pisl 2014-01-06 10:37:47 UTC
We have experimentally switch off a cache at the 3th December. I switched on the cache back. Let me know, whether you noticed some improvement. Thanks
http://hg.netbeans.org/web-main/rev/8acfecce72d3
Comment 10 Vladimir Riha 2014-01-06 12:52:25 UTC
After brief testing, it is way faster, I did the same steps that produces slowness report in "old" build and in latest web-main build, it works much faster without any slowness report.



Product Version: NetBeans IDE Dev (Build web-main-290-on-20140106)
Java: 1.8.0-ea; Java HotSpot(TM) Client VM 25.0-b65
Runtime: Java(TM) SE Runtime Environment 1.8.0-ea-b122
System: Linux version 3.2.0-48-generic-pae running on i386; UTF-8; en_US (nb)
Comment 11 Petr Pisl 2014-01-06 12:54:34 UTC
So I'm closing this issue as fixed, but still I work on the performance.