public static String describeFactor(long value, long compare, String suffix) {
    double factor = (double) value / (double) compare;
    if (Double.isNaN(factor)) {
      return "";
    }
    return "(" + String.format("%.2f", factor) + suffix + ")";
  }
Compute ratio and display it with a suffix.

Example: Average sort time	 (0.14x)

@param value The value to be compared
@param compare The value compared against
@param suffix The suffix string
@return The ratio followed by suffix
app/com/linkedin/drelephant/math/Statistics.java