jsonp-jmh

JMH project created for testing jsonp.

It appears, there is noticable difference between performance of JsonGeneratorImpl between 1.0.4 and 1.1.0-SNAPSHOT. Simple test, which has cached JsonProvider instance and only creates JsonGenerator and writes five string values into object demonstrates it.

Please try:

./run.sh 1.0.4

BenchmarkModeCntScoreErrorUnits
JsonGeneratorTest.test1JsonbStringWriterthrpt104484.430159.659ops/ms

./run.sh 1.1.0-SNAPSHOT

BenchmarkModeCntScoreErrorUnits
JsonGeneratorTest.test1JsonbStringWriterthrpt103256.665205.003ops/ms