Bug 564552 - JFace TreeViewer slow when expanding/creating large number of children
Summary: JFace TreeViewer slow when expanding/creating large number of children
Status: CLOSED DUPLICATE of bug 519164
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.17   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Soraphol (Paul) Damrongpiriyapong CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-22 15:02 EDT by Soraphol (Paul) Damrongpiriyapong CLA
Modified: 2020-07-31 15:17 EDT (History)
0 users

See Also:


Attachments
Snippet used for testing (3.73 KB, text/x-java)
2020-06-22 15:23 EDT, Soraphol (Paul) Damrongpiriyapong CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Soraphol (Paul) Damrongpiriyapong CLA 2020-06-22 15:02:55 EDT
This is a fix for the bug found in Bug 519164. In SWT GTK, in order to bulk add items, it is best (in terms of performance) to add to the front of the tree model. Testing will be done for all 3 platforms to ensure that the changes to JFace to improve GTK performance does not affect others. 

Currently JFace would always append the items, and at very large children sizes performance would decrease immensely. 

Note: Although it is kind of a workaround to the performance problem in GTK, it seems to not be a problem with the implementation of SWT but with GTK's appending tree models of large sizes. If someone has an alternative please do tell me. 

Thanks!

https://bugs.eclipse.org/bugs/show_bug.cgi?id=519164
Comment 1 Eclipse Genie CLA 2020-06-22 15:19:41 EDT
New Gerrit change created: https://git.eclipse.org/r/165318
Comment 2 Soraphol (Paul) Damrongpiriyapong CLA 2020-06-22 15:23:48 EDT
Created attachment 283380 [details]
Snippet used for testing
Comment 3 Soraphol (Paul) Damrongpiriyapong CLA 2020-07-31 15:17:53 EDT

*** This bug has been marked as a duplicate of bug 519164 ***