Here's an example of a microbenchmark that uses multiple random inputs simulating various typical populations: https://github.com/google/caliper/blob/master/caliper-examples/src/main/java/examples/Utf8Benchmark.java