Skip to content

Conversation

@smokris
Copy link

@smokris smokris commented Apr 3, 2019

git-commit-notifier was taking about 6 minutes to process a large commit in one of my repos. I ran ruby-prof and noticed that it was shelling out to git thousands of times to get the same information (repo name and directory info). I added caches for that data, which reduces the time to about 10 seconds.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 14.305% when pulling 2b6f2aa on smokris:master into ac0aa0d on git-commit-notifier:master.

@smokris
Copy link
Author

smokris commented Apr 8, 2019

(Those same 7 test errors occur before the changes in this PR, too.)

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants