Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Issue 112423006: Real world impact script: scalable manual rendering QA (Closed)

Created:
7 years ago by johnme
Modified:
6 years, 2 months ago
Reviewers:
pdr., skobes, timvolodine
CC:
chromium-reviews
Visibility:
Public.

Description

Real world impact script: scalable manual rendering QA Layout Tests can tell you whether rendering has changed, but it's often hard to determine whether a subtle/controversial change is beneficial without additional context. This script aims to provide that context. It takes screenshots of 1000s of sites, both before and after applying the patch being evaluated, then diffs each pair of screenshots and sorts them by greatest difference in rendering, in an HTML report. A human reviewer can then manually skim through this to review the most impacted sites, rather than having to browse random sites to see what their patch changed. This is a script I wrote at the start of the year (but hadn't got round to uploading a patch, as it used to depend on proprietary binaries; I fixed that dependency by writing a replacement: crrev.com/67973005). The script isn't yet smart enough to build content_shell itself, so you run it in several steps: 1. Build content_shell in out/Release, without the controversial patch. 2. Run: real_world_impact.py before [num sites to test (default 1000)] 3. Apply the controversial patch, and rebuild content_shell in out/Release. 4. Run: real_world_impact.py after [num sites to test (default 1000)] 5. Run: real_world_impact.py compare [num sites to test (default 1000)] In practice I use the following bash function to drive it: http://pastebin.com/yJ7KAGdX BUG=135823

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+595 lines, -0 lines) Patch
A tools/real_world_impact/nsfw_urls.py View 1 chunk +80 lines, -0 lines 0 comments Download
A tools/real_world_impact/real_world_impact.py View 1 chunk +515 lines, -0 lines 1 comment Download

Messages

Total messages: 5 (0 generated)
johnme
There are many things that could be improved with this patch: - Use proper chromium ...
7 years ago (2013-12-19 19:27:10 UTC) #1
pdr.
Wow, this is fantastic. I agree that we should get this in :) I had ...
6 years, 11 months ago (2014-01-06 23:27:32 UTC) #2
skobes
Hey John, how do you feel about submitting this? It would be great to have ...
6 years, 9 months ago (2014-03-07 21:43:33 UTC) #3
pdr.
On 2014/03/07 21:43:33, skobes wrote: > Hey John, how do you feel about submitting this? ...
6 years, 9 months ago (2014-03-13 22:23:08 UTC) #4
pdr.
6 years, 9 months ago (2014-03-22 04:09:12 UTC) #5
I've uploaded this for review at https://codereview.chromium.org/209393002

Powered by Google App Engine
This is Rietveld 408576698