0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
Ruben Bridgewater eb2d4161f5
fs: improve readFile performance
This increases the maximum buffer size per read to 512kb when using
`fs.readFile`. This is important to improve the read performance for
bigger files.

PR-URL: https://github.com/nodejs/node/pull/27063
Refs: https://github.com/nodejs/node/issues/25741
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jamie Davis <davisjam@vt.edu>
2019-04-07 11:28:15 +02:00
..
internal fs: improve readFile performance 2019-04-07 11:28:15 +02:00
_http_agent.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_client.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_common.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
_http_incoming.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_outgoing.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_http_server.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_duplex.js benchmark,doc,lib: capitalize more comments 2019-03-27 17:20:06 +01:00
_stream_passthrough.js
_stream_readable.js stream: make Symbol.asyncIterator support stable 2019-04-03 09:15:59 +02:00
_stream_transform.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_stream_wrap.js lib: assign missed deprecation code 2019-03-07 15:48:55 +01:00
_stream_writable.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_common.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
_tls_wrap.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
.eslintrc.yaml tools: print a better message for unexpected use of globals 2019-04-06 16:15:28 +02:00
assert.js lib: validate Error.captureStackTrace() calls 2019-03-23 02:55:55 +01:00
async_hooks.js async_hooks: improve AsyncResource performance 2019-04-05 05:37:01 +02:00
buffer.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
child_process.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
cluster.js
console.js
constants.js
crypto.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
dgram.js dgram: add support for UDP connected sockets 2019-04-03 06:48:13 +02:00
dns.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
domain.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
events.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
fs.js fs: improve readFile performance 2019-04-07 11:28:15 +02:00
http2.js
http.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
https.js https: remove usage of public require('util') 2019-03-23 18:40:24 +05:30
inspector.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
module.js
net.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
os.js lib: refactor Error.captureStackTrace() usage 2019-03-23 02:55:54 +01:00
path.js path: refactor for less indentation 2019-04-03 02:35:18 +02:00
perf_hooks.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
process.js
punycode.js
querystring.js querystring: simplify stringify method 2019-04-04 15:26:06 +02:00
readline.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
repl.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
stream.js stream: reduce internal usage of public require of util 2019-03-22 00:48:32 +01:00
string_decoder.js
sys.js benchmark,doc,lib,test: capitalize comments 2019-03-10 00:44:40 +01:00
timers.js errors: add more information in case of invalid callbacks 2019-04-04 12:51:03 +02:00
tls.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
trace_events.js trace_events: remove usage of require('util') 2019-03-24 18:28:07 +08:00
tty.js tty: remove util.inherits usage 2019-03-25 00:26:49 +01:00
url.js benchmark,lib: change var to const 2019-03-30 13:16:39 +01:00
util.js lib: remove env: node in eslint config for lib files 2019-04-06 12:04:36 +08:00
v8.js v8: integrate node-heapdump into core 2019-03-13 15:50:32 +00:00
vm.js inspector,vm: remove --eval wrapper 2019-02-03 20:40:16 +01:00
worker_threads.js worker: use copy of process.env 2019-03-30 22:25:35 +01:00
zlib.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00