
28 Mar
2020
28 Mar
'20
4:34 p.m.
I'm interested in some dynamic execution counts (sys.getdxp). I have a Python executable built with that. The recommended way to capture execution profiles is to run the desired program with -i and use that to grab and write the opcode profile.
That would be quite cumbersome when using pyperformance since each benchmark is run as a separate Python process and there are so many benchmarks. Is there some builtin way to save the output of sys.getdxp() after each benchmark is run? If not, is there an approach to that I should consider, perhaps a plug-in capability I missed in a quick skim of the docs?
Thanks,
Skip Montanaro