| Summary: | Commit#getTagsForCommit() takes too much time | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Tomasz Zarna <tomasz.zarna> | ||||
| Component: | Git | Assignee: | Tomasz Zarna <tomasz.zarna> | ||||
| Status: | RESOLVED FIXED | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | Keywords: | performance | ||||
| Version: | 0.4 | ||||||
| Target Milestone: | 0.5 M2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Tomasz Zarna
According to profiler calling these methods makes looking for tags so time expensive: * Repository#getTags(), takes 55% * RevWalk#parseAny(AnyObjectId), takes 24% * RevWalk#isMergedInto(RevCommit, RevCommit), takes 20% They add up to 99%! Fixed with a81d61dd633957b0eed584f3dfb27856d3f5c58f Created attachment 214913 [details]
mylyn/context/zip
|