Skip to content

jfaster/mango-benchmark

Repository files navigation

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.

About

JHM benchmarks for ORM Frameworks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published