public void printSummary() {
    int maxLength = (int) all().keySet().stream().mapToLong(String::length).max().orElse(0);
    for (var entry : all().entrySet()) {
      String name = entry.getKey();
      var elapsed = entry.getValue().timer.elapsed();
      LOGGER.info("\t" + Format.padRight(name, maxLength) + " " + elapsed);
      if (elapsed.wall().compareTo(Duration.ofSeconds(1)) > 0) {
        for (String detail : getStageDetails(name, true)) {
          LOGGER.info("\t  " + detail);
        }
      }
    }
  }
A registry of tasks that are being timed.
planetiler-core/src/main/java/com/onthegomap/planetiler/stats/Timers.java