Title: [131651] trunk/PerformanceTests
Revision
131651
Author
[email protected]
Date
2012-10-17 15:06:52 -0700 (Wed, 17 Oct 2012)

Log Message

Rename PerfTestRunner.runPerSecond to PerfTestRunner.measureRunsPerSecond for consistency
https://bugs.webkit.org/show_bug.cgi?id=99642

Reviewed by Dirk Pranke.

Renamed the method.

* Bindings/append-child.html:
* Bindings/create-element.html:
* Bindings/event-target-wrapper.html:
* Bindings/first-child.html:
* Bindings/get-attribute.html:
* Bindings/get-element-by-id.html:
* Bindings/get-elements-by-tag-name.html:
* Bindings/id-getter.html:
* Bindings/id-setter.html:
* Bindings/insert-before.html:
* Bindings/node-list-access.html:
* Bindings/scroll-top.html:
* Bindings/set-attribute.html:
* Bindings/typed-array-construct-from-array.html:
* Bindings/typed-array-construct-from-same-type.html:
* Bindings/typed-array-construct-from-typed.html:
* Bindings/typed-array-set-from-typed.html:
* Bindings/undefined-first-child.html:
* Bindings/undefined-get-element-by-id.html:
* Bindings/undefined-id-getter.html:
* CSS/CSSPropertySetterGetter.html:
* CSS/CSSPropertyUpdateValue.html:
* CSS/PseudoClassSelectors.html:
* DOM/textarea-dom.html:
* DOM/textarea-edit.html:
* Interactive/resources/window-resize.js:
* Layout/flexbox-column-nowrap.html:
* Layout/flexbox-column-wrap.html:
* Layout/flexbox-row-nowrap.html:
* Layout/flexbox-row-wrap.html:
* Layout/line-layout.html:
* Parser/css-parser-yui.html:
* Parser/innerHTML-setter.html:
* Parser/query-selector-deep.html:
* Parser/query-selector-first.html:
* Parser/query-selector-last.html:
* Parser/simple-url.html:
* Parser/textarea-parsing.html:
* Parser/tiny-innerHTML.html:
* Parser/url-parser.html:
* Parser/xml-parser.html:
* SVG/SvgNestedUse.html:
* resources/runner.js:

Modified Paths

Diff

