File: bench.sh

package info (click to toggle)
simplejson 1.9.2-1
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 752 kB
  • ctags: 1,480
  • sloc: python: 1,549; ansic: 582; makefile: 52; sh: 2
file content (3 lines) | stat: -rwxr-xr-x 253 bytes parent folder | download
1
2
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()")'