Similar to this question on profiling multiprocessing code...
I need to profile my codebase, and I'd planned to use cProfile. This program is essentially a genetic algorithm that runs an evaluation function in parallel. The kicker is that this evaluation function externally calls another Python program via the command line.
Is it possible to use cProfile to profile the overall run? Basically, I'd intended to start the profiling inside my worker function (cumulative time, pcalls, memory overhead, etc.), however I'm concerned that the external programs will not be visible to the profiler.