diff options
author | Harel Ben-Attia <harelba@gmail.com> | 2018-12-21 12:36:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 12:36:15 +0200 |
commit | c1d754deb718d906dd49e18729b012d9c0843156 (patch) | |
tree | 0f5a261416fecd6afb40491250e33736cfaf7b07 | |
parent | 9ece4ad2c782bea6b339ab72f23d19198a5f2b6e (diff) |
Update BENCHMARK.md
-rw-r--r-- | test/BENCHMARK.md | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/test/BENCHMARK.md b/test/BENCHMARK.md index 7b2a730..8cb068c 100644 --- a/test/BENCHMARK.md +++ b/test/BENCHMARK.md @@ -32,11 +32,18 @@ OSX Sierra on a 15" Macbook Pro from Mid 2015, with 16GB of RAM, and an internal Please note that the initial run generates big files, so you'd need more than 3GB of free space available. This also means that the first run will take much longer than additional runs. This is typical, and does not affect the benchmark results. All the generated files reside in the `_benchmark_data/` folder. -* Create and activate a python 2.7 virtual environment called `py2-q`, and `pip install -r requirements.txt` +* $ `cd test/` +* $ `pyenv install 2.7.11` +* $ `pyenv virtualenv 2.7.11 py2-q +* $ `pip install -r ../requirements.txt` +* $ `pyenv install 3.6.4` +* $ `pyenv virtualenv 3.6.4 py3-q` +* $ `pip install -r ../requirements.txt` +* $ `pyenv activate py2-q` +* $ `./test-all BenchmarkTests.test_q_matrix` (this will take longer since it's the first time - it generates the test files) +* $ `pyenv activate py3-q` * $ `./test-all BenchmarkTests.test_q_matrix` -* Create and avtivate a python 3.x virtual environment called `py3-q`, and `pip install -r requirements.txt` -* $ `./test-all BenchmarkTests.test_q_matrix` -* Ensure that textql is installed +* Install `textql` (brew/apt-get/whatever) * $ `./test-all BenchmarkTests.test_textql` The results from each of the benchmarks will be written to `<virtual-env-name>.benchmark-results`, and `textql.benchmark-results` for the textql test. |