private double blowCaches() {
        List<Integer> list = new ArrayList<>();
        for (int i = 0; i < 1000 * 1000; i++) {
            list.add(i);
        }
        double total = 0;
        for (Integer i : list)
            total += i;
        return total;
    }
Read an ad-hoc file format with some similarly ad hoc code
searchlib/src/test/java/com/yahoo/searchlib/rankingexpression/evaluation/StreamEvaluationBenchmark.java