Skip to content
This repository was archived by the owner on Nov 7, 2025. It is now read-only.

Conversation

@nablaone
Copy link
Member

@nablaone nablaone commented Nov 11, 2024

This PR adds a different rendering of performance gain for extreme values:

  1. when both response times are speedy (<50ms) we don't compute a gain, it doesn't make sense
  2. when one of the sides is significantly slower (over 5s), we show which is slower (it may be an infrastructure issue)
Screenshot 2024-11-11 at 14 51 48

@nablaone nablaone marked this pull request as ready for review November 11, 2024 13:56
@nablaone nablaone requested a review from a team as a code owner November 11, 2024 13:56
@nablaone
Copy link
Member Author

We should replace "Performance gain" with "Response time delta".

We should compute how much clickhouse is faster than elastic. Elastic time is our baseline.

@nablaone
Copy link
Member Author

Changed. It's ready for review now.

Screenshot 2024-11-12 at 15 43 48

buffer.Html(`><a title="Compatibility Report" href="`)
buffer.Html(abTestingPath)
buffer.Html(`">A/B</a></li>`)
buffer.Html(`">CR</a></li>`)
Copy link
Member

@avelanarius avelanarius Nov 12, 2024

Choose a reason for hiding this comment

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

Don't forget that there are instances of "A/B testing" still left in ab_testing.go (such as A/B Testing - Panel Details).

It's OK if you want to do it in a followup PR.

Copy link
Member

@avelanarius avelanarius left a comment

Choose a reason for hiding this comment

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

LGTM, left 2 suggestions

Co-authored-by: Piotr Grabowski <[email protected]>
Signed-off-by: Rafał Strzaliński <[email protected]>
@avelanarius
Copy link
Member

gofmt fails (tabs vs spaces 😢)

@nablaone nablaone added this pull request to the merge queue Nov 13, 2024
Merged via the queue into main with commit 87656c9 Nov 13, 2024
5 checks passed
@nablaone nablaone deleted the pr-ab-perf-display branch November 13, 2024 09:46
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.

3 participants