Ryan Dahl
320a56b89d
Bump size of bench histogram to 100ms
2011-01-10 18:00:21 -08:00
Ryan Dahl
08bec7ab0a
Remove debugger statement from http_simple.js
...
results in slow bench
2011-01-06 18:07:50 -08:00
Ryan Dahl
62e0ca05a6
debugger: Disable/Enable raw mode for child
2010-12-30 15:46:47 -08:00
Ryan Dahl
73cfda12bb
Abstract out a Server.prototype.pause method
2010-10-28 11:42:22 -07:00
Ryan Dahl
ad61d77fa3
Abstract out net.Server.prototype._rejectPending
...
Does the same timeout action for maxConnections as it does for EMFILE.
2010-10-28 11:33:35 -07:00
Ryan Dahl
38dde9684f
Add extra anti-DoS tech to net.Server
2010-10-27 12:09:16 -07:00
Ryan Dahl
aeb9bed63e
Improve idle benchmarks
2010-10-27 02:52:49 -07:00
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.
2010-10-27 02:12:25 -07:00
Ryan Dahl
bc47353bbe
Use the timer list for setTimeout
2010-10-26 14:53:18 -07:00
Ryan Dahl
33e45bbe46
Add incomplete R plot file
2010-10-20 21:28:49 -07:00
Ryan Dahl
a313f38c34
use bash instead of sh in http_simple_bench.sh
2010-10-18 17:48:49 -07:00
Ryan Dahl
3cf4827ae0
Add idle connection test
2010-10-15 12:11:50 -05:00
Ryan Dahl
ff456b3886
Add 'make bench' script
2010-10-13 16:20:24 -07:00
Ryan Dahl
cdde22a27d
Improve benchmark/http_simple.js
2010-10-13 14:30:50 -07:00
Micheil Smith
e38eb0c5a4
Soft migration of sys -> util, Removal of deprecated utils module.
2010-10-11 15:21:36 -07:00
Ryan Dahl
f9d6b074cf
output time of function calls
2010-09-28 01:14:38 -07:00
Ryan Dahl
353e2565d5
Fix timing on I/O benchmark
2010-09-25 18:19:50 +02:00
Ryan Dahl
3fc9192d0d
Add function_call benchmark
2010-09-23 22:27:44 -07:00
Ryan Dahl
7628905a9b
Don't use empty.js - breaks module test
2010-09-09 16:22:57 -07:00
Felix Geisendörfer
f870240dcf
Simple benchmark for node's startup time
2010-09-09 15:51:17 -07:00
Ryan Dahl
ff027d571b
Update fast buffer benchmarks
2010-09-09 11:03:50 -07:00
Ryan Dahl
488aff085b
Improve appendix markdown
2010-08-21 01:24:14 -07:00
Ryan Dahl
12a169e8ff
Add buffer_creation benchmark
2010-08-19 01:40:28 -07:00
Ryan Dahl
41ad33910f
Add Paul Querna's io benchmarks
2010-08-17 08:43:26 -07:00
Blake Mizerany
8c8534046c
fix whitespace errors
2010-06-29 23:59:24 -07:00
Ryan Dahl
444b33584d
Remove switch-replace residue
2010-06-24 09:37:36 -07:00
Ryan Dahl
ba792ea202
:%s/sys.puts/console.log/g
...
and there was much rejoicing
2010-06-23 20:05:29 -07:00
Ryan Dahl
ab723d022d
Add buffer response to http_simple.js
2010-05-04 22:35:55 -07:00
Ryan Dahl
99984772df
Allow different ports for http_simple.js
2010-05-02 17:26:18 -07:00
Ryan Dahl
ac3bc2ed41
Simplify GC idle notification
...
In particular, don't leave the timeout running when the heap is fully
compacted.
2010-04-15 01:30:58 -07:00
Ryan Dahl
b36f11d7b5
Set old/new from benchmark script args
2010-04-09 10:42:20 -07:00
Ryan Dahl
50c70ac714
Update stream API: forceClose() -> destroy(), close() -> end()
2010-04-08 12:24:29 -07:00
Ryan Dahl
62277ab79b
Support both old and new HTTP closing APIs in benchmark program
2010-04-08 01:00:35 -07:00
Ryan Dahl
0281e1acf6
Fix benchmark script for testing both old and new version
2010-04-07 16:19:50 -07:00
Ryan Dahl
1b758ef268
Allow stream to write on close
2010-04-05 16:50:05 -07:00
arlolra
6f84063a3b
Migrates benchmarks to the new api.
2010-03-23 08:13:17 -07:00
Ryan Dahl
b80f6e9ed1
http2 now default
2010-03-19 19:52:09 -07:00
Ryan Dahl
1762abcece
http2 now passes all tests
2010-03-18 15:49:42 -07:00
Ryan Dahl
b07f2e25f4
Update http2 for new stream API
2010-03-09 12:00:06 -08:00
Ryan Dahl
fb6dc11f11
Clean up some things in the benchmarks
2010-03-08 19:06:25 -08:00
Ryan Dahl
04999ef969
Remove -Werror from deps/v8/SConstruct
...
-_-
2010-03-08 18:04:59 -08:00
isaacs
c488e5775a
Remove process.mixin dependencies from benchmark scripts
2010-03-08 17:57:38 -08:00
Ryan Dahl
6d60d2db00
Revert "Use kqueue on macintosh"
...
Experiencing bugs http://github.com/ry/node/issues/#issue/74
This reverts commit 409020a67d
.
2010-03-05 14:36:13 -08:00
Ryan Dahl
409020a67d
Use kqueue on macintosh
2010-03-04 10:02:41 -08:00
Benjamin Thomas
b1b84960ce
Rename writeHeader to writeHead
2010-02-25 13:01:21 -08:00
Ryan Dahl
12d78cd1df
Rename sendHeader to writeHeader; allow reasonPhrase
2010-02-21 16:53:49 -08:00
Ryan Dahl
7c1c89fc29
Update benchmark script to new API
2010-02-17 15:37:12 -08:00
Ryan Dahl
ae85d9af97
API: Make request/response object closer to stream interface
...
- sendBody() renamed to write()
- 'body' event renamed to 'data'
- 'complete' event renamed to 'end'
2010-02-16 22:16:29 -08:00
Ryan Dahl
8e0dad4a27
Update http benchmark script to new url api.
2010-01-10 23:00:58 -08:00
Christopher Lenz
f8ba9c3bc9
Add http.Client.prototype.request()
...
Change the http.Client API so that it provides a single request() method
taking an optional parameter to specify the HTTP method (defaulting to
"GET"), instead of the five methods get(), head(), post(), del() and put().
2009-12-06 18:36:32 +01:00