private Result collectStats(StopCondition condition) {
        long intervalNanos = TimeUnit.SECONDS.toNanos(config.reportingIntervalSeconds);
        return printAndCollectStats(stats, condition, intervalNanos, config);
    }
Generates a list of byte arrays with specified size and mix of random and static content.

@param size        The size of each byte array.
@param randomRatio The fraction of each array that should be random (0.0 to 1.0).
@param count       The number of arrays to generate.
@return List of byte arrays, each containing a mix of random and static bytes.
tools/src/main/java/org/apache/kafka/tools/automq/PerfCommand.java