Removed unneccessary creation of new context.

A new context is allocated for callback dispatching,
however it is never actually used.

Change-Id: Ie1ad4308150acf315edcefcb9b1f9ab105e9d166
Reviewed-on: http://review.couchbase.org/26497
Tested-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mordechai Nunberg <mnunberg@haskalah.org>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
JSCBC-24 Added v8 error catching

Update test case to be able to pass even though an exception is
purposely being throw. Added try-catch code to properly handle an error
within v8 and propagate it to the default node exception handler.

Change-Id: Ic3b868388bd509d8442081d10b1c6326d8bd8995
Reviewed-on: http://review.couchbase.org/26498
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mordechai Nunberg <mnunberg@haskalah.org>
Fixed test runner to display slash codes.

Change-Id: Ia032387eb120ad2004cd6d8deae111bdf4c111de
Reviewed-on: http://review.couchbase.org/26500
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Release the memory allocated for command entries

Change-Id: I334df841ddddbbee5c3311d5fc51650e3293b4b3
Reviewed-on: http://review.couchbase.org/27342
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add a couchnode benchmark sample

A work in progress for benchmarking the node client library. This commit
features measuring throughput and min, max, avg, 95 percentile response
times. The number of connections and requests are configurable through
command line as  well as on code(bench_config object). Additionally an
optional ramp up time is also configurable in the code. Currently
supports GET and SET ops.

Change-Id: Ic639b4673c59a7c85cdafe639bccd54fd1506aed
Reviewed-on: http://review.couchbase.org/26521
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Use new I/O plugin

Change-Id: I9188d6d5aad6716acbcfe0316c15e92239992432
Allow specifying --couchbase-root

Change-Id: If0b120f1c4047419afd092988a517195503dd7df