Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 1.06 KB

README.md

File metadata and controls

25 lines (18 loc) · 1.06 KB

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.