I am writing a saop client in python and zeep and I am playing with the -mzeep tool. It has an option --profile [filename]. Does anybody know the output file's format or what it is for? The documentation says only this: --profile PROFILE Enable profiling and save output to given file. I was not able to find any more info. The file seems to be a binary.
Based on the source code, it seems to be doing this:
if args.profile:
import cProfile
profile = cProfile.Profile()
profile.enable()
cProfile is one of the Python profilers, so the output file must be specific to cProfile. The Stats class can read it and allow you to print various details from it.