aboutsummaryrefslogtreecommitdiffstats
path: root/perf/MiscPerf.js
diff options
context:
space:
mode:
authorIgor Minar2013-01-09 16:07:34 -0800
committerIgor Minar2013-01-09 21:28:53 -0800
commit7dff7bb69695f89046272bf31b2b60f0431f1f30 (patch)
treee67b91cbc5d1e2194b10a444b6624e23ac0456e2 /perf/MiscPerf.js
parentcdf6fb19c85560b30607e71dc2b19fde54760faa (diff)
downloadangular.js-7dff7bb69695f89046272bf31b2b60f0431f1f30.tar.bz2
chore(*): remove obsolete files
Diffstat (limited to 'perf/MiscPerf.js')
-rw-r--r--perf/MiscPerf.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/perf/MiscPerf.js b/perf/MiscPerf.js
deleted file mode 100644
index 98d51a9f..00000000
--- a/perf/MiscPerf.js
+++ /dev/null
@@ -1,21 +0,0 @@
-describe('perf misc', function() {
- it('operation speeds', function() {
- perf(
- function typeByTypeof() { return typeof noop == 'function'; }, // WINNER
- function typeByProperty() { return noop.apply && noop.call; },
- function typeByConstructor() { return noop.constructor == Function; }
- );
- });
-
- it('property access', function() {
- var name = 'value';
- var none = 'x';
- var scope = {};
- perf(
- function direct() { return scope.value; }, // WINNER
- function byName() { return scope[name]; },
- function undefinedDirect() { return scope.x; },
- function undefiendByName() { return scope[none]; }
- );
- });
-});