summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-10-23 08:23:02 +0200
committerMichaƫl Zasso <targos@protonmail.com>2018-10-28 15:15:15 +0100
commitf01518edfd83e2235d84485d87621e61f675b4a7 (patch)
tree20a562e8e3d86cce4787fef5847baaced6015a53 /src/env.h
parent0a23538e49e27b95ee35b051b6507eca74e2bb20 (diff)
downloadandroid-node-v8-f01518edfd83e2235d84485d87621e61f675b4a7.tar.gz
android-node-v8-f01518edfd83e2235d84485d87621e61f675b4a7.tar.bz2
android-node-v8-f01518edfd83e2235d84485d87621e61f675b4a7.zip
src: improve StreamBase write throughput
Improve performance by transferring information about write status to JS through an `AliasedBuffer`, rather than object properties set from C++. PR-URL: https://github.com/nodejs/node/pull/23843 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/env.h b/src/env.h
index 82f68f1b11..a7ea3de82f 100644
--- a/src/env.h
+++ b/src/env.h
@@ -128,10 +128,8 @@ constexpr size_t kFsStatsBufferLength = kFsStatsFieldsNumber * 2;
V(address_string, "address") \
V(aliases_string, "aliases") \
V(args_string, "args") \
- V(async, "async") \
V(async_ids_stack_string, "async_ids_stack") \
V(buffer_string, "buffer") \
- V(bytes_string, "bytes") \
V(bytes_parsed_string, "bytesParsed") \
V(bytes_read_string, "bytesRead") \
V(bytes_written_string, "bytesWritten") \