0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark/http
Calvin Metcalf e20af3371b stream: add flow and buffer properties to streams
This adds computed properties to readable and writable streams to
allow access to the readable buffer, the writable buffer, and flow
state without accessing the readable or writable state.

These are the only uses of readable and writable state in the docs
so adding these work arounds allows them to be removed from the docs.

This also updates net, http_client and http_server to use the new
methods instead of manipulating readable and writable state directly.

See: https://github.com/nodejs/node/issues/445
PR-URL: https://github.com/nodejs/node/pull/12855
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-12-15 23:05:45 +01:00
..
_chunky_http_client.js benchmark: var to const 2017-09-19 21:14:38 -03:00
bench-parser.js
check_invalid_header_char.js benchmark: var to const 2017-09-19 21:14:38 -03:00
check_is_http_token.js benchmark: var to const 2017-09-19 21:14:38 -03:00
chunked.js benchmark: var to const 2017-09-19 21:14:38 -03:00
client-request-body.js benchmark: var to const 2017-09-19 21:14:38 -03:00
cluster.js benchmark: var to const 2017-09-19 21:14:38 -03:00
create-clientrequest.js benchmark: var to const 2017-09-19 21:14:38 -03:00
end-vs-write-end.js benchmark: var to const 2017-09-19 21:14:38 -03:00
http_server_for_chunky_client.js benchmark: var to const 2017-09-19 21:14:38 -03:00
simple.js benchmark: fix http/simple.js benchmark 2017-12-11 18:17:31 -05:00
upgrade.js stream: add flow and buffer properties to streams 2017-12-15 23:05:45 +01:00