You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, Flexmeasures has no support for profiling. This makes it difficult to identify and analyze performance bottlenecks in the code as the application matures.
Some proposed solutions are
Integrate pyinstrument in Makefile:
Integrate pyinstrument into the Makefile allowing the developer to call make with appropriate commands to start flexmeasures with profiler attached.
A possible target in Makefile can be make run-profiler
This calls the profiler which in turn starts flexmeasures. Can be run to profile the entire application.
Integrate pyinstrument as a part of the pytest suite or CI:
Integrate the profiler to benchmark and profile critical parts of the code and automatically generate profile reports which can be quickly viewed by the developer to check the impact on performance.
The text was updated successfully, but these errors were encountered:
Currently, Flexmeasures has no support for profiling. This makes it difficult to identify and analyze performance bottlenecks in the code as the application matures.
Some proposed solutions are
Integrate pyinstrument in Makefile:
Integrate
pyinstrument
into the Makefile allowing the developer to call make with appropriate commands to start flexmeasures with profiler attached.A possible target in Makefile can be
make run-profiler
This calls the profiler which in turn starts flexmeasures. Can be run to profile the entire application.
Integrate pyinstrument as a part of the pytest suite or CI:
Integrate the profiler to benchmark and profile critical parts of the code and automatically generate profile reports which can be quickly viewed by the developer to check the impact on performance.
The text was updated successfully, but these errors were encountered: