diff options
author | ncteisen <ncteisen@gmail.com> | 2017-05-09 14:23:16 -0700 |
---|---|---|
committer | ncteisen <ncteisen@gmail.com> | 2017-05-10 16:22:43 -0700 |
commit | 64637b7c8c040bfad7043b62b462612eb0b88a22 (patch) | |
tree | e47493ac2cada61ec4fb2734077439fc4b9cc366 /tools/profiling | |
parent | fe4b1ee9b0ab574a7abb9b255ca7b21affb1da23 (diff) |
restructure
Diffstat (limited to 'tools/profiling')
-rw-r--r-- | tools/profiling/microbenchmarks/bm_diff/README.md | 0 | ||||
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff/bm_build.py (renamed from tools/profiling/microbenchmarks/bm_build.py) | 0 | ||||
-rw-r--r-- | tools/profiling/microbenchmarks/bm_diff/bm_constants.py (renamed from tools/profiling/microbenchmarks/bm_constants.py) | 0 | ||||
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff/bm_diff.py (renamed from tools/profiling/microbenchmarks/bm_diff.py) | 7 | ||||
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff/bm_main.py (renamed from tools/profiling/microbenchmarks/bm_main.py) | 0 | ||||
-rwxr-xr-x | tools/profiling/microbenchmarks/bm_diff/bm_run.py (renamed from tools/profiling/microbenchmarks/bm_run.py) | 2 | ||||
-rw-r--r-- | tools/profiling/microbenchmarks/bm_diff/bm_speedup.py (renamed from tools/profiling/microbenchmarks/bm_speedup.py) | 0 |
7 files changed, 7 insertions, 2 deletions
diff --git a/tools/profiling/microbenchmarks/bm_diff/README.md b/tools/profiling/microbenchmarks/bm_diff/README.md new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/tools/profiling/microbenchmarks/bm_diff/README.md diff --git a/tools/profiling/microbenchmarks/bm_build.py b/tools/profiling/microbenchmarks/bm_diff/bm_build.py index a5d1ec3447..a5d1ec3447 100755 --- a/tools/profiling/microbenchmarks/bm_build.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_build.py diff --git a/tools/profiling/microbenchmarks/bm_constants.py b/tools/profiling/microbenchmarks/bm_diff/bm_constants.py index ada1e32e72..ada1e32e72 100644 --- a/tools/profiling/microbenchmarks/bm_constants.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_constants.py diff --git a/tools/profiling/microbenchmarks/bm_diff.py b/tools/profiling/microbenchmarks/bm_diff/bm_diff.py index f68dff840e..3c871c1743 100755 --- a/tools/profiling/microbenchmarks/bm_diff.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_diff.py @@ -30,10 +30,15 @@ """ Computes the diff between two bm runs and outputs significant results """ -import bm_json import bm_constants import bm_speedup +import sys +import os + +sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..')) +import bm_json + import json import tabulate import argparse diff --git a/tools/profiling/microbenchmarks/bm_main.py b/tools/profiling/microbenchmarks/bm_diff/bm_main.py index 1a46b17015..1a46b17015 100755 --- a/tools/profiling/microbenchmarks/bm_main.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_main.py diff --git a/tools/profiling/microbenchmarks/bm_run.py b/tools/profiling/microbenchmarks/bm_diff/bm_run.py index a476a7e19f..14b3718ecb 100755 --- a/tools/profiling/microbenchmarks/bm_run.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_run.py @@ -39,7 +39,7 @@ import itertools import sys import os -sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..', '..', 'run_tests', 'python_utils')) +sys.path.append(os.path.join(os.path.dirname(sys.argv[0]), '..', '..', '..', 'run_tests', 'python_utils')) import jobset def _args(): diff --git a/tools/profiling/microbenchmarks/bm_speedup.py b/tools/profiling/microbenchmarks/bm_diff/bm_speedup.py index 9e395a782e..9e395a782e 100644 --- a/tools/profiling/microbenchmarks/bm_speedup.py +++ b/tools/profiling/microbenchmarks/bm_diff/bm_speedup.py |