jgit/org.eclipse.jgit.benchmarks/src/org/eclipse/jgit/benchmarks
Luca Milanesio a706835a49 Add GetRefsBenchmark for testing refs lookups
Introduce a new benchmark that shows a typical use-case
of opening a cached repository and fetching one ref from
a repository with a high number of refs.

This specific benchmark is tailored to the Gerrit use-case
of reading frequently individual refs SHA1s and by ref-name
prefix from the All-Users repository.

Include the following variables for the benchmark:
- numBranches (from 100 up to 50000)
- trustFolderStat (true or false)
- useRefTable (true or false)

The benchmark needs to be evaluated on a local high-perf SSD
and on a slower NFS network disk.

Bug: 576165
Change-Id: Ie59a87ca9f0191ff30229688e3430332e2f59a4f
2022-04-01 16:39:35 -04:00
..
CreateFileSnapshotBenchmark.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
FileMoveBenchmark.java Add benchmark for strategies how to move a file 2020-06-06 11:10:35 +02:00
GetRefsBenchmark.java Add GetRefsBenchmark for testing refs lookups 2022-04-01 16:39:35 -04:00
LookupFileStoreBenchmark.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00
SimpleLruCacheBenchmark.java Update EDL 1.0 license headers to new short SPDX compliant format 2020-01-04 01:10:05 +01:00