Modified: trunk/PerformanceTests/Bindings/append-child.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/append-child.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/append-child.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 var div = document.createElement("div");
 var childDiv = document.createElement("div");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'appendChild' and 'removeChild' in Dromaeo/dom-modify.html.",
     setup: function() {
         div.innerHTML = "";

Modified: trunk/PerformanceTests/Bindings/create-element.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/create-element.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/create-element.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -3,7 +3,7 @@
 <body>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'createElement', 'createTextNode' and 'cloneNode' in Dromaeo/dom-modify.html, and other DOM methods that return a new Node object.",
     run: function() {
         for (var i = 0; i < 5000; i++)

Modified: trunk/PerformanceTests/Bindings/event-target-wrapper.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/event-target-wrapper.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/event-target-wrapper.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -12,7 +12,7 @@
     window.evt = event;
     event.preventDefault();
 
-    PerfTestRunner.runPerSecond({run: function () {
+    PerfTestRunner.measureRunsPerSecond({run: function () {
         var e = window.evt;
         for (var x = 0; x < kIteratonsPerTest; x++)
             e.target;

Modified: trunk/PerformanceTests/Bindings/first-child.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/first-child.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/first-child.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 var div = document.createElement("div");
 div.appendChild(document.createElement("div"));
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'firstChild', 'lastChild', 'nextSibling' and 'previousSibling' in Dromaeo/dom-traverse.html, and other DOM attributes that return a Node object.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/get-attribute.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/get-attribute.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/get-attribute.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 <script>
 var div = document.getElementById("foo");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'getAttribute' in Dromaeo/dom-attr.html, and other DOM methods that return a String.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/get-element-by-id.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/get-element-by-id.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/get-element-by-id.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -4,7 +4,7 @@
 <div id="foo"></div>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'getElementById' in Dromaeo/dom-query.html, and other DOM methods that return a Node object.",
     run: function() {
         for (var i = 0; i < 100000; i++)

Modified: trunk/PerformanceTests/Bindings/get-elements-by-tag-name.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/get-elements-by-tag-name.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/get-elements-by-tag-name.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -4,7 +4,7 @@
 <div></div>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'getElementsByTagName (not in document)', 'getElementsByTagName', 'getElementsByName (not in document)' and 'getElementsByName' in Dromaeo/dom-query.html, and other DOM methods that return a NodeList.",
     run: function() {
         for (var i = 0; i < 50000; i++)

Modified: trunk/PerformanceTests/Bindings/id-getter.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/id-getter.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/id-getter.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 <script>
 var div = document.getElementById("foo");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'element.property' in Dromaeo/dom-attr.html, 'innerHTML' in Dromaeo/dom-modify.html, and other DOM attributes that return a String.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/id-setter.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/id-setter.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/id-setter.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 <script>
 var div = document.getElementById("foo");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'element.property = value' in Dromaeo/dom-attr.html, and other DOM attributes that sets a String.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/insert-before.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/insert-before.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/insert-before.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 var div = document.createElement("div");
 var childDiv = document.createElement("div");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'insertBefore' in Dromaeo/dom-modify.html and replaceChild()",
     setup: function() {
         div.innerHTML = "";

Modified: trunk/PerformanceTests/Bindings/node-list-access.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/node-list-access.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/node-list-access.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -7,7 +7,7 @@
 for (var i = 0; i < 100000; i++)
     div.appendChild(document.createElement("div"));
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'childNodes' in Dromaeo/dom-traverse.html, and other DOM attributes that access NodeList.",
     run: function() {
         var childNodes = div.childNodes;

Modified: trunk/PerformanceTests/Bindings/scroll-top.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/scroll-top.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/scroll-top.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -3,7 +3,7 @@
 <body>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers DOM attributes that return small integers.",
     run: function() {
         var localBody = document.body;

Modified: trunk/PerformanceTests/Bindings/set-attribute.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/set-attribute.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/set-attribute.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -6,7 +6,7 @@
 <script>
 var div = document.getElementById("foo");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'setAttribute' in Dromaeo/dom-attr.html and other DOM methods that return an undefined.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/typed-array-construct-from-array.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/typed-array-construct-from-array.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/typed-array-construct-from-array.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -8,7 +8,7 @@
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Uint8Array(source);
 }});
 </script>

Modified: trunk/PerformanceTests/Bindings/typed-array-construct-from-same-type.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/typed-array-construct-from-same-type.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/typed-array-construct-from-same-type.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -8,7 +8,7 @@
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Uint8Array(source);
 }});
 </script>

Modified: trunk/PerformanceTests/Bindings/typed-array-construct-from-typed.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/typed-array-construct-from-typed.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/typed-array-construct-from-typed.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -8,7 +8,7 @@
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Float64Array(source);
 }});
 </script>

Modified: trunk/PerformanceTests/Bindings/typed-array-set-from-typed.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/typed-array-set-from-typed.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/typed-array-set-from-typed.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -9,7 +9,7 @@
     source[i] = i;
 var target = new Float64Array(length);
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     target.set(source);
 }});
 </script>

Modified: trunk/PerformanceTests/Bindings/undefined-first-child.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/undefined-first-child.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/undefined-first-child.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -5,7 +5,7 @@
 <script>
 var div = document.createElement("div");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers undefined DOM attributes that return a null.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/Bindings/undefined-get-element-by-id.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/undefined-get-element-by-id.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/undefined-get-element-by-id.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -3,7 +3,7 @@
 <body>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers 'getElementById (not in document)' in Dromaeo/dom-query.html, and other Node-query methods that return a null.",
     run: function() {
         for (var i = 0; i < 100000; i++)

Modified: trunk/PerformanceTests/Bindings/undefined-id-getter.html (131650 => 131651)


--- trunk/PerformanceTests/Bindings/undefined-id-getter.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Bindings/undefined-id-getter.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -5,7 +5,7 @@
 <script>
 var div = document.createElement("div");
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers undefined DOM attributes that return an empty String.",
     run: function() {
         var localDiv = div;

Modified: trunk/PerformanceTests/CSS/CSSPropertySetterGetter.html (131650 => 131651)


--- trunk/PerformanceTests/CSS/CSSPropertySetterGetter.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/CSS/CSSPropertySetterGetter.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -71,7 +71,7 @@
 'webkitTransform' : 'scale3d(0.5, 0.5, 0.5)',
 'wordSpacing' : '40px',
 };
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     for (key in properties) {
         var value = div.style[key];
         div.style[key] = "";

Modified: trunk/PerformanceTests/CSS/CSSPropertyUpdateValue.html (131650 => 131651)


--- trunk/PerformanceTests/CSS/CSSPropertyUpdateValue.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/CSS/CSSPropertyUpdateValue.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -72,7 +72,7 @@
 'wordSpacing' : '40px',
 };
 // The first run will just add the properties but it's fine as the first run of the benchmark is always ignored.
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     for (key in properties)
         div.style[key] = properties[key];
 }});

