private List<Long> calculateChangeInMemoryConsumption(List<Long> record) {
        List<Long> growth = new ArrayList<>(record.size() - 1);
        for (int i = 1; i < record.size(); i++) {
            growth.add(record.get(i) - record.get(i - 1));
        }
        return growth;
    }
test that the continued creation of proxy classes does not
constantly consume memory.
jgiven-core/src/test/java/com/tngtech/jgiven/impl/ProxyClassPerformanceTest.java