diff options
author | David Rousselie <dax@happycoders.org> | 2009-12-01 23:45:48 +0300 |
---|---|---|
committer | David Rousselie <dax@happycoders.org> | 2009-12-01 23:45:48 +0300 |
commit | 249b2f55b9363302500b284e1594ffdb249afa15 (patch) | |
tree | 78b13e33dcd409b02f9653e53a019d84f93eff88 | |
parent | 4a9e1552f39ac1fbc16541b5a145d69c9b52eb01 (diff) |
Use cProfile instead of profile module
Ignore-this: 266b2725d57ff98d198dfc4ffccc3af3
darcs-hash:20091201204548-86b55-b53336231cd5c6d7aa33aab05384bed2b7829c47.gz
-rw-r--r-- | profile_jmc.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/profile_jmc.py b/profile_jmc.py index 4260933..6e81e84 100644 --- a/profile_jmc.py +++ b/profile_jmc.py @@ -21,7 +21,7 @@ ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ## -import profile +import cProfile import jmc.runner as runner -profile.run("runner.main()", "jmc.prof") +cProfile.run("runner.main()", "jmc.prof") |