Skip to content

Instantly share code, notes, and snippets.

View cramja's full-sized avatar
💯

Marc S cramja

💯
View GitHub Profile
@cramja
cramja / ReflectionTest.java
Created June 2, 2018 02:06
Understand the performance impact of reflection
import com.google.common.collect.ImmutableMap;
import com.google.common.math.Stats;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
public class ReflectionTest {
public interface FooGetter {