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 99120

Summary: Profiler slows down typing into the editor
Product: profiler Reporter: Jan Lahoda <jlahoda>
Component: BaseAssignee: Jiri Sedlacek <jis>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 98171    

Description Jan Lahoda 2007-03-27 13:48:03 UTC
[recent sources]

1. Start the IDE with a clean userdir, open a J2SE project
2. Open a Java class - try typing fast into the editor
3. Open (and close) the context menu of the editor. Do not enter any submenus,
do not choose any item from the menu
4. Try typing into the editor - it is considerably slower than it was before

The problem seems to be 
org.netbeans.modules.profiler.actions.AddRootMethodAction, which calls
runUserActionTask after each keystroke/caret move, which causes a lot of reparses.

Please make the action always enabled. Thanks.
Comment 1 Jiri Sedlacek 2007-03-27 13:51:30 UTC
Fixed together with fixing Issue 98595. Fix currently available in trunk (fixed 
for M9).
Comment 2 Jiri Sedlacek 2007-03-27 14:04:59 UTC
Marked as showstopper for M8.
Comment 3 Jiri Sedlacek 2007-03-27 14:13:55 UTC
Fix merged to release60-m8 branch.
Comment 4 Jan Lahoda 2007-03-27 17:05:05 UTC
Seems OK to me. Thank you very much.