Skip to content

Conversation

@jt2594838
Copy link
Contributor

@jt2594838 jt2594838 commented Apr 23, 2025

When closing a TsFile:

  1. The sort of chunk metadata is refactored to reduce redundant calculation;
  2. Introduce no-sync streams to reduce synchronization cost during serializing TimeSeriesMetadata;
  3. Remove zeroization in [DeltaBinaryEncoder].

@jt2594838 jt2594838 changed the title Optimizations regarding chunk metadata sort & timeseries medata serialization Optimizations regarding chunk metadata sort & timeseries metadata serialization Apr 23, 2025
+ '}';
}

public static void main(String[] args) throws IOException {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this test be deleted?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, the serialization still accounts for a significant part in my experiment, so I would like to keep this a little longer in case I find some further optimizations in the future.

@jt2594838 jt2594838 merged commit 4b75866 into develop Apr 23, 2025
21 of 22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants