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 197322 - CssStructureScanner causing terrible editor performance for bigger css files
Summary: CssStructureScanner causing terrible editor performance for bigger css files
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Visual Tools (show other bugs)
Version: -S1S-
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-01 10:02 UTC by Marek Fukala
Modified: 2011-07-27 11:14 UTC (History)
1 user (show)

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 Marek Fukala 2011-04-01 10:02:56 UTC
During the CssStructureScanner.scan() method the top level snapshot of the whole file is created for each css selector which makes the editor unusable for bigger files with many css rules (I've played with a css file with 10-50 thousands lines where there was a selector per each fourth line).
Comment 1 Marek Fukala 2011-04-01 10:04:01 UTC
fixed in web-main#689e76e25c19
Comment 2 Quality Engineering 2011-04-02 08:48:31 UTC
Integrated into 'main-golden', will be available in build *201104020400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/689e76e25c19
User: Marek Fukala <mfukala@netbeans.org>
Log: #197322 - CssStructureScanner causing terrible editor performance for bigger css files
Comment 3 Vladimir Riha 2011-07-27 09:53:54 UTC
I tried to "work" with CSS file with >35k lines, one selector per line, and it is usable, saving/opening is fast enough (considering the file size) as well as working inside the file. The same goes for CSS file with 30k lines and one selector for 4 lines.

Verified...