| Summary: | [performance] Java StackTrace hyperlink detection could be improved | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Jacek Pospychala <jacek.pospychala> | ||||
| Component: | Mylyn | Assignee: | Jacek Pospychala <jacek.pospychala> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | CC: | steffen.pingel | ||||
| Version: | unspecified | ||||||
| Target Milestone: | 2.3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Jacek Pospychala
Created attachment 88765 [details]
patch
feel free to apply if you think this issues are worth it. :)
changes:
1. regexp cosmetics
from: Pattern.compile("\\S*.{1}java:\\d*\\){1}"
to: Pattern.compile("\\S*\\.java:\\d*\\)"
2. a bit longer copy of JDT JavaStackTraceHyperlink,
to move this long-running line:
Object result = OpenTypeAction.findTypeInWorkspace(typeName);
from UI thread to a Job.
I've tested patched hyperlink in some task with stack trace.
In bigger workspace (~70 projects), type search job was noticeable (few seconds)
Great! Patch applied, ip log updated. Resolved. |