Skip to content

mujtabachohan/PhoenixRegressor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PhoenixRegressor

Phoenix Performance Regression Test Suite - v1.0-SNAPSHOT

Build

mvn package

Execute

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.

HTML Publishing

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

About

Phoenix Performance Regression Test Suite

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages