I'd like to get a bit better data on where we're spending all our time
in tests in Nova (and just in general).

It doesn't appear there is a clear way to do that with testr. The
following wraps the tests runs in cProfile -

However, as was correctly pointed out by marun, eventlet causes some
determinism issues here.

My attempts to use GreenletProfiler end in segfaults -

I also looked a bit into the profiler that is shipped with eventlet,
however that's triggering import errors that are a bit wonky.

Mostly, I'm trying to figure out if anyone in our community has
developed a pattern here before I keep banging my head into this one. We
can do a lot of guessing without real profiling about where time is
spent, but I'd like to be a little more data driven.


Sean Dague

OpenStack-dev mailing list

Reply via email to