private String saveResult(Result result) {
        String fileName = String.format("perf-%s.json", new SimpleDateFormat("yyyy-MM-dd-HH-mm-ss").format(new Date()));
        try {
            JSON.writeValue(new File(fileName), result);
        } catch (Exception e) {
            LOGGER.error("Failed to write result to file {}", fileName, e);
        }
        return fileName;
    }
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