You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@tsfile.apache.org by "Caideyipi (via GitHub)" <gi...@apache.org> on 2026/08/20 04:41:31 UTC

[PR] [Performance] Optimize DataSetWithoutTimeGenerator merge hot path [tsfile]

Caideyipi opened a new pull request, #912:
URL: https://github.com/apache/tsfile/pull/912

   What changed:
   
   DataSetWithoutTimeGenerator already scans every series for each emitted RowRecord. This change computes the next minimum timestamp during that required scan, replacing the additional boxed List/Boolean state, LongHeapPriorityQueue, and LongOpenHashSet maintenance.
   
   The merge behavior is covered across sparse timestamps, batch boundaries, empty readers, duplicate timestamps, and Long.MIN_VALUE/Long.MAX_VALUE.
   
   Validation:
   
   - mvnw.cmd test -P with-java -pl java/tsfile -Dtest=DataSetWithoutTimeGeneratorTest
   - 3 tests passed; Checkstyle and Spotless passed.
   - The SCADA benchmark identified DataSetWithoutTimeGenerator.timeHeapPut as 181 JFR samples spanning 6.533 seconds.
   
   The branch is based on the latest upstream/develop and has only been pushed to the contributor fork.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@tsfile.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [Performance] Optimize DataSetWithoutTimeGenerator merge hot path [tsfile]

Posted by "Caideyipi (via GitHub)" <gi...@apache.org>.
Caideyipi closed pull request #912: [Performance] Optimize DataSetWithoutTimeGenerator merge hot path
URL: https://github.com/apache/tsfile/pull/912


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@tsfile.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org