Ben Noordhuis
8b2abed03d
bench: add /echo endpoint to http_simple
Copies the POST request data verbatim into the response body.
13 years ago
Ben Noordhuis
ed5bad754c
bench: fix use of fd after close
13 years ago
Bert Belder
c6347dcfb4
Add another nextTick benchmark
It tests how many iterations the event loop can make per second.
13 years ago
Ben Noordhuis
78ca555845
bench: optimize io.c benchmark
Use static buffers. Most clock ticks were spent in malloc() and free() instead
of read() and write().
Fix measurements. Really fast runs would result in bogus results like:
Wrote 1048576000 bytes in -0.731630s using 8192 byte buffers: -1366.811093mB/s
13 years ago
Ben Noordhuis
4fc0fdc6ee
bench: start (NUM_CPUS-1) workers
The master is a worker too so fork off one less worker.
13 years ago
koichik
1001cf412c
bench: update static_http_server benchmark to new API
Fixes #2016 .
13 years ago
Ben Noordhuis
89014c9d40
bench: add http_simple cluster edition benchmark
13 years ago
Ben Noordhuis
5fee1ff7bc
bench: add process.nextTick() benchmark
13 years ago
Ryan Dahl
16e1d5b5ce
Remove uname and git-rev detection from http_simple.js
13 years ago
Ryan Dahl
2b46959075
Add throughput benchmark
13 years ago
Ryan Dahl
f018be3b5f
Print libuv counters after http_simple exits
13 years ago
Ben Noordhuis
63607a0304
bench: make number of response body chunks configurable in http_simple
14 years ago
Ben Noordhuis
d72c6940f8
bench: make http_simple send chunked encoding if requested
14 years ago
Ben Noordhuis
4726504663
typed arrays: preliminary benchmarks
14 years ago
Ryan Dahl
1fce3f0ef8
Add startup memory script to benchmarks
14 years ago
Ryan Dahl
bd094103d7
Add script for running V8 benchmarks
14 years ago
Ryan Dahl
320a56b89d
Bump size of bench histogram to 100ms
14 years ago
Ryan Dahl
08bec7ab0a
Remove debugger statement from http_simple.js
results in slow bench
14 years ago
Ryan Dahl
62e0ca05a6
debugger: Disable/Enable raw mode for child
14 years ago
Ryan Dahl
73cfda12bb
Abstract out a Server.prototype.pause method
14 years ago
Ryan Dahl
ad61d77fa3
Abstract out net.Server.prototype._rejectPending
Does the same timeout action for maxConnections as it does for EMFILE.
14 years ago
Ryan Dahl
38dde9684f
Add extra anti-DoS tech to net.Server
14 years ago
Ryan Dahl
aeb9bed63e
Improve idle benchmarks
14 years ago
Ryan Dahl
ac54272218
Gracefully handle EMFILE
Implementing a tip from Marc Lehmann:
http://pod.tst.eu/http://cvs.schmorp.de/libev/ev.pod#The_special_problem_of_accept_ing_wh
Keep an extra FD around for every server. When you hit EMFILE, destroy that
FD, accept a connection, close it; in this way you can clear the connection
queue and let people know that you're overload.
No more timeout needed.
14 years ago
Ryan Dahl
bc47353bbe
Use the timer list for setTimeout
14 years ago
Ryan Dahl
33e45bbe46
Add incomplete R plot file
14 years ago
Ryan Dahl
a313f38c34
use bash instead of sh in http_simple_bench.sh
14 years ago
Ryan Dahl
3cf4827ae0
Add idle connection test
14 years ago
Ryan Dahl
ff456b3886
Add 'make bench' script
14 years ago
Ryan Dahl
cdde22a27d
Improve benchmark/http_simple.js
14 years ago
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
14 years ago
Ryan Dahl
f9d6b074cf
output time of function calls
14 years ago
Ryan Dahl
353e2565d5
Fix timing on I/O benchmark
14 years ago
Ryan Dahl
3fc9192d0d
Add function_call benchmark
14 years ago
Ryan Dahl
7628905a9b
Don't use empty.js - breaks module test
15 years ago
Felix Geisendörfer
f870240dcf
Simple benchmark for node's startup time
15 years ago
Ryan Dahl
ff027d571b
Update fast buffer benchmarks
15 years ago
Ryan Dahl
488aff085b
Improve appendix markdown
15 years ago
Ryan Dahl
12a169e8ff
Add buffer_creation benchmark
15 years ago
Ryan Dahl
41ad33910f
Add Paul Querna's io benchmarks
15 years ago
Blake Mizerany
8c8534046c
fix whitespace errors
15 years ago
Ryan Dahl
444b33584d
Remove switch-replace residue
15 years ago
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
and there was much rejoicing
15 years ago
Ryan Dahl
ab723d022d
Add buffer response to http_simple.js
15 years ago
Ryan Dahl
99984772df
Allow different ports for http_simple.js
15 years ago
Ryan Dahl
ac3bc2ed41
Simplify GC idle notification
In particular, don't leave the timeout running when the heap is fully
compacted.
15 years ago
Ryan Dahl
b36f11d7b5
Set old/new from benchmark script args
15 years ago
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
15 years ago
Ryan Dahl
62277ab79b
Support both old and new HTTP closing APIs in benchmark program
15 years ago
Ryan Dahl
0281e1acf6
Fix benchmark script for testing both old and new version
15 years ago