Package com.google.caliper.api
Annotation Type Footprint
-
@Retention(RUNTIME) @Target(METHOD) public @interface Footprint
Annotates a method whose return value is an object whose total memory footprint is to be measured.
-
-
Element Detail
-
exclude
Class<?>[] exclude
Optionally ignore instances of the specified types (including subclasses) when measuring. For example,@Footprint(ignore = Element.class) public Set<Element> set() {...}would measure the size of the set while ignoring the size of the elements.- Default:
- {}
-
-