Benchmarking Object Pool Implementations
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Object Pool Benchmarks

This repository has JMH benchmarks for different object pool implementations.

Following are the object pools used in this project.

Building the project

Build the benchmarks using Apache Maven

mvn clean package

Running the benchmarks

Run the benchmarks using the script. I recommend following command.

time ./ 2>&1 | tee benchmark.log

This script will run the benchmarks for different number of threads and different number of object pool sizes.

All parameters are defined using variables in the script. You can change the parameters by editing the script.

The results of the all benchmarks will be saved in results directory.

Plotting Charts from the results

The results from all benchmarks can be visualized using the Python script.

The script is tested only with Python 3.6. Please make sure to install seaborn module, which will also install other dependencies

python3.6 -m pip install seaborn

The script must be run inside the results directory.

cd results


Copyright 2016 M. Isuru Tharanga Chrishantha Perera

Licensed under the Apache License, Version 2.0