as per suggestetion (#2120)

* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion
This commit is contained in:
Abhinab Kanrar 2017-06-21 23:54:31 +05:30 committed by Grzegorz Piwowarek
parent 2f652a2620
commit b5077409f4
1 changed files with 6 additions and 6 deletions

View File

@ -2,18 +2,18 @@ package com.baeldung.jmh.warmup;
public class MainApplication {
static long start;
static long end;
static {
long start = System.nanoTime();
ManualClassLoader.load();
long end = System.nanoTime();
System.out.println("Warm Up time : " + (end - start));
}
public static void main(String[] args) {
start = System.nanoTime();
long start = System.nanoTime();
ManualClassLoader.load();
end = System.nanoTime();
long end = System.nanoTime();
System.out.println("Total time taken : " + (end - start));
}
}
}