Skip to content

Commit e887148

Browse files
committed
Moved detailed benchmark and regular benchmark to bench/.
1 parent 59d22a3 commit e887148

5 files changed

+5
-5
lines changed

Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ test: $(SPEC)
2222
node test/test.js $<
2323

2424
lint:
25-
eslint -c eslint.json ${JSMODULES} bin/commonmark test/test.js bench.js
25+
eslint -c eslint.json ${JSMODULES} bin/commonmark test/test.js bench/bench.js
2626

2727
bench:
28-
sudo renice 99 $$$$; node bench.js ${BENCHINP}
28+
sudo renice 99 $$$$; node bench/bench.js ${BENCHINP}
2929

3030
npm:
3131
cd js; npm publish

bench.js bench/bench.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
var Benchmark = require('benchmark').Benchmark;
22
var suite = new Benchmark.Suite();
33
var fs = require('fs');
4-
var commonmark = require('./lib/index.js');
4+
var commonmark = require('../lib/index.js');
55
// npm install showdown
66
var Showdown = require('showdown').converter;
77
// npm install marked

bench/detailed_benchmarks.sh

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sudo echo ""
2+
for x in bench/samples/*.md; do make bench BENCHINP=$x; done | awk -f bench/format_benchmarks.awk
File renamed without changes.

tools/detailed_benchmarks.sh

-2
This file was deleted.

0 commit comments

Comments
 (0)