JHM benchmarks for ORM Frameworks
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src/main/java/org/jfaster/mango/benchmark
.travis.yml
README.md
benchmark.cmd
benchmark.png
benchmark.sh
pom.xml

README.md

Build Status

  • Jdbc means using only native jdbc API, do not use any ORM frameworks.
  • One Query Cycle is defined as single select id, name, age from user where id = ?.
  • One Update Cycle is defined as single update user set age = ? where id = ?.
1 Versions: mango 1.3.5, spring-jdbc 4.0.5, mybatis 3.4.0, hsqldb 2.3.1, Java 1.7.0_25
2 Java options: -server -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms1096m -Xmx1096m

How to run?

Requires JDK 1.7 or higher.

  • git clone https://github.com/jfaster/mango-benchmark.git
  • cd mango-benchmark
  • mvn clean package
  • sh benchmark.sh for Linux or benchmark.cmd for Windows

The benchmark.sh and benchmark.cmd script is a wrapper around JMH execution. A full run of the benchmark will take about 10 minutes for all frameworks.