Commit c11a22f3 authored by Julien Jerphanion's avatar Julien Jerphanion

Simplify benchmark analysis

parent 4254a348
SHELL = /bin/bash SHELL = /bin/bash
PROJECT = cython+ PROJECT = kdtree
VENV_PATH=`conda info --base`/envs/${PROJECT} VENV_PATH=`conda info --base`/envs/${PROJECT}
PIP_EXECUTABLE=${VENV_PATH}/bin/pip PIP_EXECUTABLE=${VENV_PATH}/bin/pip
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -35,7 +35,7 @@ def benchmark(config, results_folder, bench_name): ...@@ -35,7 +35,7 @@ def benchmark(config, results_folder, bench_name):
one_GiB = 1e9 one_GiB = 1e9
benchmarks = pd.DataFrame() benchmarks = pd.DataFrame()
n_threads = _openmp_effective_n_threads() n_threads = int(_openmp_effective_n_threads())
env_specs_file = f"{results_folder}/{bench_name}.json" env_specs_file = f"{results_folder}/{bench_name}.json"
......
...@@ -77,4 +77,6 @@ if __name__ == "__main__": ...@@ -77,4 +77,6 @@ if __name__ == "__main__":
% vals % vals
) )
_ = fig.suptitle(title, fontsize=16) _ = fig.suptitle(title, fontsize=16)
plt.savefig(f"{commit_result_folder}/{i}.pdf", bbox_inches="tight") fig_file = f"{commit_result_folder}/{i}.pdf"
plt.savefig(fig_file, bbox_inches="tight")
print(f"{fig_file} written.")
name: cython+ name: kdtree
channels: channels:
- conda-forge - conda-forge
dependencies: dependencies:
...@@ -15,6 +15,7 @@ dependencies: ...@@ -15,6 +15,7 @@ dependencies:
- pytest - pytest
- scikit-learn - scikit-learn
- memory_profiler - memory_profiler
- pip
- pip: - pip:
# Install cython+ from upstream directly # Install cython+ from upstream directly
- -e git+https://lab.nexedi.com/nexedi/cython.git@b30eafec6a7b174afdc4f023b45b21f85104e2fe#egg=Cython - -e git+https://lab.nexedi.com/nexedi/cython.git@b30eafec6a7b174afdc4f023b45b21f85104e2fe#egg=Cython
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment