Simple execution benchmarking in Java