Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
UziTech committed May 4, 2019
1 parent 2f8fb03 commit c458abd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/bench.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const {loadFiles} = require('./helpers/load.js');

let marked = require('../');

/**
* Load specs
*/
function load() {
const dir = path.resolve(__dirname, './specs/commonmark');
const sections = loadFiles(dir);
Expand All @@ -16,6 +19,9 @@ function load() {
return specs;
}

/**
* Run all benchmarks
*/
function runBench(options) {
options = options || {};
const specs = load();
Expand Down

0 comments on commit c458abd

Please sign in to comment.