Fixed build system for profiling utils.

parent 70ee2aaa
......@@ -53,9 +53,16 @@ profile-test-%: $(PROFILER_OUTPUT_DIR) build
profile-test-view-%: $(PROFILER_OUTPUT_DIR) build
python utils/view_profile.py "$(PROFILER_OUTPUT_DIR)/tests_test_$*.py.profile"
profile-view-%: $(PROFILER_OUTPUT_DIR) build
profile-src%: $(PROFILER_OUTPUT_DIR) build
python -m cProfile -s cumulative \
-o $(PROFILER_OUTPUT_DIR)/src_$*.py.profile src/$*.py
profile-src-view-%: $(PROFILER_OUTPUT_DIR) build
python utils/view_profile.py "$(PROFILER_OUTPUT_DIR)/src_$*.py.profile"
profile-%: $(PROFILER_OUTPUT_DIR) build
python -m cProfile -s cumulative \
-o $(PROFILER_OUTPUT_DIR)/src_$*.py.profile src/$*.py
-o $(PROFILER_OUTPUT_DIR)/$*.py.profile $*.py
profile-view-%: $(PROFILER_OUTPUT_DIR) build
python utils/view_profile.py "$(PROFILER_OUTPUT_DIR)/$*.py.profile"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment