summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorBob Ippolito <bob@redivi.com>2008-03-23 21:07:48 +0000
committerBob Ippolito <bob@redivi.com>2008-03-23 21:07:48 +0000
commitd7879c9c97547d4d8ca9e9072bbd8d33bd315c6c (patch)
tree7f045db7d61c0d404d8e647ae7401f7c6b83d026 /scripts
parent2f1e6e426465e68ca3fd30c596cc98c30f7ff076 (diff)
downloadsimplejson-d7879c9c97547d4d8ca9e9072bbd8d33bd315c6c.tar.gz
decoder speed enhancements
git-svn-id: http://simplejson.googlecode.com/svn/trunk@77 a4795897-2c25-0410-b006-0d3caba88fa1
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/bench.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/bench.sh b/scripts/bench.sh
index e30e246..de41c3e 100755
--- a/scripts/bench.sh
+++ b/scripts/bench.sh
@@ -1,2 +1,3 @@
#!/bin/sh
/usr/bin/env python -mtimeit -s 'from simplejson.tests.test_pass1 import test_parse' 'test_parse()'
+/usr/bin/env python -c 'from simplejson.tests.test_pass1 import test_parse; import profile; profile.run("for i in xrange(100): test_parse()")'