cProfile

The command-line ETL (coconnect map run) can be ran as a module via -m coconnect.cli.cli map run. To include cProfile, the following command can be executed to run the ETL-Tool while using cProfile:

python3 -m cProfile -o profile.prof -m coconnect.cli.cli map run --rules rules.json input_data/

Which dumps the profiling output to the file profile.prof.