Skip to content

Commit d8ad679

Browse files
authored
Update .gitignore (#163)
* Update .gitignore * Update gitignore rules for data files * Update vtune results location
1 parent fba4fd6 commit d8ad679

File tree

3 files changed

+13
-11
lines changed

3 files changed

+13
-11
lines changed

.gitignore

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
# Release and work directories
1+
# Python cache
22
__pycache__*
3-
__work*
43

54
# Visual Studio related files, e.g., ".vscode"
65
.vs*
76

8-
# Dataset files
9-
data_cache
10-
*.csv
11-
*.npy
12-
*.npz
137

14-
# Results at repo root
15-
vtune_results
8+
# Misc. files at repository root:
9+
# - default data cache directory
10+
/data_cache
11+
# - results
12+
/_*results*
1613
/*.json
1714
/*.xlsx
15+
# - scripts
1816
/*.ipynb
17+
/*.py
18+
/*.sh
19+
# - archives with results or data
20+
/*.tgz

configs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Configs have the three highest parameter keys:
8585
|<h3>Benchmark workflow parameters</h3>||||
8686
| `bench`:`taskset` | None | | Value for `-c` argument of `taskset` utility used over benchmark subcommand. |
8787
| `bench`:`vtune_profiling` | None | | Analysis type for `collect` argument of Intel(R) VTune* Profiler tool. Linux* OS only. |
88-
| `bench`:`vtune_results_directory` | `vtune_results` | | Directory path to store Intel(R) VTune* Profiler results. |
88+
| `bench`:`vtune_results_directory` | `_vtune_results` | | Directory path to store Intel(R) VTune* Profiler results. |
8989
| `bench`:`n_runs` | `10` | | Number of runs for measured entity. |
9090
| `bench`:`time_limit` | `3600` | | Time limit in seconds before the benchmark early stop. |
9191
| `bench`:`distributor` | None | None, `mpi` | Library used to handle distributed algorithm. |

sklbench/runner/commands_helper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def generate_benchmark_command(
5151
if vtune_profiling is not None:
5252
if sys.platform == "linux":
5353
vtune_result_dir = get_bench_case_value(
54-
bench_case, "bench:vtune_results_directory", "vtune_results"
54+
bench_case, "bench:vtune_results_directory", "_vtune_results"
5555
)
5656
os.makedirs(vtune_result_dir, exist_ok=True)
5757
vtune_result_path = os.path.join(

0 commit comments

Comments
 (0)