On Jul 3, 2008, at 02:03, Chris Anderson wrote:

On Wed, Jul 2, 2008 at 4:19 PM, Paul Davis <[EMAIL PROTECTED] > wrote:
Also, where do the javascript conversions happen? Wouldn't that be in
the beam process with mochiweb?

I wonder how the time in beam breaks down between JSON and sorting...
I wish I had time to learn Erlang profiling techniques.

On the Erlang console (comes when you start CouchDB on the
console with the -i option):

1> couch_server:stop().
...
2> cprof:start().
3>couch_server:start().
...use CouchDB...
4> cprof:pause().
5> cprof:analyse(couch).
...analyse output...
6> cprof:stop().

All this untested (and stolen from Joe's book).

Cheers
Jan
--

Reply via email to