Sorry, another minor thing, but mind changing this to seconds? Something like "%.03f".format((System.currentTimeMillis() - t) / 1000.0)