ParallelGC vs G1GC performance

Martijn Verburg martijnverburg at gmail.com
Thu Jul 9 10:35:42 UTC 2015


Hi Richard,

Once you've written up your article I'd recommend getting your benchmarks
peer reviewed at one of 3 mailing lists:

* jmh-dev at openjdk.java.net
* Mechanical Sympathy
* friends at jclarity.com



Cheers,
Martijn

On 8 July 2015 at 19:48, Richard Kolb <rjdkolb at gmail.com> wrote:

> Hello everyone,
>
> I have done some basic performance benchmarking using my own home baked JMH
> bench marks <https://github.com/AdoptOpenJDK/vmbenchmarks>
> (A proper article to come)
> Also I'm not a mirco benchmark expert, so some of these tests may be
> incorrect from a micro benchmark point of view.
>
> I used the following JVMs on Ubuntu Linux 64bit :
> 1.9.0-ea-b70 64bit
> 1.8.0_45 64bit
>
> All values are in operations per second, so higher is better.
> ParallelGC wins every time.
>
>
> *Java 8* *Java 8 G1GC* *Java 9* *Java 9 G1GC*  *DynamicLanguages.groovy*
> 402.142 352.266 397.495 370.121
> *ExceptionsBenchMark.throwRuntimeException*
> 885181.859 823326.931 910622.671 843228.203
> *GeneratePoiWorkBook.generatePoiXLSWorkBook* 34205.392 28162.636 35129.546
> 28693.55  *GeneratePoiWorkBook.generatePoiXLSXWorkBook* 1125.074 980.061
> 1172.468 1012.47  *GeneratePrimeNumbersWithForLoop.generatePrime*
> 231035.868
> 230904.102 231405.021 230599.11  *Jackson.jsonMashal* 30019.081 22232.937
> 31908.426 24242.968  *Jackson.jsonUnmashal* 26942.264 20443.724 26736.986
> 22404.13  *Jackson.xmlMashalJackson* 22868.064 19657.647 23112.766
> 19947.204
> *Jackson.xmlMashalJacksonStatic* 691051.644 441105.658 745753.342
> 487013.862
> *Jackson.xmlUnmashalJackson* 11620.793 9143.764 11681.19 9915.961
> *Jackson.xmlUnmashalJacksonStatic* 92897.944 70261.49 96174.969 73341.546
> *JaxbMashalUnMashal.mashal* 988.781 925.565 2587.721 2345.568
> *JaxbMashalUnMashal.mashalStatic* 164904.491 136569.201 207380.024
> 190202.406  *JaxbMashalUnMashal.unmashal* 873.89 783.885 1928.468 1721.395
> *JaxbMashalUnMashal.unmashalStatic* 11348.605 7578.279 12184.689 8682.734
> *Reflection.doReflection* 1676241.984 1572468.245 1738819.079 1738759.745
> *RegularExpressions.validateEmail* 514686.286 476725.225 535478.698
> 490515.516
> regards,
> Richard.
>


More information about the adoption-discuss mailing list