0

I am currently writing a time consuming python program and decided to rewrite part of the program in fortran. However, the performance is still not good. For profiling purpose, I want to know how much time is spent in f2py wrappers and how much time is actual spent in fortran subroutines. Is there a convenient way to achieve this?

atbug
  • 818
  • 6
  • 26

1 Answers1

1

At last I found out -DF2PY_REPORT_ATEXIT option can report wrapper performance.

atbug
  • 818
  • 6
  • 26