code: public void report(Writer writer) throws IOException {
          String report = stats.stream()
                  .sorted(Comparator.comparingInt(UStats::getIndex))
                  .map(sr -> String.format(
                          "Scale %4d -> %8d (count %d, threshold %d)", 
                          sr.getIndex(), sr.getAverageRawNanos(), sr.getCount(), UUtils.getNanoTick()))
                  .collect(Collectors.joining("\n"));
          MathEquation bestFit = determineBestFit();
          writer.write(title);
          char[] uls = new char[title.length()];
          Arrays.fill(uls, '=');
          writer.write(uls);
          writer.write(report);
          writer.write("Best fit is: " + bestFit + "\n");
          writer.flush();
      }
docs: Generate and print (System.out) the scalability report.
  @param writer The writer to write the report to
  @throws IOException in the event that the writer throws one.