private static int makeHash(int value) {
        final int seed = 1333337;
        byte[] bytes = ByteBuffer.allocate(4).putInt(value).array();
        return hashGenerator.hash(bytes, 0, 4, seed);
    }
This benchmarks performs a series of unique counting tests to analyse the HyperLogLog accuracy.
searchlib/src/test/java/com/yahoo/searchlib/aggregation/hll/HyperLogLogPrecisionBenchmark.java