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 / http_simple.js @ master

History | View | Annotate | Download (2.96 KB)

# Date Author Comment
88befa60 02/25/2013 08:47 PM isaacs

bench: Make http easier to profile

Do not run the http/simple.js server in a child process.

Fix #4831

536ce446 02/19/2013 05:14 PM isaacs

bench: http benchmarks

Also: make http_simple less chatty

ba407ce4 12/20/2012 05:44 AM Ben Noordhuis

bench: use res.end() for chunked encoding

Use res.end() for the final chunk so we can benchmark the 'hot path' shortcut
in lib/http.js that packs the headers and the body into a single packet.

4ddafbd5 05/08/2012 09:56 PM Bert Belder

Benchmark: add /unicode/nnn bench to http_simple.js

7f68f256 05/08/2012 09:56 PM Bert Belder

Benchmark: clean up http_simple.js

45c1d4f9 04/17/2012 04:14 PM isaacs

Add switches to http_simple bench to use domains

8b2abed0 12/29/2011 08:03 PM Ben Noordhuis

bench: add /echo endpoint to http_simple

Copies the POST request data verbatim into the response body.

16e1d5b5 10/12/2011 03:29 PM Ryan Dahl

Remove uname and git-rev detection from http_simple.js

f018be3b 10/06/2011 06:02 PM Ryan Dahl

Print libuv counters after http_simple exits

63607a03 08/17/2011 05:26 PM Ben Noordhuis

bench: make number of response body chunks configurable in http_simple

d72c6940 08/17/2011 02:39 PM Ben Noordhuis

bench: make http_simple send chunked encoding if requested

08bec7ab 01/06/2011 09:07 PM Ryan Dahl

Remove debugger statement from http_simple.js

results in slow bench

62e0ca05 12/30/2010 06:46 PM Ryan Dahl

debugger: Disable/Enable raw mode for child

ff456b38 10/13/2010 07:20 PM Ryan Dahl

Add 'make bench' script

cdde22a2 10/13/2010 05:30 PM Ryan Dahl

Improve benchmark/http_simple.js

8c853404 06/30/2010 02:59 AM Blake Mizerany

fix whitespace errors

444b3358 06/24/2010 12:37 PM Ryan Dahl

Remove switch-replace residue

ba792ea2 06/23/2010 11:05 PM Ryan Dahl

:%s/sys.puts/console.log/g

and there was much rejoicing

ab723d02 05/05/2010 01:35 AM Ryan Dahl

Add buffer response to http_simple.js

99984772 05/02/2010 08:26 PM Ryan Dahl

Allow different ports for http_simple.js

ac3bc2ed 04/15/2010 04:30 AM Ryan Dahl

Simplify GC idle notification

In particular, don't leave the timeout running when the heap is fully
compacted.

b36f11d7 04/09/2010 01:42 PM Ryan Dahl

Set old/new from benchmark script args

50c70ac7 04/08/2010 03:24 PM Ryan Dahl

Update stream API: forceClose() -> destroy(), close() -> end()

62277ab7 04/08/2010 04:00 AM Ryan Dahl

Support both old and new HTTP closing APIs in benchmark program

0281e1ac 04/07/2010 07:19 PM Ryan Dahl

Fix benchmark script for testing both old and new version

1b758ef2 04/05/2010 07:50 PM Ryan Dahl

Allow stream to write on close

b80f6e9e 03/19/2010 10:52 PM Ryan Dahl

http2 now default

1762abce 03/18/2010 06:49 PM Ryan Dahl

http2 now passes all tests

b07f2e25 03/09/2010 03:00 PM Ryan Dahl

Update http2 for new stream API

04999ef9 03/08/2010 09:04 PM Ryan Dahl

Remove -Werror from deps/v8/SConstruct

_

c488e577 03/08/2010 08:57 PM isaacs

Remove process.mixin dependencies from benchmark scripts

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'

8e0dad4a 01/11/2010 02:00 AM Ryan Dahl

Update http benchmark script to new url api.

54c8ea5e 11/06/2009 06:53 AM Ryan Dahl

Fix http_simple server for new API

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.

8185e1fd 10/05/2009 09:46 AM Ryan Dahl

Remove include() add node.mixin()

include() should not be used by libraries because it will pollute the global
namespace. To discourage this behavior and bring Node more in-line with
the current CommonJS module system, include() is removed.

Small scripts like unit tests often times do want to pollute the global...

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

Move http library to /http.js

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

70fe920f 06/28/2009 01:08 PM Ryan Stansifer

Use events for all HTTP messages.

This is a rather large refactor! Mostly for the better side. I've had to
remove some functionality like req.interrupt(). A lot of other work is left
messy or incomplete.

61fcbb1c 06/18/2009 08:36 AM Ryan Stansifer

Add benchmark dir with ruby script