BenchmarkStatusLarge benchmarks Status() on a large repository with 5000 files.
(b *testing.B)
| 155 | |
| 156 | // BenchmarkStatusLarge benchmarks Status() on a large repository with 5000 files. |
| 157 | func BenchmarkStatusLarge(b *testing.B) { |
| 158 | const ( |
| 159 | numFiles = 5000 |
| 160 | numSubdirs = 20 |
| 161 | numGoroutines = 10 |
| 162 | ) |
| 163 | |
| 164 | wt := setupBenchmarkRepo(b, numFiles, numSubdirs, numGoroutines) |
| 165 | |
| 166 | b.Run("Clean", benchmarkStatusClean(wt)) |
| 167 | } |
nothing calls this directly
no test coverage detected
searching dependent graphs…