Permalink
Browse files

Cleanup of yogi benchmark

  • Loading branch information...
derek committed Mar 21, 2013
1 parent 5ca0001 commit 562020facaa1f78297ba0d9eeafd2ba968768952
Showing with 2 additions and 10 deletions.
  1. +2 −10 lib/cmds/benchmark.js
View
@@ -39,16 +39,12 @@ var util = require('../util'),
},
processYUI: function () {
-
var testPaths = require(this.yuiRoot + '/src/common/tests/performance.json');
-
this._executeTests(testPaths);
},
processComponent: function (componentName) {
-
// this.parseResults(require('./benchmark-test-data.json')); return false;
-
var testPaths = require(this.yuiRoot + '/src/common/tests/performance.json');
filtered = testPaths.filter(function (testpath) {
@@ -58,14 +54,10 @@ var util = require('../util'),
this._executeTests(filtered);
},
- finish: function (plugin, results, testFile, sha) {
-
- },
-
help: function() {
return [
'benchmark',
- 'generates benchmark data'
+ 'executes performance tests'
];
},
@@ -102,7 +94,7 @@ var util = require('../util'),
loglevel: 'debug',
source: testpath,
phantomjs: true,
- output: 'pretty',
+ pretty: true,
},
output = '',
argsArr = [];

0 comments on commit 562020f

Please sign in to comment.