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 173278 - Invoking insert-tab took 4318 ms.
Summary: Invoking insert-tab took 4318 ms.
Status: RESOLVED FIXED
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: Localhistory (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@versioncontrol
URL: http://statistics.netbeans.org/except...
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-09-29 14:51 UTC by Filip Zamboj
Modified: 2009-10-15 13:32 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 159232


Attachments
nps snapshot (10.26 KB, bin/nps)
2009-09-29 14:51 UTC, Filip Zamboj
Details
nps snapshot (36.64 KB, bin/nps)
2009-10-08 12:42 UTC, Exceptions Reporter
Details
nps snapshot (12.10 KB, bin/nps)
2009-10-09 17:25 UTC, jmichelberger
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Filip Zamboj 2009-09-29 14:51:44 UTC
This issue was originally marked as duplicate of issue 171571, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE 6.8 Beta (Build 200909281634)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Linux, 2.6.28-15-generic, amd64

User Comments:
fzamboj: pressed tab while in debugging session that stopped on breakpoint.


Maximum slowness yet reported was 4318 ms, average is 4318
Comment 1 Filip Zamboj 2009-09-29 14:51:49 UTC
Created attachment 88521 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2009-09-29 15:10:44 UTC
Waiting for 4 seconds on one call of java.io.File.
Comment 3 Ondrej Vrabec 2009-09-29 15:11:09 UTC
sorry, one call of java.io.File.isFile
Comment 4 Tomas Stupka 2009-09-29 18:51:03 UTC
looks really like one io.file.isFile() took 4s. not sure if there is something we could do in such a case.

other thing is that there are attempts to get the LH interceptor even in cases when file won't be handled at all - e.g.
the beforeEdit event as in this case. In other words - we still have some potential to optimize
Comment 5 Exceptions Reporter 2009-10-07 21:03:23 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159232
Comment 6 Exceptions Reporter 2009-10-08 12:42:03 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4040-on-091003)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 

Maximum slowness yet reported was 11703 ms, average is 6420
Comment 7 Exceptions Reporter 2009-10-08 12:42:18 UTC
Created attachment 89089 [details]
nps snapshot
Comment 8 Exceptions Reporter 2009-10-08 12:42:23 UTC
This issue already has 6 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159232
Comment 9 jmichelberger 2009-10-09 17:25:00 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4010-on-090930)
VM: Java HotSpot(TM) Client VM, 14.2-b01, Java(TM) SE Runtime Environment, 1.6.0_16-b01
OS: Windows XP, 5.1, x86

User Comments: 

Maximum slowness yet reported was 59765 ms, average is 14041
Comment 10 jmichelberger 2009-10-09 17:25:05 UTC
Created attachment 89213 [details]
nps snapshot
Comment 11 Exceptions Reporter 2009-10-09 17:25:11 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=159232
Comment 12 Quality Engineering 2009-10-09 22:55:23 UTC
Integrated into 'main-golden', will be available in build *200910091401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2d1bcc3eb3f8
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #173278: Invoking insert-tab took 4318 ms.
Adding logs.
Comment 13 Tomas Stupka 2009-10-15 13:32:09 UTC
local history isn't retrieved if the file event isn't handled by it - #59513c45cadb

and made the synchronization in VersioningManager more flexible in scope of - #604b33d32fbd - was the cause for some
other snapshots.

fixed