From f5aa8f66f173ba4f21b3f4c450bfa1f2a2562552 Mon Sep 17 00:00:00 2001 From: Mike Dirolf Date: Thu, 5 Feb 2009 14:43:02 -0500 Subject: [PATCH] just alias cProfile to profile --- tools/bson_benchmark.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/bson_benchmark.py b/tools/bson_benchmark.py index 07eeead49..24e7157d8 100644 --- a/tools/bson_benchmark.py +++ b/tools/bson_benchmark.py @@ -19,7 +19,7 @@ this should be updated to use that if it exists an `simplejson` otherwise. """ import datetime -import cProfile +import cProfile as profile import sys sys.path[0:0] = [""] @@ -64,4 +64,4 @@ def main(): assert case == run(enc_json, json.loads) if __name__ == "__main__": - cProfile.run("main()") + profile.run("main()")