code: public void report(final Writer writer, final String title, final Comparator<UStats> comparator) throws IOException {
  
          title(writer, title);
  
          long mintime = stats.stream().mapToLong(s -> s.getFastestNanos()).min().getAsLong();
          TimeUnit tUnit = UStats.findBestUnit(mintime);
          for (UStats s : getStats(comparator)) {
              writer.write(s.formatResults(tUnit));
              writer.write("\n");
          }
      }
docs: Generate and print (System.out) the statistics report with the supplied
  title, and using the specified sort order.
  
  @param writer
  the destination to report to
  @param title
  the title to use (e.g. "Warmup", "Cached Files", etc.)
  @param comparator
  the Comparator to sort the UStats by (see class constants for
  some useful suggestions)
  @throws IOException
  if the writer destination fails