From 5ed1e5362ad9d9bd0da33af1b9d38286432e1790 Mon Sep 17 00:00:00 2001 From: Ralph Liu <137829296+nv-rliu@users.noreply.github.com> Date: Fri, 22 Nov 2024 12:45:54 -0500 Subject: [PATCH] Small Updates to Benchmarks Directory (#48) ## Minor cleanups to the `benchmarks/` directory - Remove redundant `nx-cugraph` subdir - Remove unused config options from `pytest.ini` Authors: - Ralph Liu (https://github.com/nv-rliu) Approvers: - Erik Welch (https://github.com/eriknw) URL: https://github.com/rapidsai/nx-cugraph/pull/48 --- .flake8 | 2 +- benchmarks/{nx-cugraph => }/pytest-based/README.md | 0 benchmarks/{nx-cugraph => }/pytest-based/bench_algos.py | 0 .../pytest-based/create_results_summary_page.py | 0 .../pytest-based/get_graph_bench_dataset.py | 0 benchmarks/{nx-cugraph => }/pytest-based/run-2402.sh | 0 .../{nx-cugraph => }/pytest-based/run-main-benchmarks.sh | 0 benchmarks/pytest.ini | 7 ------- 8 files changed, 1 insertion(+), 8 deletions(-) rename benchmarks/{nx-cugraph => }/pytest-based/README.md (100%) rename benchmarks/{nx-cugraph => }/pytest-based/bench_algos.py (100%) rename benchmarks/{nx-cugraph => }/pytest-based/create_results_summary_page.py (100%) rename benchmarks/{nx-cugraph => }/pytest-based/get_graph_bench_dataset.py (100%) rename benchmarks/{nx-cugraph => }/pytest-based/run-2402.sh (100%) rename benchmarks/{nx-cugraph => }/pytest-based/run-main-benchmarks.sh (100%) diff --git a/.flake8 b/.flake8 index e7163df03..5fb613d49 100644 --- a/.flake8 +++ b/.flake8 @@ -14,5 +14,5 @@ per-file-ignores = __init__.py:F401,F403, _nx_cugraph/__init__.py:E501, nx_cugraph/__init__.py:E402,F401,F403, - benchmarks/nx-cugraph/pytest-based/create_results_summary_page.py:E501,W605, + benchmarks/pytest-based/create_results_summary_page.py:E501,W605, docs/nx-cugraph/source/conf.py:E501 diff --git a/benchmarks/nx-cugraph/pytest-based/README.md b/benchmarks/pytest-based/README.md similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/README.md rename to benchmarks/pytest-based/README.md diff --git a/benchmarks/nx-cugraph/pytest-based/bench_algos.py b/benchmarks/pytest-based/bench_algos.py similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/bench_algos.py rename to benchmarks/pytest-based/bench_algos.py diff --git a/benchmarks/nx-cugraph/pytest-based/create_results_summary_page.py b/benchmarks/pytest-based/create_results_summary_page.py similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/create_results_summary_page.py rename to benchmarks/pytest-based/create_results_summary_page.py diff --git a/benchmarks/nx-cugraph/pytest-based/get_graph_bench_dataset.py b/benchmarks/pytest-based/get_graph_bench_dataset.py similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/get_graph_bench_dataset.py rename to benchmarks/pytest-based/get_graph_bench_dataset.py diff --git a/benchmarks/nx-cugraph/pytest-based/run-2402.sh b/benchmarks/pytest-based/run-2402.sh similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/run-2402.sh rename to benchmarks/pytest-based/run-2402.sh diff --git a/benchmarks/nx-cugraph/pytest-based/run-main-benchmarks.sh b/benchmarks/pytest-based/run-main-benchmarks.sh similarity index 100% rename from benchmarks/nx-cugraph/pytest-based/run-main-benchmarks.sh rename to benchmarks/pytest-based/run-main-benchmarks.sh diff --git a/benchmarks/pytest.ini b/benchmarks/pytest.ini index d692b78de..f1269dab3 100644 --- a/benchmarks/pytest.ini +++ b/benchmarks/pytest.ini @@ -1,11 +1,4 @@ [pytest] -pythonpath = - shared/python - -testpaths = - cugraph/pytest_based - cugraph-service/pytest_based - addopts = --benchmark-columns="min, max, mean, stddev, outliers" --tb=native