0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal
Anna Henningsen 1365f657b5
src: improve StreamBase read throughput
Improve performance by providing JS with the raw ingridients
for the read data, i.e. an `ArrayBuffer` + offset + length
fields, instead of creating `Buffer` instances in C++ land.

PR-URL: https://github.com/nodejs/node/pull/23797
Reviewed-By: Tiancheng "Timothy" Gu <timothygu99@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-10-24 09:57:42 +02:00
..
bootstrap lib: migrate from process.binding('config') to getOptions() 2018-10-23 22:41:56 -07:00
cluster bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
crypto src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
dns dns: fix inconsistent (hostname vs host) 2018-10-20 21:56:28 -07:00
fs src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
http2 src: improve StreamBase read throughput 2018-10-24 09:57:42 +02:00
modules module: removed unused variable 2018-10-15 15:34:45 +02:00
process src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
repl repl: remove unused variable from try catch 2018-10-13 09:26:30 -07:00
streams streams: refactor ReadableStream asyncIterator creation and a few fixes 2018-10-08 22:17:29 -05:00
test src: name EmbededderGraph edges and use class names for nodes 2018-10-04 15:32:30 +02:00
util buffer: move process.binding('buffer') to internalBinding 2018-10-15 19:01:20 +08:00
vm vm: add dynamic import support 2018-10-06 17:33:25 -05:00
assert.js assert: remove internal errorCache property 2018-10-09 06:39:46 -07:00
async_hooks.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
bash_completion.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
buffer.js buffer: move process.binding('buffer') to internalBinding 2018-10-15 19:01:20 +08:00
child_process.js src: improve StreamBase read throughput 2018-10-24 09:57:42 +02:00
cli_table.js lib: refactor cli table 2018-07-14 14:04:38 +02:00
constants.js os: lazy loaded 2018-05-18 15:25:41 +02:00
dgram.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
domexception.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
encoding.js src: remove function hasTextDecoder in encoding.js 2018-10-16 10:08:22 -07:00
error-serdes.js worker: improve error (de)serialization 2018-06-06 19:43:59 +02:00
errors.js tls: throw if protocol too long 2018-10-23 21:05:47 -07:00
fixed_queue.js lib: expose FixedQueue internally and fix nextTick bug 2018-05-06 07:21:32 +02:00
freelist.js async_hooks: add missing async_hooks destroys in AsyncReset 2018-10-10 08:45:56 +02:00
http.js http: convert utcDate to use setTimeout 2017-12-29 00:08:54 +01:00
inspector_async_hook.js async_hooks: lazy loading for startup performance 2018-05-18 15:32:10 +02:00
linkedlist.js linkedlist: correct grammar in comments 2017-07-31 08:03:19 +08:00
net.js net: port isIPv6 to JS 2018-09-11 16:58:16 +08:00
per_context.js src: flip Atomics.notify alias 2018-09-18 17:10:40 -05:00
print_help.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
priority_queue.js lib: add internal PriorityQueue class 2018-05-22 23:24:37 +04:00
querystring.js
queue_microtask.js lib: trigger uncaught exception handler for microtasks 2018-10-23 13:05:57 -05:00
readline.js icu: make process.binding('icu') internal 2018-10-08 23:42:52 -04:00
readme.md doc: clarify text about internal module changes 2018-07-31 08:28:40 +03:00
repl.js lib: switch to Number.isNaN 2018-02-16 18:09:56 +01:00
safe_globals.js module: Allow runMain to be ESM 2017-09-07 15:18:32 -05:00
socket_list.js child_process: swallow errors in internal communication 2018-06-07 09:43:10 -04:00
stream_base_commons.js src: improve StreamBase read throughput 2018-10-24 09:57:42 +02:00
timers.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
tls.js tls: change var to const 2018-08-12 10:44:53 -07:00
trace_events_async_hooks.js bootstrapper: move internalBinding to NativeModule 2018-10-04 11:55:34 +02:00
tty.js os: lazy loaded 2018-05-18 15:25:41 +02:00
url.js lib: removed unused variable 2018-10-15 12:00:00 +02:00
util.js src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
v8_prof_polyfill.js tools, test: fix prof polyfill readline 2018-02-17 10:06:53 -02:00
v8_prof_processor.js src,lib: move natives and constants to internalBinding() 2018-10-21 03:17:12 +02:00
validators.js lib: extract validateNumber validator 2018-08-14 11:34:34 -04:00
worker.js worker: remove delete MessagePort.prototype.hasRef 2018-10-13 19:27:25 -07:00
wrap_js_stream.js tls: close StreamWrap and its stream correctly 2018-10-21 08:56:24 +02:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These modules can be changed at any time. Reliance on these modules outside of core is not supported in any way.