This module includes JMH benchmarks for Brave instrumentation. You can use these to measure overhead of using Brave.
From the project directory, run this to build the benchmarks:
$ ./mvnw install -pl instrumentation/benchmarks -am -Dmaven.test.skip.exec=true`
and the following to run them:
$ java -jar instrumentation/benchmarks/target/benchmarks.jar