public static byte[] format(final long number) {
    byte[] b = new byte[ROW_LENGTH];
    long d = Math.abs(number);
    for (int i = b.length - 1; i >= 0; i--) {
      b[i] = (byte) ((d % 10) + '0');
      d /= 10;
    }
    return b;
  }
Compute a throughput rate in MB/s.
@param rows   Number of records consumed.
@param timeMs Time taken in milliseconds.
@return String value with label, ie '123.76 MB/s'
hbase-diagnostics/src/main/java/org/apache/hadoop/hbase/PerformanceEvaluation.java