File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# This file should be almost identical to
22# https://github.com/multi-objective/mooplot/blob/main/python/Makefile
3- .PHONY : install dev-install build test doc fastdoc clean docdeps pre-commit
3+ .PHONY : install dev-install build test doc fastdoc clean docdeps pre-commit benchmarks
44
55install : build
66 python3 -m pip install . --disable-pip-version-check
@@ -37,3 +37,17 @@ clean:
3737 find . -name ' __pycache__' | xargs $(RM ) -r
3838 $(RM ) -r .pytest_cache .tox .ruff_cache build src/* .egg-info/ doc/source/auto_examples
3939 $(RM ) .coverage coverage.xml c_coverage.xml dist/* src/moocore/* .so
40+
41+ benchmarks : install
42+ $(RM ) ./benchmarks/* _bench-* .png
43+ cd benchmarks && \
44+ python3 bench_epsilon.py && \
45+ python3 bench_hv.py && \
46+ python3 bench_hvapprox.py && \
47+ python3 bench_igdplus.py && \
48+ python3 bench_ndom.py && \
49+ python3 bench_ndsort.py && \
50+ mv * .png -t ../doc/source/_static/bench/ && \
51+ cd ..
52+ $(MAKE ) -C doc html
53+ $(MAKE ) -C doc show
You can’t perform that action at this time.
0 commit comments