Bug 92052 - Fix regressions in replay performance tests
Summary: Fix regressions in replay performance tests
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Ryosuke Niwa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-23 18:35 PDT by Ryosuke Niwa
Modified: 2012-07-24 11:31 PDT (History)
6 users (show)

See Also:


Attachments
Patch (5.56 KB, patch)
2012-07-23 18:43 PDT, Ryosuke Niwa
no flags Details | Formatted Diff | Diff
Archive of layout-test-results from gce-cr-linux-07 (334.98 KB, application/zip)
2012-07-23 20:37 PDT, WebKit Review Bot
no flags Details
Patch (6.24 KB, patch)
2012-07-23 21:36 PDT, Ryosuke Niwa
dpranke: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ryosuke Niwa 2012-07-23 18:35:35 PDT
Fix regressions in replay performance tests
Comment 1 Ryosuke Niwa 2012-07-23 18:43:04 PDT
Created attachment 153931 [details]
Patch
Comment 2 WebKit Review Bot 2012-07-23 20:37:18 PDT
Comment on attachment 153931 [details]
Patch

Attachment 153931 [details] did not pass chromium-ews (chromium-xvfb):
Output: http://queues.webkit.org/results/13325300

New failing tests:
fast/ruby/generated-before-counter-doesnt-crash.html
fast/loader/null-request-after-willSendRequest.html
fast/css-generated-content/malformed-url.html
fast/ruby/before-table-doesnt-crash.html
svg/W3C-SVG-1.1-SE/svgdom-over-01-f.svg
fast/ruby/before-block-doesnt-crash.html
Comment 3 WebKit Review Bot 2012-07-23 20:37:22 PDT
Created attachment 153945 [details]
Archive of layout-test-results from gce-cr-linux-07

The attached test failures were seen while running run-webkit-tests on the chromium-ews.
Bot: gce-cr-linux-07  Port: <class 'webkitpy.common.config.ports.ChromiumXVFBPort'>  Platform: Linux-2.6.39-gcg-201203291735-x86_64-with-Ubuntu-10.04-lucid
Comment 4 Ryosuke Niwa 2012-07-23 21:36:39 PDT
Created attachment 153953 [details]
Patch
Comment 5 Dirk Pranke 2012-07-24 11:07:17 PDT
Comment on attachment 153953 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=153953&action=review

> Tools/Scripts/webkitpy/performance_tests/perftest_unittest.py:198
> +        self.assertEqual(port.host.filesystem.files['/path/some-dir/some-test-actual.png'], 'actual image')

I try to keep clients of the mock filesystem from actually accessing files; it should probably be _files instead. Can you change this to filesystem.read_binary_file()?

> Tools/Scripts/webkitpy/performance_tests/perftest_unittest.py:285
> +        self.assertEqual(port.host.filesystem.files['/path/some-dir/some-test-expected.png'], 'actual image')

same thing ...
Comment 6 Ryosuke Niwa 2012-07-24 11:16:36 PDT
Comment on attachment 153953 [details]
Patch

Thanks for the review. Landing the patch after addressing the comments.
Comment 7 Ryosuke Niwa 2012-07-24 11:31:17 PDT
Committed r123498: <http://trac.webkit.org/changeset/123498>