Skip to content

gitserver: close packed-refs file in quickRevParseHead()

Warren Gifford requested to merge search-perf-issue-take-2 into master

Created by: ijt

This is meant to help with a customer-reported issue about search performance.

Test plan: cd cmd/gitserver/server && go test -bench=BenchmarkQuickRevParseHead_packed_refs

Before this change the benchmark was failing with too many files open.

CC @beyang

Merge request reports

Loading