Sebastian Spaeth 1b32d374b5 Import cProfile module before falling back to profile
the cProfile/profile modules are great for performance debugging. The
pure-python profile module has much more overhead though and the
cProfile module is recommended if it exists. This changes to import to
first try the cProfile module and then fall back to the profile
module. The cProfile/profiles modules are API compatible for all that
its worth...

If that does not exist we continue to complain as before.

Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2010-12-09 19:52:48 +01:00
..
2010-12-09 19:52:48 +01:00
2010-08-20 08:29:47 -05:00
2010-12-09 19:52:48 +01:00
2006-08-12 05:15:55 +01:00
2010-08-20 08:29:47 -05:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2006-08-12 05:15:55 +01:00
2009-08-12 00:41:19 -05:00