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 218909 - Accessing file system in EDT: hover history menu item
Summary: Accessing file system in EDT: hover history menu item
Status: RESOLVED DUPLICATE of bug 223507
Alias: None
Product: versioncontrol
Classification: Unclassified
Component: History (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 218138
  Show dependency tree
 
Reported: 2012-09-24 13:09 UTC by Egor Ushakov
Modified: 2013-01-28 13:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (3.77 KB, text/plain)
2012-09-24 13:10 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2012-09-24 13:09:59 UTC
steps to reproduce:
- I do not have any repository
- have opened a project
- clicked on Team main menu item
- selected History
And got 2 accesses to file system from EDT, which could freeze UI if slow NFS
file system is used. See stacktrace attached.
Comment 1 Egor Ushakov 2012-09-24 13:10:22 UTC
Created attachment 124808 [details]
stacktrace
Comment 2 Tomas Stupka 2012-10-25 19:30:37 UTC
there was no slowness report in the actions 5 years existence. this is just hypothetical. lets deal with it when the real need appears.
Comment 3 Egor Ushakov 2012-10-26 17:00:47 UTC
AFAIK slowness detector is set to detect more than 2 seconds delay. I think that for main menu even 1 second it too much. And most probably not many people use the menu for nfs mounted projects.
Comment 4 Egor Ushakov 2012-10-31 17:07:05 UTC
please look at the http://statistics.netbeans.org/analytics/detail.do?id=176199
Comment 5 Tomas Stupka 2012-11-15 16:19:25 UTC
> please look at the http://statistics.netbeans.org/analytics/detail.do?id=176199
where is the relevance? this issue states the problem is fs access in EDT while all the snapshots point at a problem in git.getActions()!

and anyway, the issue #221202 covering report 176199 was fixed.
Comment 6 Egor Ushakov 2012-11-15 16:36:26 UTC
sorry, icorrect link.
Here it is:
http://statistics.netbeans.org/analytics/detail.do?id=195205
Comment 7 Tomas Stupka 2012-11-15 16:56:01 UTC
(In reply to comment #6)
> sorry, icorrect link.
> Here it is:
> http://statistics.netbeans.org/analytics/detail.do?id=195205
is this a valid setup you normally use? how is it possible to properly use the IDE when already isFile() takes 15 seconds? 

or is it just like already mentioned in comment #2 - hypothetical and artificial scenario to prove the point?
Comment 8 Egor Ushakov 2013-01-28 13:30:13 UTC
the project I'm trying to use in on slow NFS share and the real problem is that even if I'm not interested in history but hovered history menu accidentally I could get an IDE freeze
Comment 9 Ondrej Vrabec 2013-01-28 13:33:59 UTC
the same as #223507 i guess

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