@Setup
    public void setup() {
        convertToBooleanCases = successfulCases(Values::convertToBoolean);
        convertToByteCases = successfulCases(Values::convertToByte);
        convertToDateCases = successfulCases(Values::convertToDate);
        convertToDecimalCases = successfulCases((schema, object) -> Values.convertToDecimal(schema, object, 1));
        convertToDoubleCases = successfulCases(Values::convertToDouble);
        convertToFloatCases = successfulCases(Values::convertToFloat);
        convertToShortCases = successfulCases(Values::convertToShort);
        convertToListCases = successfulCases(Values::convertToList);
        convertToMapCases = successfulCases(Values::convertToMap);
        convertToLongCases = successfulCases(Values::convertToLong);
        convertToIntegerCases = successfulCases(Values::convertToInteger);
        convertToStructCases = successfulCases(Values::convertToStruct);
        convertToTimeCases = successfulCases(Values::convertToTime);
        convertToTimestampCases = successfulCases(Values::convertToTimestamp);
        convertToStringCases = successfulCases(Values::convertToString);
        parseStringCases = casesToString(Values::parseString);
    }
This benchmark tests the performance of the {@link Values} data handling class.
jmh-benchmarks/src/main/java/org/apache/kafka/jmh/connect/ValuesBenchmark.java