diff options
Diffstat (limited to 'benchmarks/creating.py')
-rw-r--r-- | benchmarks/creating.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/benchmarks/creating.py b/benchmarks/creating.py deleted file mode 100644 index 981c7fe47..000000000 --- a/benchmarks/creating.py +++ /dev/null @@ -1,14 +0,0 @@ -from benchmark import Benchmark - -modules = ['numpy','Numeric','numarray'] - -N = [10,10] -b = Benchmark(modules, - title='Creating %s zeros.' % N, - runs=3,reps=10000) - -b['numpy'] = ('a=N.zeros(shape,type)', 'shape=%s;type=float' % N) -b['Numeric'] = ('a=N.zeros(shape,type)', 'shape=%s;type=N.Float' % N) -b['numarray'] = ('a=N.zeros(shape,type)', "shape=%s;type=N.Float" % N) - -b.run() |