X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3104ab72159ede44043fcd71dc0094c97f9c4251..95e2bdda5afc3ffc6afb2f08ea6d7cba8f8d62f1:/sdk/python/tests/performance/performance_profiler.py diff --git a/sdk/python/tests/performance/performance_profiler.py b/sdk/python/tests/performance/performance_profiler.py index a36ce254dd..afa53ae73c 100644 --- a/sdk/python/tests/performance/performance_profiler.py +++ b/sdk/python/tests/performance/performance_profiler.py @@ -42,8 +42,8 @@ def profiled(function): caught = e pr.disable() ps = pstats.Stats(pr, stream=outfile) - ps.print_stats() + ps.sort_stats('time').print_stats() if caught: - raise caught + raise return ret return profiled_function