Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339100 - slow typing with large amounts of php strings in a file
Summary: slow typing with large amounts of php strings in a file
Status: CLOSED DUPLICATE of bug 326261
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P1 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact: Ilina Stefanova CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-07 10:30 EST by Chet CLA
Modified: 2020-05-14 11:08 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chet CLA 2011-03-07 10:30:11 EST
Build Identifier:  20101216-1529

Typing is slow (~700ms) when php strings are styled using syntax coloring and the file has many lines and strings (2000+ lines and 50%+ have php strings)

example of the string styling  the something text would appear blue
$string = 'something';

if the file is large enough and there are many strings typing anywhere in the php section of the file is very slow.

Reproducible: Always

Steps to Reproduce:
1.Create large php file
2.make most of the file have lines with constant strings ie 'constant string'
3.try typing
Comment 1 Chet CLA 2011-03-07 10:31:14 EST
If the string syntax coloring is disabled tying returns to normal speed.
Comment 2 reaalfantasy CLA 2011-03-10 05:04:11 EST
My version is: "
Eclipse for PHP Developers

Version: Helios Service Release 1
Build id: 20100917-0705 "


now my php (.inc) file is about ~9000 lines (and after i finish it will be ~10000 or more), and typing was slow but acceptable when it was ~6000 lines, but now i can't work with this file because of 1 character/second...

Now i open it with notepad++ ...

in general i create files with ~2000-5000 lines  
hope this will de fixed soon, i need it for my future big projects
Comment 3 Zhongwei Zhao CLA 2011-05-11 02:18:42 EDT
performance issue,duplicate of 326261

*** This bug has been marked as a duplicate of bug 326261 ***
Comment 4 Kalin CLA 2011-07-29 04:22:38 EDT
Closing as a duplicate of bug 326261