4 ms·
Does this pass all the HTTP tests in Node.js repo? If not the perf diff is irrelevant.
by swineflu 10y ago
Does this pass all the HTTP tests in Node.js repo? If not the perf diff is irrelevant.
- daliwali 10y agoIt has a mostly-compatible API but strict conformance doesn't seem to be the goal here. If your application does not make use of obscure features provided by core http (it could probably be refactored to do without anyways), then it's a free boost in performance.
- swineflu 10y agoIs the req object a readable stream? is the res object a writable stream? How do you handle backpressure with this mostly-compatible API?