According to the benchmark sheet, the pure js implementation is even faster than node-gyp built version.
Futhermore, it would be great to specify the message encoding protocol by user choice. If the RPC is only on the same machine, performance difference of JSON or msgpack might not be huge. I read some notes that Nodejs has pretty much improved the performance of encoding JSON.
Benchmarks
A benchmark tool lib/benchmark.js is available to compare encoding/decoding speed
(operation per second) with other MessagePack modules.
It counts operations of 1KB JSON document in 10 seconds.
According to the benchmark sheet, the pure js implementation is even faster than node-gyp built version.
Futhermore, it would be great to specify the message encoding protocol by user choice. If the RPC is only on the same machine, performance difference of JSON or msgpack might not be huge. I read some notes that Nodejs has pretty much improved the performance of encoding JSON.
Benchmarks
A benchmark tool
lib/benchmark.js
is available to compare encoding/decoding speed (operation per second) with other MessagePack modules. It counts operations of 1KB JSON document in 10 seconds.