Skip to content

Move pack.stat logging to PackObjectsHook

Jacob Vosmaer requested to merge jv-move-packfile-statistic into master

This extracts the message we want to log closer to the source, and lets us avoid parsing the response stream of {Post,SSH}UploadPack which is a hot code path.

This is not going to make a huge difference, but it is cleaner from a maintenance perspective, and it saves CPU cycles.

Screenshot_2021-08-10_at_13.18.01

Edited by Jacob Vosmaer

Merge request reports