this is new version of ts-benchmark,the old version please see this
ts benchmark is tool used to test timeseries database
- Java >= 1.8
- Maven >= 3.0
- clone ts-benchmark
git clone [email protected]:dbiir/ts-benchmark.git
- build project
sh build.sh
- create new maven project and add this dependency in pom.xml
<dependency>
<groupId>cn.edu.ruc</groupId>
<artifactId>TS-BM</artifactId>
<version>1.0</version>
</dependency>
- implements interface
cn.edu.ruc.adapter.BaseAdapter
- use
TSBM.startPerformTest(dataPath, className, ip, port, userName, passwd)
example:
String dataPath = "/Users/fasape/project/tsdb-test/";
String className = "cn.edu.ruc.TimescaledbAdapter";
String ip = "10.77.110.226";
String port = "5432";
String userName = "postgres";
String passwd = "postgres";
TSBM.startPerformTest(dataPath, className, ip, port, userName, passwd);
if you want to see detail examples please see this project