src/main/java/org/apache/datasketches/characterization/filters/BaseFilterUpdateSpeedProfile.java [109:135]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            job.println(dataStr.toString());
        }
    }

    /**
     * Computes the number of trials for a given current number of uniques for a
     * trial set. This is used in speed trials and decreases the number of trials
     * as the number of uniques increase.
     *
     * @param curU the given current number of uniques for a trial set.
     * @return the number of trials for a given current number of uniques for a
     * trial set.
     */
    private int getNumTrials(final int curU) {
        final int minBpU = 1 << lgMinBpU;
        final int maxBpU = 1 << lgMaxBpU;
        final int maxT = 1 << lgMaxT;
        final int minT = 1 << lgMinT;
        if (lgMinT == lgMaxT || curU <= minBpU) {
            return maxT;
        }
        if (curU >= maxBpU) {
            return minT;
        }
        final double lgCurU = log(curU) / LN2;
        final double lgTrials = slope * (lgCurU - lgMinBpU) + lgMaxT;
        return (int) pow(2.0, lgTrials);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/org/apache/datasketches/characterization/uniquecount/BaseSerDeProfile.java [123:149]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      job.println(dataStr.toString());
    }
  }

  /**
   * Computes the number of trials for a given current number of uniques for a
   * trial set. This is used in speed trials and decreases the number of trials
   * as the number of uniques increase.
   *
   * @param curU the given current number of uniques for a trial set.
   * @return the number of trials for a given current number of uniques for a
   * trial set.
   */
  private int getNumTrials(final int curU) {
    final int minBpU = 1 << lgMinBpU;
    final int maxBpU = 1 << lgMaxBpU;
    final int maxT = 1 << lgMaxT;
    final int minT = 1 << lgMinT;
    if (lgMinT == lgMaxT || curU <= minBpU) {
      return maxT;
    }
    if (curU >= maxBpU) {
      return minT;
    }
    final double lgCurU = log(curU) / LN2;
    final double lgTrials = slope * (lgCurU - lgMinBpU) + lgMaxT;
    return (int) pow(2.0, lgTrials);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



