Skip to content

[Profiler] Use libdatadog as buffer#2990

Merged
kevingosse merged 8 commits into
masterfrom
kevin/no_buffer
Aug 24, 2022
Merged

[Profiler] Use libdatadog as buffer#2990
kevingosse merged 8 commits into
masterfrom
kevin/no_buffer

Conversation

@kevingosse

Copy link
Copy Markdown
Contributor

Summary of changes

Instead of having an intermediary buffer in the SamplesAggregator, have the SamplesCollector directly push the samples to libdatadog.

Reason for change

Slight optimization (since libdatadog directly aggregates the samples), plus laying the groundwork for supporting endpoint aggregation.

@kevingosse kevingosse added the area:profiler Issues related to the continous-profiler label Jul 19, 2022
@kevingosse
kevingosse requested a review from a team as a code owner July 19, 2022 10:56
@kevingosse
kevingosse force-pushed the kevin/no_buffer branch 2 times, most recently from 881ae9c to db9ed5c Compare July 25, 2022 14:06

@gleocadie gleocadie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM + one question

Comment thread profiler/test/Datadog.Profiler.Native.Tests/SamplesAggregatorTest.cpp Outdated

@gleocadie gleocadie left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

Comment thread profiler/src/ProfilerEngine/Datadog.Profiler.Native/LibddprofExporter.cpp Outdated

@chrisnas chrisnas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@kevingosse
kevingosse merged commit 499a55b into master Aug 24, 2022
@kevingosse
kevingosse deleted the kevin/no_buffer branch August 24, 2022 18:18
@github-actions github-actions Bot added this to the vNext milestone Aug 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:profiler Issues related to the continous-profiler

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants