for performance
4 files changed
tree: af2bd15989d2f956c627760e64cec5b0068be8ce
  1. report/
  2. shadingsphere-benchmark-ui/
  3. sharding-proxy-conf/
  4. shardingsphere-benchmark/
  5. README.md
README.md

incubator-shardingsphere-benchmark

shadingsphere-benchmark-ui

Builds setup


shadingsphere-benchmark-ui/README.md

shardingsphere-benchmark

Builds setup


step 1: build shardingsphere-benchmark # Notes: this tool depend on the master of incubator-shardingsphere, you should compile the master of incubator-shardingsphere first if the version of master has not been released. # mvn clean install step 2: copy target jar to jmeter lib/ext # cp shardingsphere-benchmark-1.0-SNAPSHOT-jar-with-dependencies.jar apache-jmeter-**/lib/ext step 3: run jmeter test plan with target class # jmeter –n –t test_plan/test.jmx # test.jmx example:https://github.com/apache/incubator-shardingsphere-benchmark/tree/master/report/script/test_plan/test.jmx # Notes: test.jmx is just an example, you should change the name of class according to your performance code, and the ip/port in shardingsphere-benchmark should be modified to real machine.

sharding-proxy-conf

The configurations for Sharding-Proxy with four scenes in benchmark are given here.

# machines info
Please read report/machine_description file.