couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <...@apache.org>
Subject Re: Profiling views
Date Thu, 11 Jun 2009 22:04:29 GMT

On 10 Jun 2009, at 18:34, Simon Metson wrote:

> Hi All,
> 	I was wondering if there was any way of profiling views without  
> using a lot of log() statements. The application we are developing  
> needs a lot of analytic information (who's querying what, how long a  
> view takes to generate, if a query comes in that doesn't map to a  
> view etc.) and having some decent timing reports on which views in a  
> design document are taking up time would be really handy, so that we  
> can set/manage update policy, cache policies etc.
> Cheers
> Simon
>
> PS.  My hope is that a lot (all?) of this analytic stuff can be done  
> as a generic couchapp and made publicly available. Will try and keep  
> people posted as things start to materialise...
>

We could add per-view timing info to the runtime stats. Do you feel  
comfortable digging in the erlang and adding the necessary calls?

Cheers
Jan
--



Mime
View raw message