From 27792ee5fd5171ae1fca7b5a7a1ebc0ee6df9f71 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 31 Oct 2024 11:23:14 -0700 Subject: [PATCH 1/3] Update .gitignore --- .gitignore | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 939001390..4b6c27b83 100755 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ -# Release and work directories +# Python cache __pycache__* -__work* # Visual Studio related files, e.g., ".vscode" .vs* @@ -11,8 +10,14 @@ data_cache *.npy *.npz -# Results at repo root -vtune_results +# Misc. files at repository root: +# - results +/_*results* /*.json /*.xlsx +# - scripts /*.ipynb +/*.py +/*.sh +# - archives with results or data +/*.tgz From afb06bfe32b0dbe92ced1a689af3f1ee18938eb9 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 31 Oct 2024 11:25:36 -0700 Subject: [PATCH 2/3] Update gitignore rules for data files --- .gitignore | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 4b6c27b83..c631f375d 100755 --- a/.gitignore +++ b/.gitignore @@ -4,13 +4,10 @@ __pycache__* # Visual Studio related files, e.g., ".vscode" .vs* -# Dataset files -data_cache -*.csv -*.npy -*.npz # Misc. files at repository root: +# - default data cache directory +/data_cache # - results /_*results* /*.json From be5a4315fca00f7c5c20d3489c195549dd017525 Mon Sep 17 00:00:00 2001 From: Alexander Andreev Date: Thu, 31 Oct 2024 11:29:07 -0700 Subject: [PATCH 3/3] Update vtune results location --- configs/README.md | 2 +- sklbench/runner/commands_helper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/README.md b/configs/README.md index 79b80183f..8d3c5ac2d 100644 --- a/configs/README.md +++ b/configs/README.md @@ -85,7 +85,7 @@ Configs have the three highest parameter keys: |

Benchmark workflow parameters

|||| | `bench`:`taskset` | None | | Value for `-c` argument of `taskset` utility used over benchmark subcommand. | | `bench`:`vtune_profiling` | None | | Analysis type for `collect` argument of Intel(R) VTune* Profiler tool. Linux* OS only. | -| `bench`:`vtune_results_directory` | `vtune_results` | | Directory path to store Intel(R) VTune* Profiler results. | +| `bench`:`vtune_results_directory` | `_vtune_results` | | Directory path to store Intel(R) VTune* Profiler results. | | `bench`:`n_runs` | `10` | | Number of runs for measured entity. | | `bench`:`time_limit` | `3600` | | Time limit in seconds before the benchmark early stop. | | `bench`:`distributor` | None | None, `mpi` | Library used to handle distributed algorithm. | diff --git a/sklbench/runner/commands_helper.py b/sklbench/runner/commands_helper.py index b66da0111..09e61369e 100644 --- a/sklbench/runner/commands_helper.py +++ b/sklbench/runner/commands_helper.py @@ -51,7 +51,7 @@ def generate_benchmark_command( if vtune_profiling is not None: if sys.platform == "linux": vtune_result_dir = get_bench_case_value( - bench_case, "bench:vtune_results_directory", "vtune_results" + bench_case, "bench:vtune_results_directory", "_vtune_results" ) os.makedirs(vtune_result_dir, exist_ok=True) vtune_result_path = os.path.join(