Phoenix Performance Regression Test Suite - v1.0-SNAPSHOT
mvn package
Switch to target dir and execute: java -jar PhoenixRegressor-1.0-SNAPSHOT-jar-with-dependencies.jar
Setting are in settings.json file.
- This uses test JSONs located at TEST directory. These test GSONs include Phoenix DDL, DML and basic rules for data upserts.
- RESULT path stores individual test result GSONs
- _PUBLISH PATH path stores HTML results. See HTML Publishing section below
- ITERATIONS number of iterations to run query for and pick the lowest execution time
- LOAD DATA reload synthetic CSV data
If you want to compare say, two different Phoenix versions, change Phoenix version in pom.xml and update label in settings.json, compile and execute. Also do update your HBase server with new Phoenix jar, wipe all tables and restart server before you begin your test. Now you would get multiple result files in RESULT directory based on different labels that can be used for comparison.
java -jar PhoenixRegressor-1.0-SNAPSHOT-jar-with-dependencies.jar publish
This will produce comparison graphs in HTML located at PUBLISH_PATH based on all the result files available in RESULT directory