-
Notifications
You must be signed in to change notification settings - Fork 414
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix benchmark script #154
Fix benchmark script #154
Conversation
@@ -12,17 +12,18 @@ const resultsTable = new Table({ | |||
colWidths: [60, 10, 10], | |||
}); | |||
|
|||
const outDir = path.join(__dirname, 'suites/_temp'); | |||
const outDir = 'benchmark/_temp'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe path.join(__dirname, 'benchmark', '_temp');
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
outDir
must be relative to CWD
Codecov Report
@@ Coverage Diff @@
## master #154 +/- ##
=======================================
Coverage 97.52% 97.52%
=======================================
Files 19 19
Lines 404 404
Branches 81 81
=======================================
Hits 394 394
Misses 10 10 Continue to review full report at Codecov.
|
Maybe we should add a snapshot test for the benchmark.
|
Adding snapshot test doesn't make any sense, those are timings which changes between runs even on the same machine. Manually storing results of benchmark in JSON files and comparing it with some threshold would be a acceptable solution. If you want to ensure the benchmark is working, we can run it on Circle CI. |
Fixes #153