Skip to content

Commit

Permalink
Merge pull request #1963 from peachworks/perf-basic-prof
Browse files Browse the repository at this point in the history
Add support --perf-basic-prof
  • Loading branch information
danielstjules committed Dec 25, 2015
2 parents 829df1d + c51119b commit c3abc07
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 @@ -36,6 +36,7 @@ process.argv.slice(2).forEach(function(arg){
case '--trace-deprecation':
case '--use_strict':
case '--allow-natives-syntax':
case '--perf-basic-prof':
args.unshift(arg);
break;
default:
Expand Down

0 comments on commit c3abc07

Please sign in to comment.