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
Right now it's using the native forms, but I seem to recall the JS one out-performing it in some scenarios, especially in the loop detection cases.
Another avenue to explore is implementing realpath in this module, but that's complicated. Most of the data is available to short-circuit some of the work in a lot of cases, probably, but in my experience it's a tricky one to get exactly right.
The text was updated successfully, but these errors were encountered:
isaacs
changed the title
benchmark fs.promises.realpath vs fs.realpath.sync, fs.realpathSync vs fs.realpathSync.native
benchmark fs.promises.realpath/fs.realpath.native vs fs.realpath, fs.realpathSync vs fs.realpathSync.native
Feb 7, 2023
Right now it's using the native forms, but I seem to recall the JS one out-performing it in some scenarios, especially in the loop detection cases.
Another avenue to explore is implementing realpath in this module, but that's complicated. Most of the data is available to short-circuit some of the work in a lot of cases, probably, but in my experience it's a tricky one to get exactly right.
The text was updated successfully, but these errors were encountered: