8000 Performance/Speed · Issue #81 · tomgi/git_stats · GitHub
[go: up one dir, main page]

Skip to content

Performance/Speed #81

Open
Open

Description

@wpccolorblind

Hello -- first let me say this is an awesome tool and thanks for creating and updating this!

I'm wondering if you have a suggestion to speed up the computation and/or have plans to make this faster in the future.

I have a repo that has tens of thousands of commits from 30 different authors. I've git_stats running on this repo for many days (on my latest Mac Pro) and it's still going.

I tried subsetting to a commit range, which isnt seeming to have an effect (as in, it still looks like it's going to take a long long while). Here is my command line

git_stats generate --path= --out-path=./git_stats --first-commit-sha= --last-commit-sha=

I am seeing a different set of logs if I do and dont use the sha params. However, when I use the sha params i also get this error:

git show --shortstat --oneline --no-renames 268670637 -- .
fatal: Needed a single revision

I've double checked those sha ranges. That range is just 4 commits so I was hoping that would be fast.

Any ideas on all this?

Activity

  1. wpccolorblind commented on Dec 11, 2017

    @wpccolorblind
    Author

    Update: the sha range command did just finish, it just took a lot longer than I would expect for analyzing 4 commits. Will try with a decently expanded range and see if it can finish in a reasonable amount of time...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0