Skip to content

Commit

Permalink
Update .gitignore (#163)
Browse files Browse the repository at this point in the history
* Update .gitignore

* Update gitignore rules for data files

* Update vtune results location
  • Loading branch information
Alexsandruss authored Nov 12, 2024
1 parent fba4fd6 commit d8ad679
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
20 changes: 11 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
# Release and work directories
# Python cache
__pycache__*
__work*

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

# Dataset files
data_cache
*.csv
*.npy
*.npz

# Results at repo root
vtune_results
# Misc. files at repository root:
# - default data cache directory
/data_cache
# - results
/_*results*
/*.json
/*.xlsx
# - scripts
/*.ipynb
/*.py
/*.sh
# - archives with results or data
/*.tgz
2 changes: 1 addition & 1 deletion configs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Configs have the three highest parameter keys:
|<h3>Benchmark workflow parameters</h3>||||
| `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. |
Expand Down
2 changes: 1 addition & 1 deletion sklbench/runner/commands_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit d8ad679

Please sign in to comment.