The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / benchmark / static_http_server.js @ master

History | View | Annotate | Download (794 Bytes)

# Date Author Comment
ae6f4b32 01/17/2013 05:54 PM isaacs

benchmark: Add resume() in static_http_server

1001cf41 11/05/2011 12:25 PM koichik

bench: update static_http_server benchmark to new API

Fixes #2016.

6f84063a 03/23/2010 11:13 AM arlolra

Migrates benchmarks to the new api.

fb6dc11f 03/08/2010 10:06 PM Ryan Dahl

Clean up some things in the benchmarks

b1b84960 02/25/2010 04:01 PM Benjamin Thomas

Rename writeHeader to writeHead

12d78cd1 02/21/2010 07:53 PM Ryan Dahl

Rename sendHeader to writeHeader; allow reasonPhrase

7c1c89fc 02/17/2010 06:37 PM Ryan Dahl

Update benchmark script to new API

ae85d9af 02/17/2010 01:16 AM Ryan Dahl

API: Make request/response object closer to stream interface

- sendBody() renamed to write()
- 'body' event renamed to 'data'
- 'complete' event renamed to 'end'

f8ba9c3b 12/06/2009 12:36 PM Christopher Lenz

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().

d582599c 10/31/2009 03:06 PM Ryan Dahl

Upgrade benchmark scripts for new module API

ad0a4cef 10/29/2009 06:36 PM Ryan Dahl

Namespace EVERYTHING under process; introduce GLOBAL

http://groups.google.com/group/nodejs/browse_thread/thread/1034fd2ad2cd93e8

04e53cab 10/25/2009 05:51 PM Ryan Dahl

Rename node.libraryPaths to require.paths

to be more inline with CommonJS.

f6657c3c 09/28/2009 06:36 AM Ryan Dahl

Move http library to /http.js

ad9d683f 08/26/2009 04:36 PM Ryan Stansifer

API: rename node.Process to node.ChildProcess

This is to avoid confusion with the global "process" object, especially for
the instances of node.Process.

316e2833 08/23/2009 06:32 AM Ryan Stansifer

Use flat object instead of array-of-arrays for HTTP headers.

E.G. { "Content-Length": 10, "Content-Type": "text/html" } instead of
[["Content-Length", 10], ["Content-Type", "text/html"]].
The main reason for this change is object-creation efficiency.

This still needs testing and some further changes (like when receiving...

65ec2d5d 08/08/2009 03:51 PM Ryan Stansifer

Fix http benchmark. Wasn't correctly dispatching.

05d6319f 07/13/2009 10:38 AM Ryan Stansifer

Add benchmark scripts.

To use the benchmarks:

node benchmarks/run.js

or:

make benchmark

The numbers reported are the elapsed milliseconds the script took to
complete. Currently only benching HTTP code and timers.