-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adds subroutine labelling via stub functions to help in profiling external calls with cProfile * Adds profiling to transposes.pyx and extensive stub-labelling to help identify where we are spending time. * Cleans up labelling. * Cython profiling can be controlled using the CYTHON_PROFILE environment variable during cythonization or pip installation. * Adds barrier at end of solvers.dump_stats to remove confusion caused by writing out profiling data. * Adds additional timers to ensure that time related to dumping out profiles to disk (by core 0) is not included in overall timing. --------- Co-authored-by: Benjamin Brown <bpbrown@gmail.com>
- Loading branch information
Showing
3 changed files
with
55 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters