Bug 570335 - Slow Compare Viewer for big files
Summary: Slow Compare Viewer for big files
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Compare (show other bugs)
Version: 4.19   Edit
Hardware: PC Solaris
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Compare-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-13 12:40 EST by Zurzic Zeljko CLA
Modified: 2021-01-14 13:33 EST (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 Zurzic Zeljko CLA 2021-01-13 12:40:26 EST
For comparing 2 files with 3k/12k lines and ~800 diff regions, it takes around 10sec. A 10x performance improvement can be done by caching some operations on an IDocument in DocLineComparator
Comment 1 Andrey Loskutov CLA 2021-01-13 12:42:15 EST
https://wiki.eclipse.org/Platform_UI/How_to_Contribute
Comment 2 Eclipse Genie CLA 2021-01-13 13:15:53 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.team/+/174763
Comment 3 Eclipse Genie CLA 2021-01-14 13:33:09 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.team/+/174845