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

Side by Side Diff: PerformanceTests/PaintInvalidation/grow-shrink-rectangle-invalidate-overlapping.html

Issue 459663002: Revert of Add some performance testing for paint invalidations (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | PerformanceTests/PaintInvalidation/shift-rectangle-left-invalidate.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .test {
6 position: absolute;
7 height: 100px;
8 width: 50px;
9 background-color: navy;
10 }
11
12 .grown {
13 width: 100px;
14 }
15 </style>
16 <script src="../resources/runner.js"></script>
17 </head>
18 <body>
19 <div class="test"></div>
20 <div class="test grown"></div>
21 <div class="test"></div>
22 <div class="test grown"></div>
23 <div class="test"></div>
24 <div class="test grown"></div>
25 <div class="test"></div>
26 <div class="test grown"></div>
27 <div class="test"></div>
28 <div class="test grown"></div>
29 <script>
30 if (!window.internals) {
31 alert("This test has to be run under DumpRenderTree");
32 } else {
33 var elements = document.getElementsByClassName("test");
34 internals.forceCompositingUpdate(document);
35
36 PerfTestRunner.measureRunsPerSecond({run: function() {
37 for (var i = 0; i < elements.length; ++i)
38 elements[i].classList.toggle("grown");
39
40 internals.forceCompositingUpdate(document);
41 }});
42 }
43 </script>
44 </body>
45 </html>
OLDNEW
« no previous file with comments | « no previous file | PerformanceTests/PaintInvalidation/shift-rectangle-left-invalidate.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698