Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / PerformanceTests / Layout / chapter-reflow-once-random.html
index bd50538..54ca15d 100644 (file)
     <script>
         var RandomTextGenerator = function() {
             this.letters = [
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
-                String.fromCharCode(RandomTextGenerator.firstCharCode), 
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
+                String.fromCharCode(RandomTextGenerator.firstCharCode),
                 String.fromCharCode(RandomTextGenerator.firstCharCode)
             ]
         }
             style.display = "none";
         }
 
-        PerfTestRunner.measureRunsPerSecond({ run: test });
+        PerfTestRunner.measureRunsPerSecond({
+            description: "Measures performance of 3 layouts (using 2 different font-sizes) on a page containing random text.",
+            run: test
+        });
     </script>
 </body>
 </html>