Rename PerfTestRunner.runPerSecond to PerfTestRunner.measureRunsPerSecond for consistency
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 22:06:52 +0000 (22:06 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Oct 2012 22:06:52 +0000 (22:06 +0000)
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@131651 268f45cc-cd09-0410-ab3c-d52691b4dbfc

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

index bd679ff..b70d41b 100644 (file)
@@ -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 = "";
index 7ef7b8f..34d2580 100644 (file)
@@ -3,7 +3,7 @@
 <body>
 <script src="../resources/runner.js"></script>
 <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++)
index c64603a..2deb132 100644 (file)
@@ -12,7 +12,7 @@ link.addEventListener('click', function(event) {
     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;
index f171425..b55f284 100644 (file)
@@ -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;
index 77e5b5d..0bac263 100644 (file)
@@ -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;
index fec3f64..55ec1ae 100644 (file)
@@ -4,7 +4,7 @@
 <div id="foo"></div>
 <script src="../resources/runner.js"></script>
 <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++)
index d51b5db..6ef3ee8 100644 (file)
@@ -4,7 +4,7 @@
 <div></div>
 <script src="../resources/runner.js"></script>
 <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++)
index ba15732..cc1046e 100644 (file)
@@ -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;
index 6d256ae..b0d7535 100644 (file)
@@ -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;
index 2915143..ebc92db 100644 (file)
@@ -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 = "";
index 176f6f7..26bf0d5 100644 (file)
@@ -7,7 +7,7 @@ var div = document.createElement("div");
 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;
index 78318eb..d4590d7 100644 (file)
@@ -3,7 +3,7 @@
 <body>
 <script src="../resources/runner.js"></script>
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark covers DOM attributes that return small integers.",
     run: function() {
         var localBody = document.body;
index 7f40b5b..dbc72a3 100644 (file)
@@ -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;
index 663ac3f..4486daf 100644 (file)
@@ -8,7 +8,7 @@ var source = new Array(length);
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Uint8Array(source);
 }});
 </script>
index 88862f4..9b90799 100644 (file)
@@ -8,7 +8,7 @@ var source = new Uint8Array(length);
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Uint8Array(source);
 }});
 </script>
index 9629047..0853f60 100644 (file)
@@ -8,7 +8,7 @@ var source = new Uint8Array(length);
 for (var i = 0; i < length; i++)
     source[i] = i;
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     var target = new Float64Array(source);
 }});
 </script>
index 82e9119..d3090b7 100644 (file)
@@ -9,7 +9,7 @@ for (var i = 0; i < length; i++)
     source[i] = i;
 var target = new Float64Array(length);
 
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     target.set(source);
 }});
 </script>
index 53714ad..0d5a188 100644 (file)
@@ -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;
index d6988ad..f7ccfd6 100644 (file)
@@ -3,7 +3,7 @@
 <body>
 <script src="../resources/runner.js"></script>
 <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++)
index 1f441ee..9f17252 100644 (file)
@@ -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;
index 445618c..0361a7c 100644 (file)
@@ -71,7 +71,7 @@ var properties = {
 '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] = "";
index ae28d01..6ac8ea4 100644 (file)
@@ -72,7 +72,7 @@ var properties = {
 '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];
 }});
index edc40b0..289b778 100644 (file)
@@ -23,7 +23,7 @@
 </div>
 <script src="../resources/runner.js"></script>
 <script>
