node/benchmark/http
Jackson Tian c98aaf59bf http: speed up checkIsHttpToken
The Regex implementation is not faster than ascii code compare.

the field name is shorter, the speed is faster.

benchmark result here:

https://bitbucket.org/snippets/JacksonTian/Rnbad/benchmark-result

PR-URL: https://github.com/nodejs/node/pull/4790
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
2016-06-23 16:59:39 -07:00
..
_chunky_http_client.js tools,benchmark: increase lint compliance 2016-03-21 13:07:09 -07:00
check_is_http_token.js http: speed up checkIsHttpToken 2016-06-23 16:59:39 -07:00
chunked.js benchmark: use strict mode 2016-03-21 13:07:09 -07:00
client-request-body.js benchmark: use strict mode 2016-03-21 13:07:09 -07:00
cluster.js benchmark: use strict mode 2016-03-21 13:07:09 -07:00
end-vs-write-end.js benchmark: use strict mode 2016-03-21 13:07:09 -07:00
http_server_for_chunky_client.js tools,benchmark: increase lint compliance 2016-03-21 13:07:09 -07:00
simple.js benchmark: use strict mode 2016-03-21 13:07:09 -07:00