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 188870 - Long checking for external changes
Summary: Long checking for external changes
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: REGRESSION
: 188990 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-22 14:36 UTC by Tomas Pavek
Modified: 2010-07-29 11:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Self profiling snapshot (15.28 KB, application/octet-stream)
2010-07-22 14:36 UTC, Tomas Pavek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2010-07-22 14:36:09 UTC
Created attachment 100986 [details]
Self profiling snapshot

Checking for external changes now takes much longer than it used to (e.g. compared to 6.9.1). Most of the time it shows as "Suspended" in the progress bar, moving forward by little steps only from time to time. Even if the IDE is left idle, not doing anything.

Build 20100721000
Comment 1 Jesse Glick 2010-07-22 14:54:57 UTC
I work on Ubuntu and see the same thing in dev builds. The IDE constantly shows this task, but suspended, and does not actually refresh - even when the computer is completely idle. Eventually this became so annoying I was forced to disable automatic checking.
Comment 2 vaites 2010-07-27 08:52:11 UTC
Same issue with Debian GNU/Linux 5.0, NetBeans IDE 6.9 (Build 201006111053) and Java 1.6.20. I have fasts disks and IDE still freezes. NetBeans eats lots of CPU during this checks.
Comment 3 Jaroslav Tulach 2010-07-28 07:36:13 UTC
core-main#3039ddfd40a9
Comment 4 Quality Engineering 2010-07-29 03:17:07 UTC
Integrated into 'main-golden', will be available in build *201007290001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/3039ddfd40a9
User: Jaroslav Tulach <jtulach@netbeans.org>
Log: #188870: Checking siblings on all events is too slow
Comment 5 Jaroslav Tulach 2010-07-29 07:31:19 UTC
*** Bug 188990 has been marked as a duplicate of this bug. ***
Comment 6 Petr Jiricka 2010-07-29 08:58:13 UTC
A question - would it help to get rid of multi-file dataobjects? If I understand the patch correctly, the code does something special for multi-file objects; if all dataobjects only had one file, could there be some performance optimizations which would speed up the IDE?
Comment 7 Jaroslav Tulach 2010-07-29 11:19:09 UTC
Rewriting all data loaders to UniFileLoader might render this kind of mistake insignificant.
Comment 8 Tomas Pavek 2010-07-29 11:41:30 UTC
Verified in 201007290001, seems working well.