From 7dff7bb69695f89046272bf31b2b60f0431f1f30 Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Wed, 9 Jan 2013 16:07:34 -0800 Subject: chore(*): remove obsolete files --- perf/MiscPerf.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 perf/MiscPerf.js (limited to 'perf/MiscPerf.js') 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]; } - ); - }); -}); -- cgit v1.2.3