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

RUMM-3222 Don't scale down refresh rate multiple times #1293

Merged
merged 2 commits into from
May 30, 2023

Conversation

ganeshnj
Copy link
Contributor

@ganeshnj ganeshnj commented May 30, 2023

What and why?

During fixing the variable refresh rate calculation, the normalization was applied during the refresh rate determination phase, but the logic to normalize it again during the reporting was kept which resulted in double normalization.

Eg. First we normalize based on the logic of targetTimestamp and then divide by 2 for 120Hz display.

How?

Remove second normalization phase during the reporting.

What and why?

A short description of what changes this PR introduces and why.

How?

A brief description of implementation details of this PR.

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)
  • Make sure each commit and the PR mention the Issue number or JIRA reference
  • Add CHANGELOG entry for user facing changes

Custom CI job configuration (optional)

  • Run unit tests
  • Run integration tests
  • Run smoke tests

### What and why?

During fixing the variable refresh rate calculation, the normalization was applied during the refresh rate determination phase, but the logic to normalize it again during the reporting was kept which resulted in double normalization.

Eg. First we normalize based on the logic of targetTimestamp and then divide by 2 for 120Hz display.

### How?

Remove second normalization phase during the reporting.
@ganeshnj ganeshnj requested a review from a team as a code owner May 30, 2023 12:56
@datadog-datadog-prod-us1
Copy link

datadog-datadog-prod-us1 bot commented May 30, 2023

Datadog Report

Branch report: ganeshnj/fix/RUM-3222-remove-normalization
Commit report: f24e8ef

dd-sdk-ios: 0 Failed, 0 New Flaky, 2174 Passed, 0 Skipped, 20m 11.99s Wall Time

Copy link
Member

@maxep maxep left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@ganeshnj ganeshnj merged commit 21dc944 into develop May 30, 2023
@maxep maxep deleted the ganeshnj/fix/RUM-3222-remove-normalization branch May 30, 2023 14:32
@maxep maxep mentioned this pull request May 30, 2023
6 tasks
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