bravehorsie / jsonp-jmh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About


Languages

Language:Java 95.5%Language:Shell 4.5%