-
-
Notifications
You must be signed in to change notification settings - Fork 403
Open
Description
Hi,
I tried building libgit2 from the latest tag v1.9.1
on Windows using the following CMake options:
-DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=OFF
The resulting git2.dll
binary size is 1,672 KB.
However, the git2.dll
packaged with pygit2 is 4,329 KB. While the size difference is not a major concern, I noticed a significant performance improvement when I replaced the pygit2-provided git2.dll
with my own build:
The Repository.walk
operation time dropped from about 9 seconds to ~4 seconds.
Questions:
- What CMake options does pygit2 use to build its bundled libgit2?
- Why might there be such a difference in binary size and performance between the two builds?
Thank you!
Metadata
Metadata
Assignees
Labels
No labels