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 targos committed May 1, 2021
1 parent 6201f23 commit 2bbf253
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/fs/bench-statSync.js
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 2bbf253

Please sign in to comment.