Summary: | RangeUtil#isInInterval(...) takes significant amount of time while editing | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jerome Lanneluc <jerome_lanneluc> | ||||
Component: | Core | Assignee: | David Audel <david_audel> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | daniel_megert, philippe_mulet | ||||
Version: | 3.1 | Keywords: | performance | ||||
Target Milestone: | 3.2 RC1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Jerome Lanneluc
2006-04-05 12:57:34 EDT
Created attachment 37858 [details]
Proposed improvement
Jerome has profiled with the patch and time spent is now near 5%. This patch avoid to scan all tokens inside method body and doesn't search intervals to avoid in all the array of intervals. +1 for 3.2RC1 Fix released. Verified for 3.2 RC1 using Build id: I20060413-0010. Added performance test FullSourceWorkspaceModelTests#testPerfReconcileBigFileWithSyntaxError() |