yueawang / oap-perf-suite

OAP Cluster Performance TestSuite
2 stars 5 forks source link

[Please ignore the last PR]dump index cost result to file 'index-cost' when generating data #12

Open zhangweilst opened 6 years ago

zhangweilst commented 6 years ago

1, Modified the return value of methods "buildBtreeIndex" and "buildBitmapIndex" in class OapBenchmarkDataBuilder from Unit to (String, Array[String]), which is the index cost. 2, Add the private _resultMap variable to class OapBenchmarkDataBuilder, similar to that in the test suite. 3, At the same time, modify the script oap_perf_test.sh to output the result to file 'index-cost'. 4, Still has the analyze.py part to do.

zhangweilst commented 6 years ago

@yueawang pls help check the code

zhangweilst commented 6 years ago

@yueawang I'm working on this right now. About file size and time, do you mean built file size and build time? We tend not to use the diff tool, because the analyze.py file is responsible for the comparison work. I'm thinking about adding the index/file size change into the dailytest report if data is re-generated. What do you think?

yueawang commented 6 years ago

@zhangweilst , no problem, you can either use analyze.py or introduce a new diff tool, it depends on your design. you may think if it can be a diff framework, i.e. different tools for different purposes, that is much better.

zhangweilst commented 6 years ago

@yueawang OK, I'll try to do that.