Skip to content

Commit 82ec6f3

Browse files
committed
Remove run_perf_counter.py, performance-list option, and related GitHub Action steps for unused performance counting functionality.
1 parent 5b95764 commit 82ec6f3

3 files changed

Lines changed: 1 addition & 60 deletions

File tree

.github/workflows/main.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,12 +1078,6 @@ jobs:
10781078
run: |
10791079
mkdir -p install
10801080
tar -xzvf ubuntu-gcc-install-ubuntu-24.04.tar.gz -C install
1081-
- name: Run perf count checker
1082-
run: |
1083-
python3 scripts/run_perf_counter.py --required-tests-number=2
1084-
env:
1085-
PPC_NUM_THREADS: 2
1086-
PPC_NUM_PROC: 2
10871081
- name: Run perf tests
10881082
run: |
10891083
bash -e scripts/generate_perf_results.sh

scripts/run_perf_counter.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

scripts/run_tests.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def init_cmd_args():
1010
parser.add_argument(
1111
"--running-type",
1212
required=True,
13-
choices=["threads", "processes", "performance", "performance-list"],
13+
choices=["threads", "processes", "performance"],
1414
help="Specify the execution mode. Choose 'threads' for multithreading or 'processes' for multiprocessing."
1515
)
1616
parser.add_argument(
@@ -112,9 +112,6 @@ def run_performance(self):
112112
for task_type in ["omp", "seq", "stl", "tbb"]:
113113
self.__run_exec(f"{self.work_dir / 'ppc_perf_tests'} {self.__get_gtest_settings(1, '_' + task_type)}")
114114

115-
def run_performance_list(self):
116-
self.__run_exec(f"{self.work_dir / 'ppc_perf_tests'} --gtest_list_tests")
117-
118115

119116
if __name__ == "__main__":
120117
args_dict = init_cmd_args()
@@ -130,7 +127,5 @@ def run_performance_list(self):
130127
ppc_runner.run_processes(args_dict["additional_mpi_args"])
131128
elif args_dict["running_type"] == "performance":
132129
ppc_runner.run_performance()
133-
elif args_dict["running_type"] == "performance-list":
134-
ppc_runner.run_performance_list()
135130
else:
136131
raise Exception("running-type is wrong!")

0 commit comments

Comments
 (0)