Bug 155511 - Add developer Animometer test that bounces P3-tagged images
Summary: Add developer Animometer test that bounces P3-tagged images
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-15 14:08 PDT by Simon Fraser (smfr)
Modified: 2016-03-15 15:47 PDT (History)
7 users (show)

See Also:


Attachments
Patch (456.73 KB, patch)
2016-03-15 14:09 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (471.15 KB, patch)
2016-03-15 14:18 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Patch (471.91 KB, patch)
2016-03-15 14:40 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Really wait for images to load this time (472.04 KB, patch)
2016-03-15 14:50 PDT, Simon Fraser (smfr)
no flags Details | Formatted Diff | Diff
Really wait for images to load this time (472.04 KB, patch)
2016-03-15 14:58 PDT, Simon Fraser (smfr)
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2016-03-15 14:08:14 PDT
Add developer Animometer test that bounces P3-tagged images
Comment 1 Simon Fraser (smfr) 2016-03-15 14:09:01 PDT
Created attachment 274126 [details]
Patch
Comment 2 Simon Fraser (smfr) 2016-03-15 14:18:28 PDT
Created attachment 274128 [details]
Patch
Comment 3 Jon Lee 2016-03-15 14:21:16 PDT
Comment on attachment 274126 [details]
Patch

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

Please make sure the images are the same size.

> PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js:46
> +        this.imageSrc = options["imageSrc"] || "../resources/yin-yang.svg";

Remove, this is not needed.

There are existing tests in the master suite that preload the images prior to initializing the benchmark. Can we do that here?

> PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js:67
> +window.benchmarkClass = BouncingCssImagesBenchmark;

I'd rather go with a name explaining what it's testing and not its visual behavior, like TaggedImageBenchmark, TaggedImageStage, TaggedImageParticle.

> PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js:71
> +/*

please remove.
Comment 4 Simon Fraser (smfr) 2016-03-15 14:40:34 PDT
Created attachment 274131 [details]
Patch
Comment 5 Jon Lee 2016-03-15 14:43:21 PDT
Comment on attachment 274131 [details]
Patch

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

Provisional r=me with the added code.

> PerformanceTests/Animometer/tests/bouncing-particles/resources/bouncing-tagged-images.js:96
> +    }

, {

    waitUntilReady: function() {
        this.readyPromise = new SimplePromise;
        return this.readyPromise;
    }
Comment 6 Simon Fraser (smfr) 2016-03-15 14:50:51 PDT
Created attachment 274133 [details]
Really wait for images to load this time
Comment 7 Simon Fraser (smfr) 2016-03-15 14:58:51 PDT
Created attachment 274134 [details]
Really wait for images to load this time
Comment 8 Jon Lee 2016-03-15 15:00:19 PDT
Comment on attachment 274134 [details]
Really wait for images to load this time

Provisional r=me.
Comment 9 Simon Fraser (smfr) 2016-03-15 15:47:19 PDT
https://trac.webkit.org/r198236