Skip to content

Conversation

bwplotka
Copy link
Member

Also:

  • split benchmark functions to make sure no one compares across parsers.
  • testdata file have meaningful names reflecting the type representation
  • promtestdata.txt now has all types, taken directly from long running Prometheus (https://demo.do.prometheus.io/)

Needed for #15731

@bwplotka bwplotka requested a review from krajorama February 10, 2025 09:02
Also:
* split benchmark functions to make sure no one compares across parsers.
* testdata file have meaningful names reflecting the type representation
* promtestdata.txt now has all types, taken directly from long running Prometheus (https://demo.do.prometheus.io/)

Needed for #15731

Signed-off-by: bwplotka <bwplotka@gmail.com>
Copy link
Member

@krajorama krajorama left a comment

Choose a reason for hiding this comment

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

LGTM , but as discussed , let's refactor later once more to split along parsers, not formats

@bwplotka bwplotka merged commit 8cd9069 into main Feb 10, 2025
44 checks passed
@bwplotka bwplotka deleted the benchhist branch February 10, 2025 12:26
francoposa pushed a commit to francoposa/prometheus that referenced this pull request Feb 11, 2025
Also:
* split benchmark functions to make sure no one compares across parsers.
* testdata file have meaningful names reflecting the type representation
* promtestdata.txt now has all types, taken directly from long running Prometheus (https://demo.do.prometheus.io/)

Needed for prometheus#15731

Signed-off-by: bwplotka <bwplotka@gmail.com>
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