me.geso.avans.jackson.JacksonJsonViewBenchmark Maven / Gradle / Ivy
package me.geso.avans.jackson;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Optional;
import java.util.function.Supplier;
import java.util.stream.IntStream;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.openjdk.jmh.annotations.Benchmark;
import org.openjdk.jmh.infra.Blackhole;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
public class JacksonJsonViewBenchmark {
public static class JacksonJsonViewMock implements JacksonJsonView {
@Override
public void close() throws Exception {
}
@Override
public Optional