Skip to content

Is git_tracked_only supposed to improve hashing performance? #550

Closed Answered by fho
kostyay asked this question in Q&A
Discussion options

You must be logged in to vote

Hello Kostyay,

5min is very long.

We are not currently using git_tracked_only but I'm wondering if that will improve performance?

Depends :-)

git_tracked_only=true will filter out input files that are not tracked by git. If you have temporary files in the repository directories that are not tracked by git but matched by some input file specifications, those would be hashed unnecessarily.
If that is not the case, it won't improve performance.
(Filtering out untracked files actually results in a bit more worked but the performance impact is negligible)

Are you using a baur version > 3.3? Since version 3.3 digests of tracked files are read from the git repository instead of calculated.

I r…

Replies: 1 comment

Comment options

fho
Apr 2, 2024
Collaborator

You must be logged in to vote
0 replies
Answer selected by fho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants