jonashaag / klaus

docker run klaus / pip install klaus — the first Git web viewer that Just Works™.
http://klausdemo.lophus.org
Other
686 stars 102 forks source link

Dulwich performance workarounds #258

Open jonashaag opened 4 years ago

jonashaag commented 4 years ago

From #257, @jelmer, see https://github.com/jonashaag/klaus/blob/0fa6ab47130db2bc4b1617e8c68030b2414b929b/klaus/repo.py#L172, https://github.com/jonashaag/klaus/blob/0fa6ab47130db2bc4b1617e8c68030b2414b929b/klaus/repo.py#L181

I don't have up-to-date speed comparisons of these but when I initially wrote the code, Dulwich was an order of magnitude slower.

jelmer commented 4 years ago

Thanks, I'll have a look. These are both operations that scale with the length of history per file.