joyent/node — pull request #1864 by aikar (2011-10-12 00:58:59+00:00)
Title: Performance Increase: child_process.fork() reading of JSON

Improves how data is read from the buffer for child_process.fork() so that the jsonBuffer is not actually modified until all data that can be read from it is read.

Running the benchmark listed in this issue: https://github.com/joyent/node/issues/1863
found at https://github.com/aikar/wormhole/blob/5xperfdegrade/testperf.js

I'm seeing a 10-15% increase in performance, from 185-190k messages/sec to 215-220k/sec.