Skip to content

Conversation

@Victor-C-Zhang
Copy link
Contributor

Summary:
The idea of the tracer was to be an RAII holder of state for an individual trace because the CompressionTraceHooks class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for ChunkTrace. (Or maybe ChunkTracer?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Differential Revision: D87656706

@meta-cla meta-cla bot added the cla signed label Nov 24, 2025
@meta-codesync
Copy link

meta-codesync bot commented Nov 24, 2025

@Victor-C-Zhang has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87656706.

Victor-C-Zhang added a commit to Victor-C-Zhang/openzl-1 that referenced this pull request Nov 24, 2025
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Differential Revision: D87656706
Victor-C-Zhang added a commit to Victor-C-Zhang/openzl-1 that referenced this pull request Nov 25, 2025
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Reviewed By: terrelln

Differential Revision: D87656706
Victor-C-Zhang added a commit to Victor-C-Zhang/openzl-1 that referenced this pull request Nov 25, 2025
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Reviewed By: terrelln

Differential Revision: D87656706
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Reviewed By: terrelln

Differential Revision: D87656706
Victor-C-Zhang added a commit to Victor-C-Zhang/openzl-1 that referenced this pull request Nov 25, 2025
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Reviewed By: terrelln

Differential Revision: D87656706
Victor-C-Zhang added a commit to Victor-C-Zhang/openzl-1 that referenced this pull request Dec 1, 2025
…k#230)

Summary:

The idea of the tracer was to be an RAII holder of state for an individual trace because the `CompressionTraceHooks` class could take multiple traces.

Now that a trace contains multiple independent chunk traces, this is the rationale to do the same for `ChunkTrace`. (Or maybe `ChunkTracer`?) This will make it easier to process for visualization as well, since all the stream, graph, and codec IDs will line up, making it easier to make UI optimizations like merging chunks with identical trees or diffing between chunks.

Reviewed By: terrelln

Differential Revision: D87656706
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant