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 175680 - 40s when typing in #ifdef editor
Summary: 40s when typing in #ifdef editor
Status: RESOLVED FIXED
Alias: None
Product: javame
Classification: Unclassified
Component: Build System (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-10-29 16:26 UTC by Jaroslav Tulach
Modified: 2009-11-11 05:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Profiler snapshot showing 40s in mobility editor code (71.63 KB, application/octet-stream)
2009-10-29 16:27 UTC, Jaroslav Tulach
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2009-10-29 16:26:50 UTC
I've got an NPS file report via email. Here is excerpt from that mail:

After enabling self-profiling I have opened file with a class that contains a lot of #ifdef/#if constructions and at 
the begining of the class I started to add following line:

  //#ifdef test

  //#endif

In case these lines are added at the end of the class, everything works OK.
Comment 1 Jaroslav Tulach 2009-10-29 16:27:40 UTC
Created attachment 90221 [details]
Profiler snapshot showing 40s in mobility editor code
Comment 2 Petr Suchomel 2009-11-06 09:56:56 UTC
After recent chnages, performance is significantly better bu I am still trying to improve it.
Comment 3 Jaroslav Tulach 2009-11-11 04:10:21 UTC
I tested the problem on build from Nov 3, 2009 and as far as I can tell the problem seems to be fixed. I can type whatever (including //#ifdef) at begining of the file without any noticable delays.
Comment 4 Petr Suchomel 2009-11-11 05:51:03 UTC
The bug is not reproducible after latest fixes