| Summary: | [cdt][performance] Quick outline is slow with big files | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Marc-André Laperle <malaperle> |
| Component: | Mylyn | Assignee: | Shawn Minto <shawn.minto> |
| Status: | CLOSED MOVED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 3.4 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Marc-André Laperle
I just tried reproducing this on SWT's os.c for win32. I did see a bit of a lag when the first letter was typed, but I could reproduce this sometimes without a task active as well. This only seems to happen the first time that the file is opened and the first time that the quick outline is used. Could you confirm if you can reproduce it without a task active this way as well? I originally suspected the task context label decorator, but disabling it seemed to have no effect. I can definitely see a far bigger delay when my task is activated on certain files. I can't share my files but I will try to create a file and attach it. Thank you for looking into it. (In reply to comment #1) > originally suspected the task context label decorator, but disabling it seemed > to have no effect. I can try that. Where is it in the code? You can disable the label decorator in the Eclipse Preferences under General > Appearance > Label Decorations and uncheck "Task Context Decorator" (In reply to comment #3) > You can disable the label decorator in the Eclipse Preferences under General > > Appearance > Label Decorations and uncheck "Task Context Decorator" When I disable the label decorator, it is a lot faster, as fast as without the task activated. This seems to be the problem. At least, the workaround is pretty easy. Thanks for letting us know that this is the case. I will look into this further for Mylyn 3.5 and see if there is any way that we can make this a bit faster. I am surprised that you do not see this on Java files as well though as they should have similar performance profiles for this decorator. Mylyn has been restructured, and our issue tracking has moved to GitHub [1]. We are closing ~14K Bugzilla issues to give the new team a fresh start. If you feel that this issue is still relevant, please create a new one on GitHub. [1] https://github.com/orgs/eclipse-mylyn |