Skip to content
This repository has been archived by the owner on Aug 23, 2023. It is now read-only.

Fix benchmarks #2016

Merged
merged 1 commit into from
Feb 2, 2022
Merged

Fix benchmarks #2016

merged 1 commit into from
Feb 2, 2022

Conversation

pub-djedruszczak
Copy link
Contributor

Most if not all benchmarks were failing because the test series had an interval of 0 -- causing a panic when dividing by 0 when normalizing the series.

This PR modifies the test functions to return the interval as well as the datapoints.

@pub-djedruszczak pub-djedruszczak changed the title Fix benchmarks (#117) Fix benchmarks Dec 2, 2021
Copy link
Contributor

@Dieterbe Dieterbe left a comment

Choose a reason for hiding this comment

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

nice one!

@Dieterbe Dieterbe merged commit ab20dbd into grafana:master Feb 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants