use listing.csv instead of iterating through all folders

The hope is, that it is faster to read a single file instead of listing
hundreds of folders.
This commit is contained in:
2018-05-05 10:46:16 +02:00
parent bda2de672e
commit e3102c01d4
4 changed files with 95 additions and 5 deletions

View File

@@ -113,7 +113,7 @@ public class PerformanceDbTest {
final List<Path> filesInStorage = FileUtils.listRecursively(DataStore.storageDirectory(dataDirectory));
Assert.assertEquals(filesInStorage.size(), 1);
Assert.assertEquals(filesInStorage.size(), 2, "the created file and the listing.csv");
final Path tagSpecificFile = filesInStorage.get(0);