cookjson-benchmark contains some benchmark tests that compare CookJson
against GlassFish implementation, Jackson and Bson4Jackson.
Clone, Build and Run the Benchmarks¶
Basically, run the following sequence of commands:
git clone https://github.com/coconut2015/cookjson.git cd cookjson mvn clean package cd cookjson-benchmark java -jar target/benchmarks.jar
Here are the results on my Lenovo Thinkpad E550. In the following charts, shorter bars indicate better performance.