Skip to content
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

doc: add performance notes for fs.readFile #36880

Closed
wants to merge 1 commit into from

Commits on Jan 15, 2021

  1. doc: add performance notes for fs.readFile

    Issue nodejs#25741 discusses a number of
    performance considerations for fs.readFile, which was changed in Node.js
    10.x to split discreet chunk reads over multiple event loop turns. While
    the fs.readFile() operation is certainly slower than it was pre 10.x,
    it's unlikely to be faster. Document the performance consideration and
    link back to the issue for more in depth analysis.
    
    Signed-off-by: James M Snell <jasnell@gmail.com>
    Fixes: nodejs#25741
    jasnell committed Jan 15, 2021
    Configuration menu
    Copy the full SHA
    92d731d View commit details
    Browse the repository at this point in the history