Skip to content

Commit

Permalink
test: script for updating benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
standy committed Feb 10, 2020
1 parent 9a5ef8a commit 51fc8d6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions benchmark/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
console.log('Performance test compared to `momentjs` and `date-fns`');
console.log(' ');
console.log('```');

require('./log-versions');
require('./suites/add-days');
require('./suites/add-hours');
Expand All @@ -8,3 +12,4 @@ require('./suites/format');
require('./suites/format-iso');
require('./suites/parse-iso');

console.log('```');
1 change: 1 addition & 0 deletions benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
},
"devDependencies": {},
"scripts": {
"update-readme": "node ./index.js > README.md",
"start": "node ./index.js"
}
}

0 comments on commit 51fc8d6

Please sign in to comment.