pstats_print2list (pypi): Add to pstats library of cProfile the feature of get the result in a list with filters, limit and sort.
Keywords: pstats_print2list