0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/lib/internal/main
Joyee Cheung 2b24ffae22
lib: print to stdout/stderr directly instead of using console
This patch adds an internal function that prints to stdout or
stderr by directly writing to the known file descriptor, and
uses it internally in common cases to avoid the overhead
of the console implementation.

PR-URL: https://github.com/nodejs/node/pull/27320
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-04-28 14:46:23 +08:00
..
.eslintrc.yaml
check_syntax.js module: explicitly initialize CJS loader 2019-04-22 17:30:09 +08:00
eval_stdin.js lib: use getOptionValue instead of process underscore aliases 2019-04-20 00:20:37 +08:00
eval_string.js lib: use getOptionValue instead of process underscore aliases 2019-04-20 00:20:37 +08:00
inspect.js process: call prepareMainThreadExecution in node inspect 2019-03-08 13:53:48 +01:00
print_bash_completion.js process: call prepareMainThreadExecution in all main thread scripts 2019-03-08 13:57:36 +01:00
print_help.js lib: force using primordials for JSON, Math and Reflect 2019-04-03 21:36:08 +08:00
prof_process.js process: call prepareMainThreadExecution in all main thread scripts 2019-03-08 13:57:36 +01:00
repl.js lib: print to stdout/stderr directly instead of using console 2019-04-28 14:46:23 +08:00
run_main_module.js process: patch more process properties during pre-execution 2019-04-04 05:14:54 +08:00
run_third_party_main.js lib: run prepareMainThreadExecution for third_party_main 2019-03-19 05:45:21 +01:00
worker_thread.js process: improve cwd performance 2019-04-26 18:43:11 +02:00