aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-11-07 10:17:11 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-11-07 10:17:11 -0800
commit994805e51d8fc8ea7e7f2afc84cdedd9a9e13c73 (patch)
treed5e86ad20cdb94e36a36c5c42f35b7834a83e636 /tests/runner.py
parent4309f5875eff90f3d5bbcd82631376fe640b16ea (diff)
add skinning benchmark
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/runner.py b/tests/runner.py
index ac6755e0..6b85eb0e 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4452,6 +4452,12 @@ else:
src = open(path_from_root('tests', 'raytrace.cpp'), 'r').read().replace('double', 'float') # benchmark with floats
self.do_benchmark(src, ['7', '256'], open(path_from_root('tests', 'raytrace_7_256.ppm')).read(), llvm_opts=True, handpicked=True)
+ def test_skinning(self):
+ global POST_OPTIMIZATIONS; POST_OPTIMIZATIONS = ['eliminator', 'closure']
+
+ src = open(path_from_root('tests', 'skinning_test_no_simd.cpp'), 'r').read()
+ self.do_benchmark(src, ['10000', '3000'], 'blah=0.000000', llvm_opts=True, handpicked=True)
+
def test_dlmalloc(self):
global POST_OPTIMIZATIONS; POST_OPTIMIZATIONS = ['eliminator']