≈ the.bay.news

Allow profiling an entrypoint (dotted.name:func) (maybe `-e`?)

Discussions on Python.org
Allow profiling an entrypoint (dotted.name:func) (maybe `-e`?)
minimal problem statement: profiling a module or script muddies the profile with import-time computation. it would be nice to profile just a function open problems: what to put in sys.argv[0]? (this is apparently already a problem for the proposal for python itself here: Support entrypoint references in -m · Issue #145495 · python/cpython · GitHub – personally I don’t care what value gets put there) here’s a small script where I played around with the idea – and was able to generate much clea...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.