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 - Profiler slows down typing into the editor
Summary: Profiler slows down typing into the editor
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jiri Sedlacek
URL:
Keywords:
Depends on:
Blocks: 98171
  Show dependency tree
 
Reported: 2007-03-27 13:48 UTC by Jan Lahoda
Modified: 2007-03-27 17:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.