private static void result(String name, long result) {

    long[] values = RESULTS.get(name);
    if (values == null) {
      values = new long[7];
      RESULTS.put(name, values);
    }
    values[loop] = result;
    if (loop == 4) {
      values[5] = Math.min(values[0], Math.min(values[1], Math.min(values[2], Math.min(values[3], values[4]))));
      values[6] = (((values[0] - values[5]) * 1000) / values[0]);
    }
  }