long start = System.currentTimeMillis();
doSomething();
long fin = System.currentTimeMillis();
LOG.info("worktime is: "
        + (fin - start) + "ms.");