Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339100

Summary: slow typing with large amounts of php strings in a file
Product: z_Archived Reporter: Chet <henry>
Component: PDTAssignee: PHP UI <php.ui-inbox>
Status: CLOSED DUPLICATE QA Contact: Ilina Stefanova <ilina.s>
Severity: normal    
Priority: P1 CC: kalin.a
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

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