]> git.ipfire.org Git - thirdparty/git.git/commit
scalar: teach `diagnose` to gather loose objects information
authorMatthew John Cheetham <mjcheetham@outlook.com>
Sat, 28 May 2022 23:11:18 +0000 (16:11 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 31 May 2022 06:07:31 +0000 (23:07 -0700)
commit15d8adccab9a3146b760b089df59ce3e7ca2b451
tree4f30873d33a0d89c896dd394e5d5aecea8318332
parent93e804b2785e1f030737e31e7e18ddc997a368c7
scalar: teach `diagnose` to gather loose objects information

When operating at the scale that Scalar wants to support, certain data
shapes are more likely to cause undesirable performance issues, such as
large numbers of loose objects.

By including statistics about this, `scalar diagnose` now makes it
easier to identify such scenarios.

Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/scalar/scalar.c
contrib/scalar/t/t9099-scalar.sh