We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8dcabb4 commit 0d0bbb0Copy full SHA for 0d0bbb0
tools/make/lib/benchmark/Makefile
@@ -3,6 +3,7 @@
3
4
include $(TOOLS_MAKE_LIB_DIR)/benchmark/javascript.mk
5
include $(TOOLS_MAKE_LIB_DIR)/benchmark/julia.mk
6
+include $(TOOLS_MAKE_LIB_DIR)/benchmark/python.mk
7
8
9
# TARGETS #
tools/make/lib/benchmark/python.mk
@@ -0,0 +1,15 @@
1
+
2
+# TARGETS #
+# Run Python benchmarks.
+#
+# This target runs a list of Python benchmarks in sequential order. Note that we assume the benchmarks can be run using Python.
+benchmark-python:
+ $(QUIET) for file in $(BENCHMARKS); do \
10
+ echo ""; \
11
+ echo "Running benchmark: $$file"; \
12
+ $(PYTHON) $$file || exit 1; \
13
+ done
14
15
+.PHONY: benchmark-python
0 commit comments