Add profiling for unit tests.
Review Request #3437 — Created Oct. 21, 2012 and submitted
Add profiling for unit tests. This adds a --with-profiling argument for our unit tests that writes a reviewboard.profile file containing profile data on our test run. We can make use of this to figure out where the slowdowns are in our test suite.
Ran the tests and inspected profile data using RunSnakeRun.