modess / git-pretty-stats

Self hosted graphs for Git repositories in PHP
Other
142 stars 24 forks source link

Write statistics to cache file is option is set in config #9

Closed jasonrm closed 10 years ago

jasonrm commented 10 years ago

It's a bit crude, so no worries if you don't merge it in. Is nice to have for our repos with 60k+ commits however.

modess commented 10 years ago

Have you been able to get it to even work in the first place with repos 60k+ commits without the cache? I'm quite impressed :)

I'll test this and merge it when I have time for it. I'm currently working on a smart cache layer for the next major release that will be able to load and cache commits in chunks, but this will be nice to have before the next major release.

jasonrm commented 10 years ago

I was impressed as well, most tools I've ran against that repo choke badly. On my iMac git-pretty-stats took about 30-40 seconds where as GitStats took about 5 minutes. Yeah, this works for now, but more intelligent caching would be pretty awesome.

modess commented 10 years ago

Worked like a charm, thanks!