gartnera / gartnera/git-restore-mtime
`DiffTree` is very slow
- Dominant language
- Go
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
CPU profile of [mpv repo](https://github.com/mpv-player/mpv)
We spend the vast majority of our time in the `DiffTree` call.

[cpu.speedscope.json](https://github.com/user-attachments/files/16042237/cpu.speedscope.json)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the Go implementation and callers of DiffTree, then inspect the linked CPU profile from the mpv workload. Use the profile to identify the dominant cost and establish a comparable run. Done means DiffTree is measurably faster for that workload without changing its expected behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100