Skip to content

Commit

Permalink
More goodness.
Browse files Browse the repository at this point in the history
  • Loading branch information
safl committed Apr 1, 2015
1 parent 53b5c06 commit 3dbfe00
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 6 deletions.
3 changes: 0 additions & 3 deletions benchpress/press.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
import base64
import zlib

import suites

class _C:
HEADER = '\033[95m'
OKBLUE = '\033[94m'
Expand All @@ -28,7 +26,6 @@ class _C:
FAIL = '\033[91m'
ENDC = '\033[0m'


def meta(src_dir, suite):
try:
p = Popen( # Try grabbing the repos-revision
Expand Down
2 changes: 1 addition & 1 deletion benchpress/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import re

APP_NAME = 'benchpress'
APP_VERSION = '0.5'
APP_VERSION = '0.7'

ignore = ["_utils", "_doc"]

Expand Down
3 changes: 2 additions & 1 deletion bp_run
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/usr/bin/env python
import argparse
import tempfile
from benchpress.press import expand_path, handle_result_file
import os
from benchpress.press import *

if __name__ == "__main__":

Expand Down
7 changes: 6 additions & 1 deletion record.txt
Original file line number Diff line number Diff line change
Expand Up @@ -324,11 +324,14 @@
/home/safl/.local/share/benchpress/suites/dynamite_mcore.py
/home/safl/.local/share/benchpress/suites/default.py
/home/safl/.local/share/benchpress/suites/midway_knn.py
/home/safl/.local/share/benchpress/suites/.numpy_only.py.swp
/home/safl/.local/share/benchpress/suites/midway_stressed.py
/home/safl/.local/share/benchpress/suites/tiling_stress.py
/home/safl/.local/share/benchpress/suites/numpytest.py
/home/safl/.local/share/benchpress/suites/__init__.py
/home/safl/.local/share/benchpress/suites/numpy_only.py
/home/safl/.local/share/benchpress/suites/mcore.py
/home/safl/.local/share/benchpress/suites/default.pyc
/home/safl/.local/share/benchpress/suites/midway_python_all.py
/home/safl/.local/share/benchpress/suites/dynamite.py
/home/safl/.local/share/benchpress/suites/array14.py
Expand All @@ -342,13 +345,15 @@
/home/safl/.local/share/benchpress/suites/gpu_fix_com.py
/home/safl/.local/share/benchpress/suites/daily_benchmark.py
/home/safl/.local/share/benchpress/suites/midway_swater.py
/home/safl/.local/share/benchpress/suites/__init__.pyc
/home/safl/.local/share/benchpress/suites/vcache.py
/home/safl/.local/share/benchpress/suites/cpu_static.py
/home/safl/.local/share/benchpress/suites/opteron_scale.py
/home/safl/.local/share/benchpress/suites/vcache_fit.py
/home/safl/.local/share/benchpress/suites/2dtest.py
/home/safl/.local/share/benchpress/suites/reproducibility.py
/home/safl/.local/share/benchpress/suites/midway_mc.py
/home/safl/.local/share/benchpress/suites/numpy_only.pyc
/home/safl/.local/share/benchpress/suites/cluster.py
/home/safl/.local/share/benchpress/suites/cpp.py
/home/safl/.local/share/benchpress/suites/npbackend-nelson.py
Expand All @@ -359,4 +364,4 @@
/home/safl/.local/share/benchpress/suites/plc_talk.py
/home/safl/.local/share/benchpress/suites/vcache_evict.py
/home/safl/.local/share/benchpress/suites/mmap.py
/home/safl/.local/lib/python2.7/site-packages/benchpress-0.5.egg-info
/home/safl/.local/lib/python2.7/site-packages/benchpress-0.6.egg-info
34 changes: 34 additions & 0 deletions suites/numpy_only.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
from default import *

suites = [
{
'bridges': [
('NumPy', 'taskset -c 0 python `bp_info --benchmarks`/{script}/python_numpy/{script}.py {args}', None)
],
'scripts': [
('Black Scholes', 'black_scholes', '--size=1000000*10'),
('Game of Life', 'gameoflife', '--size=10000*10000*10'),
('Gauss Elimination', 'gauss', '--size=500'),
('Heat Equation', 'heat_equation', '--size=5000*5000*10'),
('Jacobi Solve', 'jacobi_solve', '--size=5000*5000*10'),
('Jacobi Stencil', 'jacobi_stencil', '--size=5000*5000*10'),
('kNN Naive 1', 'knn_naive1', '--size=10000000*14*10'),
('Lattice Boltzmann 3D', 'lbm_3d', '--size=50*50*50*10'),
('LU Factorization', 'lu', '--size=1000'),
('Monte Carlo PI', 'mc', '--size=50000000*10'),
('Matrix Multiplication', 'mxmul', '--size=250'),
('nbody', 'nbody', '--size=2000*10'),
('1D Stencil', 'ndstencil', '--size=27*10*1'),
('2D Stencil', 'ndstencil', '--size=27*10*2'),
('3D Stencil', 'ndstencil', '--size=27*10*3'),
('Shallow Water', 'shallow_water', '--size=5000*5000*10'),
('SOR', 'sor', '--size=5000*5000*10'),
('Synthetic', 'synth', '--size=200000000*10'),
('Synthetic Inplace', 'synth_inplace', '--size=200000000*10'),
('Synthetic Stream #0 Ones', 'synth_stream', '--size=50000000*20*0'),
('Synthetic Stream #1 Range', 'synth_stream', '--size=50000000*10*1'),
('Synthetic Stream #2 Random', 'synth_stream', '--size=50000000*10*2'),
],
}
]

0 comments on commit 3dbfe00

Please sign in to comment.