Summary: | Quanta slows down and sometimes crashes when editing large javascript files | ||
---|---|---|---|
Product: | quanta | Reporter: | Rafael Vega <email.rafa> |
Component: | general | Assignee: | András Manţia <amantia> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Other | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | one of the Javascript files that is causing trouble |
Description
Rafael Vega
2006-06-25 21:57:47 UTC
Quanta 3.5.1 on Suse 10.1, simple HTML file, 1000 lines 56kBytes: Editing towards the end of the file feels like you work through a 300 baud modem. Responds to keystrokes within 2-3 seconds on my 1.2Mhz PIII machine. Roland I have 2000 lines Javascript file and after typing a word it takes about 10 seconds to respond and cursor appears. It's VERY slow :( Processor: 1.7GHz, 512M RAM, Quanta 3.5.1 from SUSE 10.1. Can you try with 3.5.3? Also if you could send me the file (even if in private) it would help me to find where is the problem. Created attachment 17140 [details]
one of the Javascript files that is causing trouble
I have the same problem on my machine pentium IV 3,2 GHz 1 GB of RAM and Ubuntu 6.04. When I edit a big javascript file (2142 row of code) quanta is very slow. Responds to keystrokes within 1-2 seconds. The problem is solved for 3.5.5. The reason of slowness was that the javascript file was treated as (X)HTML, and the XML parser was slow because the document didn't really had XML tags. The file detection is now improved and the "empty" DTD is assigned for unknown file types (like JavaScript in this example). As a workaround for previous versions you can manually select the empty DTD for JavaScript files. As for the slowness for a HTML file from reply #1, if you can still reproduce the problem, open a separate bugreport and attach the file to it. |