diff --git a/.coffeelintignore b/.coffeelintignore index 5c4e3027885..1db51fed757 100644 --- a/.coffeelintignore +++ b/.coffeelintignore @@ -1,2 +1 @@ spec/fixtures -benchmark/fixtures diff --git a/build/tasks/build-task.coffee b/build/tasks/build-task.coffee index 415f2f660a9..74585850251 100644 --- a/build/tasks/build-task.coffee +++ b/build/tasks/build-task.coffee @@ -37,7 +37,6 @@ module.exports = (grunt) -> packageNames = [] packageDirectories = [] nonPackageDirectories = [ - 'benchmark' 'dot-atom' 'vendor' ] @@ -146,19 +145,14 @@ module.exports = (grunt) -> testFolderPattern = new RegExp("#{_.escapeRegExp(path.sep)}_*te?sts?_*#{_.escapeRegExp(path.sep)}") exampleFolderPattern = new RegExp("#{_.escapeRegExp(path.sep)}examples?#{_.escapeRegExp(path.sep)}") - benchmarkFolderPattern = new RegExp("#{_.escapeRegExp(path.sep)}benchmarks?#{_.escapeRegExp(path.sep)}") nodeModulesFilter = new RegExp(ignoredPaths.join('|')) filterNodeModule = (pathToCopy) -> - return true if benchmarkFolderPattern.test(pathToCopy) - pathToCopy = path.resolve(pathToCopy) nodeModulesFilter.test(pathToCopy) or testFolderPattern.test(pathToCopy) or exampleFolderPattern.test(pathToCopy) packageFilter = new RegExp("(#{ignoredPaths.join('|')})|(.+\\.(cson|coffee)$)") filterPackage = (pathToCopy) -> - return true if benchmarkFolderPattern.test(pathToCopy) - pathToCopy = path.resolve(pathToCopy) packageFilter.test(pathToCopy) or testFolderPattern.test(pathToCopy) or exampleFolderPattern.test(pathToCopy) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 20f4ae7bcc5..226d87d07f3 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -162,7 +162,6 @@ class AtomApplication safeMode: @focusedWindow()?.safeMode @on 'application:run-all-specs', -> @runSpecs(exitWhenDone: false, resourcePath: @devResourcePath, safeMode: @focusedWindow()?.safeMode) - @on 'application:run-benchmarks', -> @runBenchmarks() @on 'application:quit', -> app.quit() @on 'application:new-window', -> @openPath(_.extend(windowDimensions: @focusedWindow()?.getDimensions(), getLoadSettings())) @on 'application:new-file', -> (@focusedWindow() ? this).openPath() @@ -505,18 +504,6 @@ class AtomApplication safeMode ?= false new AtomWindow({bootstrapScript, resourcePath, exitWhenDone, isSpec, devMode, specDirectory, logFile, safeMode}) - runBenchmarks: ({exitWhenDone, specDirectory}={}) -> - try - bootstrapScript = require.resolve(path.resolve(@devResourcePath, 'benchmark', 'benchmark-bootstrap')) - catch error - bootstrapScript = require.resolve(path.resolve(__dirname, '..', '..', 'benchmark', 'benchmark-bootstrap')) - - specDirectory ?= path.dirname(bootstrapScript) - - isSpec = true - devMode = true - new AtomWindow({bootstrapScript, @resourcePath, exitWhenDone, isSpec, specDirectory, devMode}) - locationForPathToOpen: (pathToOpen, executedFrom='') -> return {pathToOpen} unless pathToOpen diff --git a/src/workspace-element.coffee b/src/workspace-element.coffee index 3bde4014164..378969481ca 100644 --- a/src/workspace-element.coffee +++ b/src/workspace-element.coffee @@ -108,7 +108,6 @@ atom.commands.add 'atom-workspace', 'window:reset-font-size': -> @getModel().resetFontSize() 'application:about': -> ipc.send('command', 'application:about') 'application:run-all-specs': -> ipc.send('command', 'application:run-all-specs') - 'application:run-benchmarks': -> ipc.send('command', 'application:run-benchmarks') 'application:show-preferences': -> ipc.send('command', 'application:show-settings') 'application:show-settings': -> ipc.send('command', 'application:show-settings') 'application:quit': -> ipc.send('command', 'application:quit')