Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 966 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 966 Bytes

run microbenchmarks locally

run microbenchmarks with docker

Build docker image:

cd src/main/docker
docker build . -t microbenchmarks

And run benchmarks with:

./mvnw clean package
docker run --privileged --rm -v $PWD/target:/work microbenchmarks java -jar /work/benchmarks.jar -prof "async:output=flamegraph;dir=/work"

Without docker, you can run benchmarks directly on your machine with:

LD_LIBRARY_PATH=/home/jarek/tools/async-profiler/lib/ java -jar target/benchmarks.jar -prof "async:output=flamegraph"