Skip to content

fs: `readFile` in one syscall to avoid context switching

This PR makes readFile as fast as readFileSync In fact, there is no point in reading the file in small chunks as the buffer is already allocated The AbortController does not justify such a huge performance hit Refs: #41435 (closed)

Merge request reports

Loading