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

fs: include more fs.stat*() optimizations #11665

Closed
wants to merge 2 commits into from

Commits on Mar 13, 2017

  1. fs: include more fs.stat*() optimizations

    Including:
    
    * Move async *stat() functions to FillStatsArray() now used by the
    sync *stat() functions
    
    * Avoid creating fs.Stats instances for implicit async/sync *stat()
    calls used in various fs functions
    
    * Store reference to Float64Array data on C++ side for easier/faster
    access, instead of passing from JS to C++ on every async/sync *stat()
    call
    mscdex committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    b9e3f07 View commit details
    Browse the repository at this point in the history
  2. fs: more realpath*() optimizations

    Including:
    
    * Skip URL instance check for common (string) cases
    
    * Avoid regexp on non-Windows platforms when parsing the root of a path
    
    * Skip call to `getOptions()` in common case where no `options` is passed
    
    * Avoid `hasOwnProperty()`
    mscdex committed Mar 13, 2017
    Configuration menu
    Copy the full SHA
    212a01c View commit details
    Browse the repository at this point in the history