线程池使用


【Threadpool usage】

所有基于回调和 Promise 的文件系统 API(fs.FSWatcher() 除外)都使用 libuv 的线程池。这对于某些应用可能会产生意想不到的负面性能影响。有关更多信息,请参阅 UV_THREADPOOL_SIZE 文档。

【All callback and promise-based file system APIs (with the exception of fs.FSWatcher()) use libuv's threadpool. This can have surprising and negative performance implications for some applications. See the UV_THREADPOOL_SIZE documentation for more information.】