Benchmarking String's indexOf() and contains() Execute the benchmark by doing $ mvn clean install followed by $ java -jar target/benchmarks.jar