0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib
James Pickard e9ce8fc82a fs: improve performance of all stat functions
By building the fs.Stats object in JS, which is returned by all fs stat
functions, calls to v8::Object::Set() are removed. This also includes
creating all associated Date objects in JS, rather than using
v8::Date::New(). Both these changes have significant performance gains.

Note that the returned value from fs.stat changes slightly for non-POSIX
systems. Whereas before the stats object would be missing blocks and
blksize keys, it now has these keys with undefined as the value.

Signed-off-by: Trevor Norris <trev.norris@gmail.com>
2014-03-31 15:02:17 -07:00
..
_debugger.js debugger: don't set the repl.prompt string 2014-02-21 09:43:06 -08:00
_http_agent.js http: remove the circular dependency 2014-02-26 13:19:36 -08:00
_http_client.js http: better client "protocol not supported" error 2014-03-28 11:05:35 -10:00
_http_common.js http: parse the status message in a http response. 2013-12-20 17:55:08 +04:00
_http_incoming.js http: do not emit EOF non-readable socket 2014-01-25 12:03:20 -08:00
_http_outgoing.js http: use writev on chunked encoding 2014-01-09 15:07:14 -08:00
_http_server.js http: avoid duplicate keys in writeHead 2014-02-19 09:24:16 -08:00
_linklist.js
_stream_duplex.js
_stream_passthrough.js
_stream_readable.js Merge remote-tracking branch 'origin/v0.10' 2014-03-02 23:54:19 +04:00
_stream_transform.js stream: objectMode transforms allow falsey values 2013-09-05 13:19:23 -07:00
_stream_writable.js Merge remote-tracking branch 'upstream/v0.10' 2014-02-10 11:21:09 -08:00
_tls_common.js crypto: move createCredentials to tls 2014-03-29 12:01:43 +04:00
_tls_legacy.js crypto: move createCredentials to tls 2014-03-29 12:01:43 +04:00
_tls_wrap.js crypto: move createCredentials to tls 2014-03-29 12:01:43 +04:00
assert.js Merge remote-tracking branch 'origin/v0.10' 2014-03-02 23:54:19 +04:00
buffer.js buffer: fix typo in SlowBuffer 2014-03-10 13:23:56 -07:00
child_process.js Merge remote-tracking branch 'upstream/v0.10' 2014-03-10 16:50:00 -07:00
cluster.js cluster: do not synchronously emit 'setup' event 2013-12-31 11:43:44 -08:00
console.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
constants.js
crypto.js crypto: move createCredentials to tls 2014-03-29 12:01:43 +04:00
dgram.js dgram: pass the bytes sent to the send callback 2014-02-15 19:24:42 -08:00
dns.js dns: validate arguments in resolver 2014-02-09 13:38:23 +04:00
domain.js Merge remote-tracking branch 'origin/v0.10' 2014-01-15 13:49:55 -08:00
events.js src: revert domain using AsyncListeners 2014-01-09 13:25:20 -08:00
freelist.js
fs.js fs: improve performance of all stat functions 2014-03-31 15:02:17 -07:00
http.js http, https: don't depend on globalAgent 2014-02-26 13:18:54 -08:00
https.js http, https: don't depend on globalAgent 2014-02-26 13:18:54 -08:00
module.js Merge remote-tracking branch 'upstream/v0.10' 2013-12-12 11:32:41 -08:00
net.js src: make stdout/sterr pipes blocking 2014-02-26 10:36:58 -08:00
os.js lint 2013-03-28 13:19:08 -07:00
path.js path: improve POSIX path.join() performance 2014-01-21 17:00:56 -08:00
punycode.js lib: remove unused variables and functions 2013-08-15 17:19:17 -07:00
querystring.js querystring: remove name from stringify() 2013-12-30 11:41:37 -08:00
readline.js readline: consider newlines for cursor position 2014-03-12 14:47:17 -03:00
repl.js lint: fix missing semi colon in repl 2014-02-17 16:21:38 -08:00
smalloc.js smalloc: check if object has external memory 2013-11-13 15:29:50 -08:00
stream.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
string_decoder.js
sys.js
timers.js Merge remote-tracking branch 'upstream/v0.10' 2014-03-10 16:50:00 -07:00
tls.js crypto: move createCredentials to tls 2014-03-29 12:01:43 +04:00
tracing.js src: move AsyncListener from process to tracing 2014-02-05 17:16:36 -08:00
tty.js lib: remove unused variables and functions 2013-08-15 17:19:17 -07:00
url.js src: Replace macros with util functions 2013-08-01 15:08:01 -07:00
util.js util: show meaningful values for boxed primitives 2014-02-06 14:19:47 +04:00
vm.js vm: update API to use options argument 2013-08-28 22:27:24 -07:00
zlib.js zlib: separate sync/async methods 2014-02-04 01:41:02 +04:00