On 6 Jun 2009, at 00:05, Randall Leeds wrote:
> On Fri, Jun 5, 2009 at 16:23, Nadav Samet <thesamet@gmail.com> wrote:
>
>> Hi,
>>
>> I have a 600k documents in one database and building a view (with a
>> trivial
>> map function) takes about 40 minutes on a single core server. I was
>> wondering if there's a way to tell how the time is divided between
>> running
>> the javascript map function and actually building the view.
>
>
> The javascript runs in a separate process so you could watch the CPU
> time
> for beam vs the couchjs process.
beam & couchjs wait for each other while the respective partner process
is working. There is room for optimization, we haven't gotten around to
that yet :)
See this and the dev@ mailing list archives for detailed discussions.
Cheers
Jan
--
|