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

com.fillumina.performance.producer.suite.ParametrizedSequenceExecutor Maven / Gradle / Ivy

Go to download

Configurable tool to easily compare performances of different code snippets and to take performance telemetry of a running application.

The newest version!
package com.fillumina.performance.producer.suite;

import com.fillumina.performance.producer.LoopPerformancesHolder;

/**
 *
 * @author Francesco Illuminati
 */
public interface ParametrizedSequenceExecutor {

    /**
     * Executes the given test against the previously added parameters and
     * sequence. The outer loop is the sequence so the consumers will be
     * called at each element for the sequence.
     *
     * @return the performances by parameter averaged for the elements of the
     *          sequence.
     */
    LoopPerformancesHolder executeTest(
            final ParametrizedSequenceRunnable test);

    /**
     * Executes the given named test against the previously added parameters and
     * sequence. The outer loop is the sequence.
     *
     * @return the performances by parameter averaged for the elements of the
     *          sequence.
     */
    LoopPerformancesHolder executeTest(final String name,
            final ParametrizedSequenceRunnable test);

    LoopPerformancesHolder ignoreTest(
            final ParametrizedSequenceRunnable test);

    LoopPerformancesHolder ignoreTest(final String name,
            final ParametrizedSequenceRunnable test);

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy