Open zhangweilst opened 6 years ago
@yueawang pls help check the code
@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?
@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.
@yueawang OK, I'll try to do that.
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.