[GSOC] How to improve the performance of git cat-file --batch
- From
ZheNing Hu <adlternative@gmail.com>
- Date
- Jul 24, 2021, 14:22 UTC
- Message-ID
- <CAOLTT8RR3nvtXotqhSO8xPCzGQpGUA8dnNgraAjREZ6uLf4n4w@mail.gmail.com>
After reusing ref-filter logic for cat-file --batch, the function of cat-file --batch has been enhanced, but the performance of cat-file is severely degraded. So we need a better solution to solve it. its last version is here: https://lore.kernel.org/git/pull.993.v2.git.1626363626.gitgitgadget@gmail.com/
Use google doc to show some of my recent ideas: https://docs.google.com/document/d/1hyM-ecMd8C_TJ3OsOn46nMr8ZxCUxeK7HKj-bRkq3sk/edit?usp=sharing
Anyone is welcome to comment and suggest better solutions!
Thanks! -- ZheNing Hu