joyent/node — Issue #1863: Major performance degredation on 0.4.12 => 0.5.9?
Author: aikar
Created: 2011-10-11 23:55:29+00:00
State: open

Running my benchmark for wormhole:
https://github.com/aikar/wormhole/blob/master/examples/benchmark_recv.js

Under 0.4.12:
>>> node examples/benchmark_recv.js
Received 1031k messages - Rate: 255.1k messages/sec

Under 0.5.9:
>>> node examples/benchmark_recv.js
Received 1010k messages - Rate: 146.3k messages/sec

------------------------
This worries me greatly.

Node.JS also uses the same sort of code to handle the child_process.fork() messaging... so its impacted by this id think.

My lib isnt doing any major voodoo, its not using arguments (crankshaft thing found in node), so I cant tell what would of degraded it so bad.