presto-verifier/src/main/java/io/prestosql/verifier/HumanReadableEventClient.java/HumanReadableEventClient/postEvent
class HumanReadableEventClient:    @Override
    public <T> void postEvent(T event)
    {
        VerifierQueryEvent queryEvent = (VerifierQueryEvent) event;

        Optional<Double> cpuRatio = getCpuRatio(queryEvent);
        if (cpuRatio.isPresent()) {
            recordCpuRatio(cpuRatio.get());
        }

        if (alwaysPrint || queryEvent.isFailed()
                || (cpuRatio.map(ratio -> ratio > SMALL_REGRESSION).orElse(false) && isCheckCpu(queryEvent))) {
            printEvent(queryEvent);
        }
    }