News for hackers. Stuff that matters.
Re:fs.promises.readFile is 40% slower than fs.readFile by TheCoelacanth on Wednesday March 03, 2021 @07:33PM (#26337012)
But these are both non-blocking APIs. readFileSync is the blocking version.
Re:fs.promises.readFile is 40% slower than fs.readFile by tynorf on Wednesday March 03, 2021 @07:45PM (#26337117)
I believe orf is talking about the read(2) syscall, which is blocking.