Skip to content

Commit

Permalink
support --perf-basic-prof
Browse files Browse the repository at this point in the history
  • Loading branch information
Rob Raux committed Dec 1, 2015
1 parent 67d0fac commit c51119b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bin/_mocha
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ program
.option('--no-exit', 'require a clean shutdown of the event loop: mocha will not call process.exit')
.option('--no-timeouts', 'disables timeouts, given implicitly with --debug')
.option('--opts <path>', 'specify opts path', 'test/mocha.opts')
.option('--perf-basic-prof', 'enable perf linux profiler (basic support)')
.option('--prof', 'log statistical profiling information')
.option('--recursive', 'include sub directories')
.option('--reporters', 'display available reporters')
Expand Down
1 change: 1 addition & 0 deletions bin/mocha
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ process.argv.slice(2).forEach(function(arg){
case '--throw-deprecation':
case '--trace-deprecation':
case '--allow-natives-syntax':
case '--perf-basic-prof':
args.unshift(arg);
break;
default:
Expand Down

0 comments on commit c51119b

Please sign in to comment.