Modified: trunk/PerformanceTests/CSS/PseudoClassSelectors.html (131650 => 131651)


--- trunk/PerformanceTests/CSS/PseudoClassSelectors.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/CSS/PseudoClassSelectors.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -23,7 +23,7 @@
 </div>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests CSS Selector performance with querySelector().",
     run: function() {
         for (var i = 0; i < 100; i++) {

Modified: trunk/PerformanceTests/ChangeLog (131650 => 131651)


--- trunk/PerformanceTests/ChangeLog	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/ChangeLog	2012-10-17 22:06:52 UTC (rev 131651)
@@ -1,5 +1,58 @@
 2012-10-17  Ryosuke Niwa  <[email protected]>
 
+        Rename PerfTestRunner.runPerSecond to PerfTestRunner.measureRunsPerSecond for consistency
+        https://bugs.webkit.org/show_bug.cgi?id=99642
+
+        Reviewed by Dirk Pranke.
+
+        Renamed the method.
+
+        * Bindings/append-child.html:
+        * Bindings/create-element.html:
+        * Bindings/event-target-wrapper.html:
+        * Bindings/first-child.html:
+        * Bindings/get-attribute.html:
+        * Bindings/get-element-by-id.html:
+        * Bindings/get-elements-by-tag-name.html:
+        * Bindings/id-getter.html:
+        * Bindings/id-setter.html:
+        * Bindings/insert-before.html:
+        * Bindings/node-list-access.html:
+        * Bindings/scroll-top.html:
+        * Bindings/set-attribute.html:
+        * Bindings/typed-array-construct-from-array.html:
+        * Bindings/typed-array-construct-from-same-type.html:
+        * Bindings/typed-array-construct-from-typed.html:
+        * Bindings/typed-array-set-from-typed.html:
+        * Bindings/undefined-first-child.html:
+        * Bindings/undefined-get-element-by-id.html:
+        * Bindings/undefined-id-getter.html:
+        * CSS/CSSPropertySetterGetter.html:
+        * CSS/CSSPropertyUpdateValue.html:
+        * CSS/PseudoClassSelectors.html:
+        * DOM/textarea-dom.html:
+        * DOM/textarea-edit.html:
+        * Interactive/resources/window-resize.js:
+        * Layout/flexbox-column-nowrap.html:
+        * Layout/flexbox-column-wrap.html:
+        * Layout/flexbox-row-nowrap.html:
+        * Layout/flexbox-row-wrap.html:
+        * Layout/line-layout.html:
+        * Parser/css-parser-yui.html:
+        * Parser/innerHTML-setter.html:
+        * Parser/query-selector-deep.html:
+        * Parser/query-selector-first.html:
+        * Parser/query-selector-last.html:
+        * Parser/simple-url.html:
+        * Parser/textarea-parsing.html:
+        * Parser/tiny-innerHTML.html:
+        * Parser/url-parser.html:
+        * Parser/xml-parser.html:
+        * SVG/SvgNestedUse.html:
+        * resources/runner.js:
+
+2012-10-17  Ryosuke Niwa  <[email protected]>
+
         Performance test should support asynchronous tests
         https://bugs.webkit.org/show_bug.cgi?id=95668
 

Modified: trunk/PerformanceTests/DOM/textarea-dom.html (131650 => 131651)


--- trunk/PerformanceTests/DOM/textarea-dom.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/DOM/textarea-dom.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -16,7 +16,7 @@
 var childCount = 1000;
 for (var i = 0; i < childCount; ++i)
     nodes.push(document.createTextNode('A quick brown fox jumps over the lazy dog.\n'));
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     for (var i = 0; i < childCount; ++i)
         container.appendChild(nodes[i]);
     container.innerHTML = '';

Modified: trunk/PerformanceTests/DOM/textarea-edit.html (131650 => 131651)


--- trunk/PerformanceTests/DOM/textarea-edit.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/DOM/textarea-edit.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -13,7 +13,7 @@
 <script>
 var container = document.getElementById('container');
 container.focus();
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     for (var i = 0; i < 500; ++i)
         document.execCommand('insertText', false, 'A quick brown fox jumps over the lazy dog.\n');
     container.value = '';

Modified: trunk/PerformanceTests/Interactive/resources/window-resize.js (131650 => 131651)


--- trunk/PerformanceTests/Interactive/resources/window-resize.js	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Interactive/resources/window-resize.js	2012-10-17 22:06:52 UTC (rev 131651)
@@ -20,7 +20,7 @@
     };
 
     function startTest() {
-        PerfTestRunner.runPerSecond({
+        PerfTestRunner.measureRunsPerSecond({
             description: "Exercising window resize and following relayout",
             run: run,
             done: onTestDone

Modified: trunk/PerformanceTests/Layout/flexbox-column-nowrap.html (131650 => 131651)


--- trunk/PerformanceTests/Layout/flexbox-column-nowrap.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Layout/flexbox-column-nowrap.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -28,7 +28,7 @@
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done: function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done: function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>

Modified: trunk/PerformanceTests/Layout/flexbox-column-wrap.html (131650 => 131651)


--- trunk/PerformanceTests/Layout/flexbox-column-wrap.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Layout/flexbox-column-wrap.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -28,7 +28,7 @@
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>

Modified: trunk/PerformanceTests/Layout/flexbox-row-nowrap.html (131650 => 131651)


--- trunk/PerformanceTests/Layout/flexbox-row-nowrap.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Layout/flexbox-row-nowrap.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -28,7 +28,7 @@
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run:runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run:runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>

Modified: trunk/PerformanceTests/Layout/flexbox-row-wrap.html (131650 => 131651)


--- trunk/PerformanceTests/Layout/flexbox-row-wrap.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Layout/flexbox-row-wrap.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -28,7 +28,7 @@
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>

Modified: trunk/PerformanceTests/Layout/line-layout.html (131650 => 131651)


--- trunk/PerformanceTests/Layout/line-layout.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Layout/line-layout.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -86,7 +86,7 @@
             style.display = "none";
         }
 
-        PerfTestRunner.runPerSecond({ run: test });
+        PerfTestRunner.measureRunsPerSecond({ run: test });
     </script>
 </body>
 </html>

Modified: trunk/PerformanceTests/Parser/css-parser-yui.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/css-parser-yui.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/css-parser-yui.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -2619,7 +2619,7 @@
 var element = document.getElementById("styleElement");
 var cssText = element.textContent;
 var count = 0;
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     element.textContent = "";
     element.textContent = cssText + "#some" + count + "{color:black};";
     count++;

Modified: trunk/PerformanceTests/Parser/innerHTML-setter.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/innerHTML-setter.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/innerHTML-setter.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -11,7 +11,7 @@
 document.body.appendChild(div);
 var tree = generateBinDOMTree(10);
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests innerHTML setter for a large DOM tree",
     run: function() {
         div.innerHTML = tree;

Modified: trunk/PerformanceTests/Parser/query-selector-deep.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/query-selector-deep.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/query-selector-deep.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -17,7 +17,7 @@
 h1.className = "class";
 parentDiv.appendChild(h1);
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests querySelector() for an element that appears in the depths in the document",
     run: function() {
         for (var i = 0; i < 100; i++) {

Modified: trunk/PerformanceTests/Parser/query-selector-first.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/query-selector-first.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/query-selector-first.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -4,7 +4,7 @@
 <h1 id="id" class="class"></h1>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests querySelector() for an element that appears near the head of the document",
     run: function() {
         for (var i = 0; i < 1000; i++) {

Modified: trunk/PerformanceTests/Parser/query-selector-last.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/query-selector-last.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/query-selector-last.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -15,7 +15,7 @@
 h1.className = "class";
 document.body.appendChild(h1);
 
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests querySelector() for an element that appears near the tail of the document",
     run: function() {
         for (var i = 0; i < 100; i++) {

Modified: trunk/PerformanceTests/Parser/simple-url.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/simple-url.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/simple-url.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -3,7 +3,7 @@
 <script src=""
 <script>
 var anchor = document.createElement("a");
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     for (var x = 0; x < 200000; x++) {
         anchor.href = ""
     }

Modified: trunk/PerformanceTests/Parser/textarea-parsing.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/textarea-parsing.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/textarea-parsing.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -20,7 +20,7 @@
 htmlText += "</textarea>"
 
 var container = document.getElementById('container');
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     container.innerHTML = htmlText;
 }});
 </script>

Modified: trunk/PerformanceTests/Parser/tiny-innerHTML.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/tiny-innerHTML.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/tiny-innerHTML.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -2,7 +2,7 @@
 <body>
 <script src=""
 <script>
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     var testDiv = document.createElement("div");
     testDiv.style.display = "none";
     document.body.appendChild(testDiv);

Modified: trunk/PerformanceTests/Parser/url-parser.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/url-parser.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/url-parser.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -5,7 +5,7 @@
 var urls = PerfTestRunner.loadFile("resources/final-url-en").split("\n");
 var anchor = document.createElement("a");
 
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     for (var x = 0; x < urls.length; x++) {
         anchor.href = ""
     }

Modified: trunk/PerformanceTests/Parser/xml-parser.html (131650 => 131651)


--- trunk/PerformanceTests/Parser/xml-parser.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/Parser/xml-parser.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -11,7 +11,7 @@
 xmlArray.push('</root>')
 var xmlData = xmlArray.join('');
 
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     domParser.parseFromString(xmlData, "text/xml");
 }});
 </script>

Modified: trunk/PerformanceTests/SVG/SvgNestedUse.html (131650 => 131651)


--- trunk/PerformanceTests/SVG/SvgNestedUse.html	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/SVG/SvgNestedUse.html	2012-10-17 22:06:52 UTC (rev 131651)
@@ -72,7 +72,7 @@
         }
 
         if (window.testRunner) {
-            PerfTestRunner.runPerSecond({ run: newFrame, done: function() {
+            PerfTestRunner.measureRunsPerSecond({ run: newFrame, done: function() {
                 document.getElementById('wrapper').style.display = 'none';
             }});
         } else

Modified: trunk/PerformanceTests/resources/runner.js (131650 => 131651)


--- trunk/PerformanceTests/resources/runner.js	2012-10-17 22:04:47 UTC (rev 131650)
+++ trunk/PerformanceTests/resources/runner.js	2012-10-17 22:06:52 UTC (rev 131651)
@@ -273,7 +273,7 @@
         return end - start;
     }
 
-    PerfTestRunner.runPerSecond = function (test) {
+    PerfTestRunner.measureRunsPerSecond = function (test) {
         PerfTestRunner.unit = "runs/s";
         start(test, measureRunsPerSecondOnce);
     }
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to