From f94d63b3b84fde4a2a9004ba0afc6693f5ba4916 Mon Sep 17 00:00:00 2001 From: J08nY Date: Sat, 30 Jan 2021 18:30:55 +0100 Subject: Add performance monitoring and a few improvements to Mod. --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index c22cf87..9acd9c6 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,8 @@ sca.test_sampling sca.test_target sca.test_test sca.test_trace sca.test_traceset TESTS = ${EC_TESTS} ${SCA_TESTS} +PERF_SCRIPTS = test/ec/perf_mod.py test/ec/perf_formula.py test/ec/perf_mult.py + test: nose2 -s test -E "not slow and not disabled" -C -v ${TESTS} @@ -28,6 +30,10 @@ codestyle: codestyle-all: flake8 --ignore=E501,F405,F403,F401,E126 pyecsca test +perf: ${PERF_SCRIPTS} + mkdir -p .perf + echo $^ | env DIR=".perf" xargs -n 1 python + doc-coverage: interrogate -vv -nmps -e pyecsca/ec/std/.github/ -f 55 pyecsca @@ -35,4 +41,4 @@ docs: $(MAKE) -C docs apidoc $(MAKE) -C docs html -.PHONY: test test-plots test-all typecheck typecheck-all codestyle codestyle-all doc-coverage docs \ No newline at end of file +.PHONY: test test-plots test-all typecheck typecheck-all codestyle codestyle-all perf doc-coverage docs -- cgit v1.2.3-70-g09d2