I've never tried it myself. For me, though, the obvious questions would be this:

Are you certain that your SA Proxy object is being used? Are you
certain that your tests are being executed?

If either of those is not happening, then you're not going to get
useful results. Double-check to make sure.

I'm sorry I don't have more right now.

On Fri, Jan 28, 2011 at 6:10 AM, NiL <[email protected]> wrote:
> Hi all,
>
> I have tried to setup my tests of TG (2.1) with something like
>
> http://www.sqlalchemy.org/trac/wiki/UsageRecipes/Profiling
>
> What I want is counting the number of statements sent to the database,
> so I can try and compare different methods.
>
> All I manage to get is always the same count (62 in my case), I think
> it is the setup and teardown of tests, It doesnt take into account the
> app's statements.
>
> Has anyone tried something like this ? any hints, feedback ?
>
> regards
> NiL
>
> --
> You received this message because you are subscribed to the Google Groups 
> "TurboGears" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/turbogears?hl=en.
>
>



-- 
Michael J. Pedersen
My IM IDs: Jabber/[email protected], ICQ/103345809, AIM/pedermj022171
          Yahoo/pedermj2002, MSN/[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en.

Reply via email to