From: Chris <cohar...@gmail.com>
Date: Thu, 28 Apr 2011 05:32:49 -0700 (PDT)
Local: Thurs, Apr 28 2011 8:32 am
Subject: Re: The Most Efficiency Method Inter-Process-Communication
How does a straight `eval(json)` compare to `JSON.parse(json)` for
unpacking? On Apr 28, 2:54 pm, billywhizz <apjohn...@gmail.com> wrote:
> interestingly, node v0.4.6 built with v8 3.3.2 which should have
> crankshaft enabled on 64 bit is slightly quicker for stringify and > quite a bit slower for parse: > node 0.4.6/v8 3.3.2
> node.0.4.6/v8 3.1.8.10
> On Apr 28, 5:02 am, Chris <cohar...@gmail.com> wrote:
> > I use a modified version of kriszyp's multi-node that enables 2-way
> > Source is here:https://github.com/chriso/node.io/blob/master/lib/node.io/multi_node.js
> > You set it up like this:https://github.com/chriso/node.io/blob/master/lib/node.io/processor.j...
> > Then just use `master.send(msg)` or `workers[i].send(msg)`
> > It's been more than fast enough.
> > On Apr 28, 1:43 pm, billywhizz <apjohn...@gmail.com> wrote:
> > > interesting. i am seeing the same speedup. the benchmark on msgpack
> > > v0.1.96:
> > > v0.4.7:
> > > That's almost 8x faster for JSON.stringify and almost 14x faster for
> > > On Apr 28, 3:42 am, Aikar <xdr...@gmail.com> wrote:
> > > > Just throwing in my recent findings,
> > > > msgpack is now alot slower than JSON
> > > > see:https://github.com/aikar/wormhole/issues/3
> > > > I had a good streaming msgpack parser implemented doing 50k messages/
> > > > On Apr 27, 9:30 pm, billywhizz <apjohn...@gmail.com> wrote:
> > > > > Thanks Matt. had a google but there doesn't seem to be much definitive
> > > > > Justin, the best way to answer a question like this is to do the
> > > > > anyway, i'll see what kind of benchmark i can throw together - i'm
> > > > > On Apr 28, 1:44 am, Matt <hel...@gmail.com> wrote:
> > > > > > On Wed, Apr 27, 2011 at 8:19 PM, billywhizz <apjohn...@gmail.com> wrote:
> > > > > > AFAIK it's optimised to not go through the network driver layer (so it still
> > > > > > Matt. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||