[PR #105] Profile git-ai overhead with GIT_AI_PROFILE #259

Closed
opened 2026-03-02 04:13:07 +03:00 by kerem · 0 comments
Owner

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/105

State: closed
Merged: Yes


By adding GIT_AI_PROFILE=1 to your env, it's now possible to profile the overhead of Git AI's hooks

[timer] git-ai proxy overhead 0ms
[feat/profile-overhead 60b4ea0] time main operations
 4 files changed, 77 insertions(+), 42 deletions(-)
you  ███████████████████████████▒░░░░░░░░░░░░ ai
     68%            mixed   4%             29%
     100% AI code accepted | waited 1m for ai
[timer] git-ai hooks 312ms
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/105 **State:** closed **Merged:** Yes --- By adding `GIT_AI_PROFILE=1` to your env, it's now possible to profile the overhead of Git AI's hooks ``` [timer] git-ai proxy overhead 0ms [feat/profile-overhead 60b4ea0] time main operations 4 files changed, 77 insertions(+), 42 deletions(-) you ███████████████████████████▒░░░░░░░░░░░░ ai 68% mixed 4% 29% 100% AI code accepted | waited 1m for ai [timer] git-ai hooks 312ms ```
kerem 2026-03-02 04:13:07 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#259
No description provided.