tum-ens / pyGRETA

python Generator of REnewable Time series and mAps
GNU General Public License v3.0
38 stars 14 forks source link

Can we run cProfile to see what takes time? #11

Closed kais-siala closed 5 years ago

kais-siala commented 5 years ago

Here is the command: https://stackoverflow.com/questions/8283112/cprofile-saving-data-to-file-causes-jumbles-of-characters

HoussameH commented 5 years ago

It seems that c-profile is not really adapted to Multiprocessing. We can however profile each process or module independently.

Find an example of the cprofile summary for the reporting module with only one region: cprofile_example.txt