Bug 570335

Summary: Slow Compare Viewer for big files
Product: [Eclipse Project] Platform Reporter: Zurzic Zeljko <zeljko.zurzic>
Component: CompareAssignee: Platform-Compare-Inbox <platform-compare-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.19   
Target Milestone: ---   
Hardware: PC   
OS: Solaris   
See Also: https://git.eclipse.org/r/c/platform/eclipse.platform.team/+/174763
https://git.eclipse.org/r/c/platform/eclipse.platform.team/+/174845
Whiteboard:

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