diff options
author | Steve Holden <steve@holdenweb.com> | 2006-05-26 16:27:59 +0000 |
---|---|---|
committer | Steve Holden <steve@holdenweb.com> | 2006-05-26 16:27:59 +0000 |
commit | 431a76314df929d42192fe4bb087eb97d158de87 (patch) | |
tree | d4e329932cd3ae725727346214ad73eb35f069d1 /Tools/pybench/Setup.py | |
parent | 0cbf2c57852d64855b88305dfa7d77f84936a674 (diff) | |
download | cpython-git-431a76314df929d42192fe4bb087eb97d158de87.tar.gz |
Add -t option to allow easy test selection.
Action verbose option correctly.
Tweak operation counts. Add empty and new instances tests.
Enable comparisons across different warp factors. Change version.
Diffstat (limited to 'Tools/pybench/Setup.py')
-rw-r--r-- | Tools/pybench/Setup.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Tools/pybench/Setup.py b/Tools/pybench/Setup.py index 906a2a94f2..1f2f45474f 100644 --- a/Tools/pybench/Setup.py +++ b/Tools/pybench/Setup.py @@ -17,11 +17,16 @@ Number_of_rounds = 10 Warp_factor = 20 # Import tests +#from Empty import * from Arithmetic import * from Calls import * from Constructs import * from Lookups import * from Instances import * +try: + from NewInstances import * +except: + print "Cannot test new-style objects" from Lists import * from Tuples import * from Dict import * |