-PerfTestRunner.runPerSecond({
+PerfTestRunner.measureRunsPerSecond({
     description: "This benchmark tests CSS Selector performance with querySelector().",
     run: function() {
         for (var i = 0; i < 100; i++) {
index 4f237f0..8e52df4 100644 (file)
@@ -1,5 +1,58 @@
 2012-10-17  Ryosuke Niwa  <rniwa@webkit.org>
 
+        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  <rniwa@webkit.org>
+
         Performance test should support asynchronous tests
         https://bugs.webkit.org/show_bug.cgi?id=95668
 
index f027564..d52ec19 100644 (file)
@@ -16,7 +16,7 @@ var nodes = [];
 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 = '';
index 7c80e14..8fca013 100644 (file)
@@ -13,7 +13,7 @@ textarea:invalid {
 <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 = '';
index 99fdc1e..a984b13 100644 (file)
@@ -20,7 +20,7 @@ if (window.testRunner)
     };
 
     function startTest() {
-        PerfTestRunner.runPerSecond({
+        PerfTestRunner.measureRunsPerSecond({
             description: "Exercising window resize and following relayout",
             run: run,
             done: onTestDone
index bc03ff1..9dd0a2f 100644 (file)
@@ -28,7 +28,7 @@ function runTest()
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done: function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done: function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>
index b1287aa..78a4d01 100644 (file)
@@ -28,7 +28,7 @@ function runTest()
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>
index ddb1516..290a9eb 100644 (file)
@@ -28,7 +28,7 @@ function runTest()
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run:runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run:runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>
index f57e7ed..47ce576 100644 (file)
@@ -28,7 +28,7 @@ function runTest()
     document.body.clientHeight;
 }
 
-PerfTestRunner.runPerSecond({run: runTest, done:function() {
+PerfTestRunner.measureRunsPerSecond({run: runTest, done:function() {
     document.getElementById("flexbox").style.display = 'none';
 }});
 </script>
index 7f23ed0..5255bf5 100644 (file)
@@ -86,7 +86,7 @@
             style.display = "none";
         }
 
-        PerfTestRunner.runPerSecond({ run: test });
+        PerfTestRunner.measureRunsPerSecond({ run: test });
     </script>
 </body>
 </html>
index 890338a..691d6b5 100644 (file)
@@ -2619,7 +2619,7 @@ legend {
 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++;
index ec0fa20..7063db4 100644 (file)
@@ -11,7 +11,7 @@ var div = document.createElement("div");
 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;
index 50b64c4..605355f 100644 (file)
@@ -17,7 +17,7 @@ h1.id = "id";
 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++) {
index aa224e5..896e0e0 100644 (file)
@@ -4,7 +4,7 @@
 <h1 id="id" class="class"></h1>
 <script src="../resources/runner.js"></script>
 <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++) {
index ba2d158..45c1cdb 100644 (file)
@@ -15,7 +15,7 @@ h1.id = "id";
 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++) {
index 51ecb50..7fcde6b 100644 (file)
@@ -3,7 +3,7 @@
 <script src="../resources/runner.js"></script>
 <script>
 var anchor = document.createElement("a");
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     for (var x = 0; x < 200000; x++) {
         anchor.href = "http://www.apple.com/"
     }
index e76b5f5..ce534ce 100644 (file)
@@ -20,7 +20,7 @@ for (var i = 0; i < 1000; ++i) {
 htmlText += "</textarea>"
 
 var container = document.getElementById('container');
-PerfTestRunner.runPerSecond({run: function() {
+PerfTestRunner.measureRunsPerSecond({run: function() {
     container.innerHTML = htmlText;
 }});
 </script>
index 9094a34..72b052e 100644 (file)
@@ -2,7 +2,7 @@
 <body>
 <script src="../resources/runner.js"></script>
 <script>
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     var testDiv = document.createElement("div");
     testDiv.style.display = "none";
     document.body.appendChild(testDiv);
index ecdbc41..cee3e8c 100644 (file)
@@ -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 = urls[x];
     }
index 122af33..71dfe71 100644 (file)
@@ -11,7 +11,7 @@ for (var i = 0; i < 0x7FFF; ++i)
 xmlArray.push('</root>')
 var xmlData = xmlArray.join('');
 
-PerfTestRunner.runPerSecond({run:function() {
+PerfTestRunner.measureRunsPerSecond({run:function() {
     domParser.parseFromString(xmlData, "text/xml");
 }});
 </script>
index 4c5149e..4d6b88b 100644 (file)
@@ -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
index 6b5ba19..15ac488 100755 (executable)
@@ -273,7 +273,7 @@ if (window.testRunner) {
         return end - start;
     }
 
-    PerfTestRunner.runPerSecond = function (test) {
+    PerfTestRunner.measureRunsPerSecond = function (test) {
         PerfTestRunner.unit = "runs/s";
         start(test, measureRunsPerSecondOnce);
     }