- Dec 22, 2012
-
-
Scott Blomquist authored
-
isaacs authored
This fixes windows stdio pipes in streams2 land.
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
- Dec 21, 2012
- Dec 20, 2012
-
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
-
Bert Belder authored
It used to be off before. It's extremely unlikely that such an attack would be a viable attack against node. And it makes AES much slower.
-
Bert Belder authored
-
Bert Belder authored
When perlasm generates MASM code it sets the assembler target to 468. In this mode MASM refuses to assemble a couple of instructions. Bumping the target to 686 solves this problem.
-
Bert Belder authored
This patch brings the openssl library that is built with gyp closer to what the standard build system produces. All opensslconf.h versions are now merged into a single file, which makes it easier for compiled addons to locate this file.
-
Ben Noordhuis authored
-
Ben Noordhuis authored
-
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. -
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.
-
Farid Neshat authored
-
isaacs authored
This fixes pummel/test-net-write-callbacks
-
isaacs authored
-
isaacs authored
-
isaacs authored
-
- Dec 19, 2012
-
-
Timothy J Fontaine authored
-
isaacs authored
This is very similar to http.sh, but generates a flamegraph with dtrace, pruning off the single-hit stacks so that we can more easily see the places where relevant amounts of time are spent.
-
isaacs authored
-
- Dec 18, 2012
-
-
Ben Noordhuis authored
Remove the idle garbage collector. Its purpose was to run the garbage collector when the application is idle but it never worked quite right. Many people have complained over the years that with heaps > 128 MB, a node.js process never sleeps anymore; instead, it spends nearly 100% of its CPU time trying to collect garbage. Back in the old days, idle GC probably was a good idea. But with V8's current incremental collector, idle gc appears to offer no time or space benefits whatsoever and indeed seems actively harmful. Remove it. Fixes #3870.
-
Ben Noordhuis authored
Replace dashes with underscores. When loading foo-bar.node, look for foo_bar_module, not foo-bar_module. The latter is not a legal symbol name.
-
Ben Noordhuis authored
-
Fedor Indutny authored
-
isaacs authored
This fixes the case where stderr doesn't flush before the process exits.
-
Dean McNamee authored
When Mikael Bourges-Sevenier added support for Uint8ClampedArray in 67fc1daf, the new type was not added to SizeOfArrayElementForType().
-
Dean McNamee authored
Although it is not used externally by node, it is needed by upstream and Plask. This effectively reverts: commit 14448013 Author: Aaron Jacobs <jacobsa@google.com> Date: Thu Mar 15 13:26:35 2012 +1100 typed arrays: unexport SizeOfArrayElementForType() It isn't used anywhere else, so made it an implementation detail in v8_typed_array.cc. -
Nicolas Chambrier authored
-
- Dec 17, 2012
-
-
Fedor Indutny authored
This reverts commit 02dffb06. DEAD_CODE_STRIPPING is stripping out CRYPTO_set_add_lock_callback symbol on which some addons are relying.
-