-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
test: add test for timers benchmarks #12851
Conversation
const path = require('path'); | ||
|
||
const runjs = path.join(__dirname, '..', '..', 'benchmark', 'run.js'); | ||
const argv = ['--set', 'thousands=0.001', |
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.
I kept the thousands
and millions
in the configuration names because that way it would be easier to read the benchmark results.
@@ -0,0 +1,21 @@ | |||
'use strict'; | |||
|
|||
const common = require('../common'); |
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.
Linter: 3:7 error 'common' is assigned a value but never used no-unused-vars
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.
@vsemozhetbyt Oh no, my editor failed me :( Thanks for catching that!
1dbb62a
to
9c46b11
Compare
Fixed the unsed var...New CI: https://ci.nodejs.org/job/node-test-pull-request/7890/ |
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.
LGTM
Landed in 771568a, thanks! |
PR-URL: #12851 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
PR-URL: nodejs#12851 Reviewed-By: Rich Trott <[email protected]> Reviewed-By: James M Snell <[email protected]>
Should this be backported to v6.x? (I don't see why not is a reasonable answer!) |
@gibfahn |
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
test, benchmark