You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
doc: fs module: Callback API vs Promises API performance difference #39847
I would like an explanation provided for the following line in the fs docs (commit):
The callback-based versions of the fs module APIs are preferable over the use of the promise APIs when maximal performance (both in terms of execution time and memory allocation are required).
I could find no info on this. Why is fs's Callback API more performant than Promises API and how big is the difference?
I would like to work on this issue and
submit a pull request.
Activity
aduh95 commentedon Aug 28, 2021
Discussion on this subject is in #37583. Closing as duplicate.