All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.scalameter.japi.annotation.warmup Maven / Gradle / Ivy

The newest version!
package org.scalameter.japi.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;


/** Optional annotation that points to a
 *  custom warmup method for the benchmark snippet.
 *
 *  Its value should point to a public one-arg method, whose argument's type should be
 *  the same as type of benchmark method argument.
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.METHOD})
public @interface warmup {
  String value();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy