Skip to content

Example setup which demonstrates how to run JMH tests using docker

License

Notifications You must be signed in to change notification settings

Jotschi/jmh-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JMH Docker Setup

Example project which demonstrates how to run JMH Benchmark tests using docker.

The testcontainers Java test library will be used to generate and run a container which contains the JMH tests.

How to run

Just run the JMHRunnerTest. This test will build and run the docker container. By default the results will be stored on the docker host in the /opt/results folder.

The setup will also generate a combined provided.js of all previously found benchmark result files. You can run the JMH Visualizer to display the these combined results.

docker run -p 8080:80 -v /opt/results/provided.js:/usr/share/nginx/html/provided.js jotschi/jmh-visualizer

About

Example setup which demonstrates how to run JMH tests using docker

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages