src/main/java/org/apache/datasketches/characterization/filters/BaseFilterUpdateSpeedProfile.java [34:93]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    int lgMinT;
    int lgMaxT;
    int lgMinU;
    int lgMaxU;
    int uPPO;
    int lgMinBpU;
    int lgMaxBpU;
    int numSketches = 1;
    double slope;

    //JobProfile
    @Override
    public void start(final Job job) {
        this.job = job;
        prop = job.getProperties();
        lgMinT = Integer.parseInt(prop.mustGet("Trials_lgMinT"));
        lgMaxT = Integer.parseInt(prop.mustGet("Trials_lgMaxT"));
        lgMinU = Integer.parseInt(prop.mustGet("Trials_lgMinU"));
        lgMaxU = Integer.parseInt(prop.mustGet("Trials_lgMaxU"));
        uPPO = Integer.parseInt(prop.mustGet("Trials_UPPO"));
        lgMinBpU = Integer.parseInt(prop.mustGet("Trials_lgMinBpU"));
        lgMaxBpU = Integer.parseInt(prop.mustGet("Trials_lgMaxBpU"));
        final String nSk = prop.get("NumSketches");
        numSketches = (nSk != null) ? Integer.parseInt(nSk) : 1;
        slope = (double) (lgMaxT - lgMinT) / (lgMinBpU - lgMaxBpU);
        configure();
        doTrials();
        shutdown();
        cleanup();
    }

    @Override
    public void shutdown() {}

    @Override
    public void cleanup() {}
    //end JobProfile

    /**
     * Configure the sketch
     */
    public abstract void configure();

    /**
     * Return the average update time per update for this trial
     * @param uPerTrial the number of unique updates for this trial
     * @return the average update time per update for this trial
     */
    public abstract double doTrial(final int uPerTrial);

    /**
     * Traverses all the unique axis points and performs trials(u) at each point
     * and outputs a row per unique axis point.
     */
    private void doTrials() {
        final int maxU = 1 << lgMaxU;
        final int minU = 1 << lgMinU;
        int lastU = 0;
        final StringBuilder dataStr = new StringBuilder();
        job.println(getHeader());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/characterization/uniquecount/BaseUpdateSpeedProfile.java [37:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  int lgMinT;
  int lgMaxT;
  int lgMinU;
  int lgMaxU;
  int uPPO;
  int lgMinBpU;
  int lgMaxBpU;
  int numSketches = 1;
  double slope;

  //JobProfile
  @Override
  public void start(final Job job) {
    this.job = job;
    prop = job.getProperties();
    lgMinT = Integer.parseInt(prop.mustGet("Trials_lgMinT"));
    lgMaxT = Integer.parseInt(prop.mustGet("Trials_lgMaxT"));
    lgMinU = Integer.parseInt(prop.mustGet("Trials_lgMinU"));
    lgMaxU = Integer.parseInt(prop.mustGet("Trials_lgMaxU"));
    uPPO = Integer.parseInt(prop.mustGet("Trials_UPPO"));
    lgMinBpU = Integer.parseInt(prop.mustGet("Trials_lgMinBpU"));
    lgMaxBpU = Integer.parseInt(prop.mustGet("Trials_lgMaxBpU"));
    final String nSk = prop.get("NumSketches");
    numSketches = (nSk != null) ? Integer.parseInt(nSk) : 1;
    slope = (double) (lgMaxT - lgMinT) / (lgMinBpU - lgMaxBpU);
    configure();
    doTrials();
    shutdown();
    cleanup();
  }

  @Override
  public void shutdown() {}

  @Override
  public void cleanup() {}
  //end JobProfile

  /**
   * Configure the sketch
   */
  public abstract void configure();

  /**
   * Return the average update time per update for this trial
   * @param uPerTrial the number of unique updates for this trial
   * @return the average update time per update for this trial
   */
  public abstract double doTrial(final int uPerTrial);

  /**
   * Traverses all the unique axis points and performs trials(u) at each point
   * and outputs a row per unique axis point.
   */
  private void doTrials() {
    final int maxU = 1 << lgMaxU;
    final int minU = 1 << lgMinU;
    int lastU = 0;
    final StringBuilder dataStr = new StringBuilder();
    job.println(getHeader());
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



