Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java Benchmarking [closed]

We are doing benchmarking for Perl,Php, Python interpreters using there standard benchmark tools like perlbench,pybench and php bench.

Now we need to benchmark JAVA and found "OLIO" kit would help. But seems OLIO supports php and rails.

Please suggest me some of the best benchmarking tools for JAVA which is open source. Jmeter is the one we know which is used for load testing.

thank you..

like image 767
Vinod HC Avatar asked Mar 04 '13 10:03

Vinod HC


People also ask

How do you run JMH benchmarks?

There are two ways to run the JMH benchmark, uses Maven or run it via a JMH Runner class directly. 3.1 Maven, package it as a JAR and run it via org. openjdk. jmh.

What is JMH Java?

JMH is a Java harness for building, running, and analysing nano/micro/milli/macro benchmarks written in Java and other languages targeting the JVM.

What are Microbenchmarks?

A microbenchmark is a program that tracks and measures the performance of a single well-defined task such as elapsed time, rate of operation, bandwidth, etc. Digital Quality.


1 Answers

SpecJbb for evaluating performance of server side java - http://www.spec.org/jbb2005/
SpecJVM for evaluating performance of the JRE - http://www.spec.org/jvm2008/

MicroBenchmark
JMH - http://openjdk.java.net/projects/code-tools/jmh/
Google Caliper - https://code.google.com/p/caliper/wiki/JavaMicrobenchmarks

Load Testing
Apache Jmeter - http://jmeter.apache.org/index.html

CPU, Memory Profiling
Yourkit - http://www.yourkit.com/overview/index.jsp
VisualVM - http://visualvm.java.net/

like image 101
Ajay George Avatar answered Nov 05 '22 09:11

Ajay George