diff --git a/src/core/benchmark/BenchmarkManager.java b/src/core/benchmark/BenchmarkManager.java index 14243cd..5404dd3 100644 --- a/src/core/benchmark/BenchmarkManager.java +++ b/src/core/benchmark/BenchmarkManager.java @@ -41,6 +41,8 @@ public class BenchmarkManager // Rebuilds the files being monitored public void RebuildLookup() { + long start = Instant.now().toEpochMilli(); + synchronized(raw) { raw.clear(); @@ -67,6 +69,9 @@ public class BenchmarkManager BenchmarkLog.Warn("No " + extension + " files where found in " + directory); } } + + long end = Instant.now().toEpochMilli(); + BenchmarkLog.Log("Rebuilt data in " + (end - start) + "ms"); } // Re-evaluates and re-orders the input list based on the Levenshtein distance of the