lab7 refactoring

This commit is contained in:
parap 2023-05-23 14:24:57 +04:00
parent 0e6246aef4
commit 63c8bacf39

View File

@ -119,9 +119,9 @@ public class DataPerformMongo {
Car car = new Car(models[modelIndex], generateDate(), cost, parkings.get(rnd.nextInt(parkings.size())));
long start = System.nanoTime();
long start = System.currentTimeMillis();
carRepo.insert(car);
long end = System.nanoTime();
long end = System.currentTimeMillis();
res += end - start;
}
return res;