Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce allocations/cpu from scraping #392

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

jwilder
Copy link
Collaborator

@jwilder jwilder commented Sep 19, 2024

This is a followup to the prior streaming collection PR where we reduce the CPU and allocations incurred during scraping.

benchmark old ns/op new ns/op delta
BenchmarkIterator_TimeSeries-10 365 119 -67.39%

benchmark old allocs new allocs delta
BenchmarkIterator_TimeSeries-10 9 0 -100.00%

benchmark old bytes new bytes delta
BenchmarkIterator_TimeSeries-10 480 0 -100.00%

This is a followup to the prior streaming collection PR where we
reduce the CPU and allocations incurred during scraping.

benchmark                           old ns/op     new ns/op     delta
BenchmarkIterator_TimeSeries-10     365           119           -67.39%

benchmark                           old allocs     new allocs     delta
BenchmarkIterator_TimeSeries-10     9              0              -100.00%

benchmark                           old bytes     new bytes     delta
BenchmarkIterator_TimeSeries-10     480           0             -100.00%
@jwilder jwilder merged commit 64d1ed5 into main Sep 20, 2024
4 checks passed
@jwilder jwilder deleted the jwilder/ingestor-regress branch September 20, 2024 01:39
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.

2 participants