0
0
mirror of https://github.com/nodejs/node.git synced 2024-12-01 16:10:02 +01:00
nodejs/benchmark
isaacs d62cf59dc1 http: Don't hot-path end() for large buffers
The benefits of the hot-path optimization below start to fall off when
the buffer size gets up near 128KB, because the cost of the copy is more
than the cost of the extra write() call.  Switch to the write/end method
at that point.

Heuristics and magic numbers are awful, but slow http responses are
worse.

Fix #4975
2013-03-14 08:04:59 -07:00
..
arrays bench: Consistency in benchmark filenames 2013-02-19 17:16:55 -08:00
buffers bench: Consistency in benchmark filenames 2013-02-19 17:16:55 -08:00
crypto bench: Add bench-crypto 2013-02-19 17:16:55 -08:00
fs bench: Simplify duration arguments to benchmarks 2013-02-19 17:16:55 -08:00
http http: Don't hot-path end() for large buffers 2013-03-14 08:04:59 -07:00
misc bench: Simplify duration arguments to benchmarks 2013-02-19 17:16:55 -08:00
net bench: Simplify duration arguments to benchmarks 2013-02-19 17:16:55 -08:00
tls bench: Simplify duration arguments to benchmarks 2013-02-19 17:16:55 -08:00
common.js bench: Add flag to be silent in runner 2013-03-05 14:23:01 -08:00
compare.js bench: Do math on numbers in compare.js, not strings 2013-03-07 11:56:53 -08:00
fs-write-stream-throughput.js fs: Change default WriteStream config, increase perf 2013-02-15 18:48:43 -08:00
http_bench.js bench: add continuous stress test 2012-04-27 23:11:32 +02:00
http_server_lag.js Typo in http_server_lag.js script 2012-03-06 19:31:16 -08:00
http_simple_auto.js bench: use res.end() for chunked encoding 2012-12-20 11:44:10 +01:00
http_simple_bench.sh bench: fetch port from env 2012-08-13 18:52:06 +02:00
http_simple_cluster.js bench: start a worker for each CPU 2012-05-25 00:35:10 +02:00
http_simple.js bench: Make http easier to profile 2013-02-25 17:47:28 -08:00
http_simple.rb
http-flamegraph.sh benchmark: Make flamegraphs a bit more useful 2012-12-29 15:32:26 -08:00
http.sh benchmark: Set port range properly on Linux 2012-12-29 15:32:26 -08:00
idle_clients.js Add extra anti-DoS tech to net.Server 2010-10-27 12:09:16 -07:00
idle_server.js Abstract out a Server.prototype.pause method 2010-10-28 11:42:22 -07:00
io.c bench: Make io.c output easier to read 2013-02-19 14:14:37 -08:00
plot.R Bump size of bench histogram to 100ms 2011-01-10 18:00:21 -08:00
report-startup-memory.js Add startup memory script to benchmarks 2011-02-18 14:01:04 -08:00
static_http_server.js benchmark: Add resume() in static_http_server 2013-01-17 14:54:59 -08:00