Moving the modules around, renaming etc. Also working on adding proper nodependency release to set of released artifacts.

This commit is contained in:
tomasz.kowalczewski committed 2021-02-17 10:46:29 +01:00
1 parent adb6986460
commit c74a31436a
1 file changed
+7 -1
@@ -70,7 +70,8 @@ public class AllocationTest {
Logger logger = LogManager.getLogger(pl.tkowalcz.tjahzi.log4j2.LokiAppenderTest.class);
// When
for (int i = 0; i < 1000; i++) {
System.out.println("Warmup...");
for (int i = 0; i < 2000; i++) {
logger.info(logLine);
Uninterruptibles.sleepUninterruptibly(10, TimeUnit.MILLISECONDS);
}
@@ -88,10 +89,15 @@ public class AllocationTest {
return;
}
if (desc.contains("Object")) {
return;
}
allocatedMemory.computeIfAbsent(desc, __ -> new AtomicLong()).addAndGet(size);
totalAllocatedMemory.addAndGet(size);
});
System.out.println("Test...");
for (int i = 0; i < 1000; i++) {
logger.info(logLine);
Uninterruptibles.sleepUninterruptibly(10, TimeUnit.MILLISECONDS);