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 211046 - CodeCompletion took 2307 ms.
Summary: CodeCompletion took 2307 ms.
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: CSL (API & infrastructure) (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-04-11 20:14 UTC by szmitek
Modified: 2012-04-18 21:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 186916


Attachments
nps snapshot (15.77 KB, application/nps)
2012-04-11 20:14 UTC, szmitek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description szmitek 2012-04-11 20:14:54 UTC
This bug was originally marked as duplicate of bug 180849, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201203230400)
VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b06, Java(TM) SE Runtime Environment, 1.7.0-ea-b136
OS: Windows 7

User Comments:
szmitek: Writing:
else
{

in PHP script



Maximum slowness yet reported was 2307 ms, average is 2307
Comment 1 szmitek 2012-04-11 20:14:58 UTC
Created attachment 118160 [details]
nps snapshot
Comment 2 Ondrej Brejla 2012-04-12 12:07:10 UTC
I can't see anything strange from PHP point of view...maybe something with Parsing? But not sure :/
Comment 3 Tomas Zezula 2012-04-12 13:23:57 UTC
It's the way PHP uses the CSL each query caused index write, update of persistent error caches and update of persistent index attributes. I've already removed the first two and here comes hopefully the last one.
Comment 4 Svata Dedic 2012-04-16 10:18:42 UTC
I see "just" 1.5sec in the snapshot spent in PHP parsing - actually storing updated timestamps for files (after IDE start ?), so it may be simply an overloaded I/O.
I don't think that much can be done at the Parsing API or CSL levels.
Comment 5 Tomas Zezula 2012-04-16 16:18:58 UTC
Fixed jet-main fadc9435776b
Comment 6 Quality Engineering 2012-04-18 21:27:43 UTC
Integrated into 'main-golden', will be available in build *201204181547* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/fadc9435776b
User: Tomas Zezula <tzezula@netbeans.org>
Log: #211046:CodeCompletion took 2307 ms.