Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 360320 - Switching editor tabs performance problems
Summary: Switching editor tabs performance problems
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: PHP UI CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-08 10:18 EDT by gossi CLA
Modified: 2020-05-14 11:39 EDT (History)
3 users (show)

See Also:


Attachments
patch (1.82 KB, patch)
2013-01-16 18:08 EST, Wojciech Galanciak CLA
no flags Details | Diff
patch (1.41 KB, patch)
2013-01-16 18:51 EST, Wojciech Galanciak CLA
natalia.bartol: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description gossi CLA 2011-10-08 10:18:56 EDT
Build Identifier: 3.0.0.v20110516-1100-77--84_23JBVgSVXO7XGJz0VLa9O

When switching tabs in the editor, the cursor changes from normal mouse cursor to busy mouse cursor. The change is very fast, so it happens 3-5 times during the switch. Overall the switch takes approximately 1 second to finish. Looks like some heavy operations are done in the background, giving an overall very uncomfortable feeling. The delay makes it also very unresponsive.

Reproducible: Always

Steps to Reproduce:
1. Open multiple Tabs
2. Switch between them with the mouse
Comment 1 Wojciech Galanciak CLA 2013-01-16 18:08:25 EST
Created attachment 225738 [details]
patch
Comment 2 Wojciech Galanciak CLA 2013-01-16 18:51:37 EST
Created attachment 225740 [details]
patch
Comment 3 Natalia Bartol CLA 2013-01-16 19:19:24 EST
Awesome patch Wojtek, thanks!

Applied to head: http://git.eclipse.org/c/pdt/org.eclipse.pdt.git/commit/?id=aa30168be7dc0ae4a70fd3ba6f91dc5d15e143d5
Comment 4 Kalin CLA 2013-01-17 11:50:59 EST
Now I don't detect the cursor changes to busy mouse cursor, at least it is no longer visible, but switching between php and php/txt files tabs takes a second (0.8 - 0.9 sec on Win 7 and 1.0 - 1.1 sec on Mac) and the heavy feeling is still experienced.

Machines under test:

Win 7, 64 bit:
RAM: 2 GB
CPU: 4 GHz (Core i5)

Mac Mountain Lion:
RAM: 4 GB
CPU: 2.5 GHz (Core i5)

Re-opening...
Comment 5 Kalin CLA 2013-01-25 05:41:15 EST
Closing...