Skip to content

Commit

Permalink
benchmark : changed fstat to fstatSync
Browse files Browse the repository at this point in the history
PR-URL: #36206
Fixes: #36199
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Narasimha1997 authored and danielleadams committed Dec 7, 2020
1 parent 65d89fd commit 2344e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/fs/bench-statSync.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ function main({ n, statSyncType }) {
}
bench.end(n);

if (statSyncType === 'fstat')
if (statSyncType === 'fstatSync')
fs.closeSync(arg);
}

0 comments on commit 2344e3e

Please sign in to comment.