bos/statprof.py — pull request #17 by anntzer (2013-11-13 18:06:11+00:00)
Title: Allow an invocation like "python -mstatprof -mmodule_name".

This builds on top of @nvie's PR but uses `runpy` to allow running any module in the `sys.path` under statprof.