Closed Bug 973690 Opened 10 years ago Closed 8 years ago

Use eideticker to measure "checkerboarding" on FirefoxOS

Categories

(Testing Graveyard :: Eideticker, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: wlach, Assigned: wlach)

Details

Attachments

(1 file)

Filing this bug to track adding some kind of way to measuring "checkerboarding" (periods where we are waiting for the screen to redraw completely after a scroll) in FirefoxOS.
Here's an initial attempt where we just get the sum of all the frame entropies in the whole capture. Since frames where there is checkerboarding have lower entropies, this should in theory tell us when we have regressed or improved on this benchmark.
Assignee: nobody → wlachance
Attachment #8383409 - Flags: review?(mchang)
Comment on attachment 8383409 [details] [diff] [review]
Measure overall entropy during capture

Review of attachment 8383409 [details] [diff] [review]:
-----------------------------------------------------------------

::: src/eideticker/eideticker/metrics.py
@@ +45,4 @@
>          capture, threshold=analysis_props['animation_threshold'])
>      metrics['checkerboard'] = videocapture.get_checkerboarding_area_duration(
>          capture)
> +    metrics['overallentropy'] = videocapture.get_overall_entropy(capture)

Nit: add the space back between metrics and the if here.
Attachment #8383409 - Flags: review?(mchang) → review+
Pushed with nit addressed: https://github.com/mozilla/eideticker/commit/b6ecbb54cdb3c1ddcc72ac4f0f9d13a16c599ed8

Going to leave this open for a few followups to make it easier to visualize entropy-related data and possibly change the reporting default to make these results more obvious for (e.g.) the scrolling tests.
This is as fixed as it's going to be for the forseeable future. Eideticker for FxOS is not under active development.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Testing → Testing Graveyard
You need to log in before you can comment on or make changes to this bug.