При работе на консоли скорость равна
2020-01-14 12:45:38,086 [main] INFO Solving started: time spent (119), best score (-299init/0hard/0medium/0soft), environment mode (REPRODUCIBLE), random (JDK with seed 0).
2020-01-14 12:46:08,228 [main] INFO Construction Heuristic phase (0) ended: time spent (30263), best score (0hard/0medium/0soft), score calculation speed (46389/sec), step total (299).
2020-01-14 12:46:08,258 [main] INFO Solving ended: time spent (30293), best score (0hard/0medium/0soft), score calculation speed (46152/sec), phase total (2), environment mode (REPRODUCIBLE).
При работе с JUnit в IDEA
2020-01-14 12:46:52,522 [Test worker] INFO Solving started: time spent (292), best score (-299init/0hard/0medium/0soft), environment mode (REPRODUCIBLE), random (JDK with seed 0).
2020-01-14 12:47:09,340 [Test worker] INFO Construction Heuristic phase (0) ended: time spent (17112), best score (0hard/0medium/0soft), score calculation speed (83155/sec), step total (299).
2020-01-14 12:47:09,365 [Test worker] INFO Solving ended: time spent (17137), best score (0hard/0medium/0soft), score calculation speed (81583/sec), phase total (2), environment mode (REPRODUCIBLE).
Вместо консольного приложения я пробовал Spring boot и Ktor, но скорость как консоль.
Почему в тестах скорость в два раза быстрее?
Мое решение в kotlin и gralde.