String elapse() {
      return String.format("%.3f", (double) (end - start) / 1000d);
    }
Allows timing code blocks execution precisely.
ql/src/test/org/apache/hadoop/hive/ql/security/authorization/plugin/metastore/TestTablePermissionFilterAlgos.java