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

com.yahoo.sketches.benchmark.SketchBenchmark Maven / Gradle / Ivy

The newest version!
package com.yahoo.sketches.benchmark;

import java.util.List;

/**
 */
public interface SketchBenchmark
{
  void setup(int numSketches, List specs);

  void runNTimes(int n);

  void reset();

  class Spec {
    private final int numSketches;
    private final long numEntries;

    public Spec(long numEntries, int numSketches) {

      this.numSketches = numSketches;
      this.numEntries = numEntries;
    }

    public int getNumSketches()
    {
      return numSketches;
    }

    public long getNumEntries()
    {
      return numEntries;
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy