public static String getDurationMessage(final String work,
                                            final Duration duration,
                                            final long iterations) {
        final double secs = NullSafeExtra.duration(duration).isZero()
                ? 0
                : duration.toMillis() / (double) 1_000;
        final String rate = secs == 0
                ? "NaN"
                : ModelStringUtil.formatCsv(iterations / secs);
        return LogUtil.message("Completed [{}] in {} ({}/sec)",
                work,
                duration,
                rate);
    }
Constructs a formatted message string using a format string that takes
the same placeholders as SLF4J, e.g.
"Function called with name {} and value {}"
This constructed message is placed inside a box.

@param format SLF4J style format string
@param args   The values for any placeholders in the message format
@return A formatted message in a box.
stroom-util/src/main/java/stroom/util/logging/LogUtil.java