1. Dec 21, 2012
  2. Dec 20, 2012
    • Ben Noordhuis's avatar
      http: pack response body buffer in first tcp packet · 5a19c07c
      Ben Noordhuis authored
      Apply the same optimization to res.end(buf) that is applied to res.end(str).
      
      Speeds up `node benchmark/http_simple_auto -k -c 1 -n 25000 buffer/1`
      (non-chunked response body) by about 750x. That's not a typo.
      
      Chunked responses:
      
        $ cat tmp/http-chunked-client.js
        // Run `node benchmark/http_simple` in another terminal.
        var http = require('http'), url = require('url');
        var options = url.parse('http://127.0.0.1:8000/buffer/1/1');
        options.agent = new http.Agent({ maxSockets: 1 });
        for (var i = 0; i < 25000; ++i) http.get(options);
      
      Before:
      
        $ time out/Release/node tmp/http-chunked-client.js
        real    16m40.411s
        user    0m9.184s
        sys     0m0.604s
      
      After:
      
        $ time out/Release/node tmp/http-chunked-client.js
        real    0m5.386s
        user    0m2.768s
        sys     0m0.728s
      
      That's still a 185x speed-up.
      
      Fixes #4415.
      5a19c07c
    • Ben Noordhuis's avatar
      bench: use res.end() for chunked encoding · ba407ce4
      Ben Noordhuis authored
      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.
      ba407ce4
  3. Dec 19, 2012
  4. Dec 18, 2012
  5. Dec 17, 2012
  6. Dec 14, 2012
  7. Dec 13, 2012
  8. Dec 12, 2012
  9. Dec 11, 2012
  10. Dec 07, 2012
  11. Dec 04, 2012
  12. Dec 02, 2012
  13. Dec 01, 2012
  14. Nov 30, 2012
  15. Nov 29, 2012
  16. Nov 28, 2012
  17. Nov 27, 2012
    • isaacs's avatar
      blog: Post for v0.8.15 · 122ac4e1
      isaacs authored
      122ac4e1
    • isaacs's avatar
      Now working on 0.8.16 · e773be6f
      isaacs authored
      e773be6f
    • isaacs's avatar
      Merge branch 'v0.8.15-release' into v0.8 · 9f51fd6b
      isaacs authored
      9f51fd6b
    • isaacs's avatar
      2012.11.26, Version 0.8.15 (Stable) · fdf91afb
      isaacs authored
      * npm: Upgrade to 1.1.66 (isaacs)
      
      * linux: use /proc/cpuinfo for CPU frequency (Ben Noordhuis)
      
      * windows: map WSAESHUTDOWN to UV_EPIPE (Ben Noordhuis)
      
      * windows: map ERROR_GEN_FAILURE to UV_EIO (Bert Belder)
      
      * unix: do not set environ unless one is provided (Charlie McConnell)
      
      * domains: don't crash if domain is set to null (Bert Belder)
      
      * windows: fix the x64 debug build (Bert Belder)
      
      * net, tls: fix connect() resource leak (Ben Noordhuis)
      fdf91afb
  18. Nov 26, 2012
  19. Nov 24, 2012
  20. Nov 23, 2012
  21. Nov 21, 2012
  22. Nov 09, 2012
  23. Oct 30, 2012
  24. Oct 26, 2012