Performance is pretty terrible currently but can definitely be improved. Things to look at:
- are lazy types used in all places where they could/should be? Some things may not be needed ever, e.g. if they are not used in templates (specifically thinking about bytestrings)
- does the code generate any crazy hunks
- are any unnecessary code paths being traversed all the time
getCommits can be improved
- detect file changes in diffs for new commits and only re-render those files
fixupLists and the diff list logic could probably be improved too
gotta profile
Performance is pretty terrible currently but can definitely be improved. Things to look at:
getCommitscan be improvedfixupListsand the diff list logic could probably be improved toogotta profile