Comments (6)
According to my experiments the slowdown is due to libgit2 itself: libgit2/libgit2#3027.
Looking at their repository it seems that their implementation of blame is not very ripe (for instance libgit2/libgit2#6572 fixes a correctness issue and has been open for months) and is apparently unmaintained as the contributor who contributed blame support is not active there anymore.
So it's probably better to stick to the current solution.
from git-deps.
I had a go at this but it seems that migrating to pygit2's blame actually slows things down. It's unclear to me what's going on under the hood (I'd need to be able to debug libgit2 itself).
from git-deps.
That's strange, but thanks a lot for trying! Maybe ask the pygit2 or libgit2 community for advice?
from git-deps.
Well thanks a lot for trying anyway! I guess we just need to watch this space...
from git-deps.
If the new impl works, would it be sensible to leave it behind a gruesomely named opt in, so a test could track when upstream libgit is doing better?
from git-deps.
Makes sense!
from git-deps.
Related Issues (20)
- Excluding commits previously cherry-picked. HOT 2
- git deps with limit HOT 12
- UTF-8 decode error HOT 7
- switch from git rev-parse to pygit2 Repository.revparse
- error while install HOT 1
- Submodules not treated properly leading to crash/failure
- Problem with binary file
- git-deps fails to work with Flask >= 2.2 (safe_join has been removed in Flask) HOT 2
- Error while trying to install via pip: "AttributeError: module 'pypandoc' has no attribute 'convert'"
- python-six is not required HOT 1
- Pandoc deprecated a call... install errors out (pip install) HOT 2
- Project abandoned? pip install fails (Python 3.10.8) HOT 6
- switch from Travis CI to GitHub Actions
- Doesn't deal well with large repos or lots of changes, even with `-e` HOT 10
- $ git: 'deps' is not a git command. See 'git --help'. HOT 8
- Error when fetching the dependencies of the root commit
- Dependency freezing HOT 3
- Add "exclude" feature to visualization HOT 1
- Error when analysing dependencies in a 'real' repository (MacOS) HOT 7
- updating INSTALL.md for python 3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from git-deps.