Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
benchmark: don't convert arguments to numbers
PR-URL: #6570
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
  • Loading branch information
mscdex committed Jun 14, 2016
commit c570182a39ada502d0f65223728b0cd9e136cda0
4 changes: 1 addition & 3 deletions benchmark/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,7 @@ function parseOpts(options) {
if (!match || !match[1] || !options[match[1]]) {
return null;
} else {
conf[match[1]] = (match[2].length && isFinite(match[2])
? +match[2]
: match[2]);
conf[match[1]] = match[2];
num--;
}
}
Expand Down