thulab / iot-benchmark

IoT-benchmark is a tool for benchmarking TSDB in IoT scenario.
Apache License 2.0
180 stars 101 forks source link

Optimize IoTDB iterate way #370

Closed JackieTien97 closed 1 year ago

JackieTien97 commented 1 year ago

For the case that we don't need to verify the correctness of the result, we should use DataIterator to iterate the ResultSet instead of using SessionDataSet.next() which will cause unnecessary overhead for constructing RowRecord, this may be nonnegligible while the result set is very large.