summaryrefslogtreecommitdiffstats
path: root/SunSpider/tests/ubench
diff options
context:
space:
mode:
Diffstat (limited to 'SunSpider/tests/ubench')
-rw-r--r--SunSpider/tests/ubench/LIST9
-rw-r--r--SunSpider/tests/ubench/function-closure.js7
-rw-r--r--SunSpider/tests/ubench/function-correct-args.js6
-rw-r--r--SunSpider/tests/ubench/function-empty.js6
-rw-r--r--SunSpider/tests/ubench/function-excess-args.js6
-rw-r--r--SunSpider/tests/ubench/function-missing-args.js6
-rw-r--r--SunSpider/tests/ubench/function-sum.js7
-rw-r--r--SunSpider/tests/ubench/loop-empty-resolve.js2
-rw-r--r--SunSpider/tests/ubench/loop-empty.js2
-rw-r--r--SunSpider/tests/ubench/loop-sum.js5
10 files changed, 0 insertions, 56 deletions
diff --git a/SunSpider/tests/ubench/LIST b/SunSpider/tests/ubench/LIST
deleted file mode 100644
index d005340..0000000
--- a/SunSpider/tests/ubench/LIST
+++ /dev/null
@@ -1,9 +0,0 @@
-function-closure
-function-empty
-function-correct-args
-function-excess-args
-function-missing-args
-function-sum
-loop-empty-resolve
-loop-empty
-loop-sum
diff --git a/SunSpider/tests/ubench/function-closure.js b/SunSpider/tests/ubench/function-closure.js
deleted file mode 100644
index 6c7dde1..0000000
--- a/SunSpider/tests/ubench/function-closure.js
+++ /dev/null
@@ -1,7 +0,0 @@
-function f()
-{
- function g() { }
-}
-
-for (var i = 0; i < 300000; ++i)
- f();
diff --git a/SunSpider/tests/ubench/function-correct-args.js b/SunSpider/tests/ubench/function-correct-args.js
deleted file mode 100644
index bd31e13..0000000
--- a/SunSpider/tests/ubench/function-correct-args.js
+++ /dev/null
@@ -1,6 +0,0 @@
-function f(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9)
-{
-}
-
-for (var i = 0; i < 3000000; ++i)
- f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
diff --git a/SunSpider/tests/ubench/function-empty.js b/SunSpider/tests/ubench/function-empty.js
deleted file mode 100644
index c170d94..0000000
--- a/SunSpider/tests/ubench/function-empty.js
+++ /dev/null
@@ -1,6 +0,0 @@
-function f()
-{
-}
-
-for (var i = 0; i < 4000000; ++i)
- f();
diff --git a/SunSpider/tests/ubench/function-excess-args.js b/SunSpider/tests/ubench/function-excess-args.js
deleted file mode 100644
index 15ac585..0000000
--- a/SunSpider/tests/ubench/function-excess-args.js
+++ /dev/null
@@ -1,6 +0,0 @@
-function f(x0, x1, x2, x3, x4)
-{
-}
-
-for (var i = 0; i < 3000000; ++i)
- f(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
diff --git a/SunSpider/tests/ubench/function-missing-args.js b/SunSpider/tests/ubench/function-missing-args.js
deleted file mode 100644
index d39d0f1..0000000
--- a/SunSpider/tests/ubench/function-missing-args.js
+++ /dev/null
@@ -1,6 +0,0 @@
-function f(x0, x1, x2, x3, x4, x5, x6, x7, x8, x9)
-{
-}
-
-for (var i = 0; i < 3000000; ++i)
- f();
diff --git a/SunSpider/tests/ubench/function-sum.js b/SunSpider/tests/ubench/function-sum.js
deleted file mode 100644
index 5de7657..0000000
--- a/SunSpider/tests/ubench/function-sum.js
+++ /dev/null
@@ -1,7 +0,0 @@
-function f(x, y, z)
-{
- return x + y + z;
-}
-
-for (var i = 0; i < 2500000; ++i)
- f(1, 2, 3);
diff --git a/SunSpider/tests/ubench/loop-empty-resolve.js b/SunSpider/tests/ubench/loop-empty-resolve.js
deleted file mode 100644
index aa702be..0000000
--- a/SunSpider/tests/ubench/loop-empty-resolve.js
+++ /dev/null
@@ -1,2 +0,0 @@
-for (x = 0; x < 1200000; ++x)
- ;
diff --git a/SunSpider/tests/ubench/loop-empty.js b/SunSpider/tests/ubench/loop-empty.js
deleted file mode 100644
index 20c82f4..0000000
--- a/SunSpider/tests/ubench/loop-empty.js
+++ /dev/null
@@ -1,2 +0,0 @@
-for (var i = 0; i < 10000000; ++i)
- ;
diff --git a/SunSpider/tests/ubench/loop-sum.js b/SunSpider/tests/ubench/loop-sum.js
deleted file mode 100644
index 869d625..0000000
--- a/SunSpider/tests/ubench/loop-sum.js
+++ /dev/null
@@ -1,5 +0,0 @@
-var count = 6000000;
-var sum = 0;
-for (var i = 0; i < count; i++) {
- sum = i + count;
-}