Lines Matching refs:cProfile
20 :mod:`cProfile` and :mod:`profile` provide :dfn:`deterministic profiling` of
28 1. :mod:`cProfile` is recommended for most users; it's a C extension with
34 :mod:`cProfile`, but which adds significant overhead to profiled programs.
59 import cProfile
61 cProfile.run('re.compile("foo|bar")')
63 (Use :mod:`profile` instead of :mod:`cProfile` if the latter is not available on
116 import cProfile
118 cProfile.run('re.compile("foo|bar")', 'restats')
123 The file :mod:`cProfile` can also be invoked as a script to profile another
126 python -m cProfile [-o output_file] [-s sort_order] (-m module | myscript.py)
205 :mod:`profile` and :mod:`cProfile` Module Reference
208 .. module:: cProfile
212 Both the :mod:`profile` and :mod:`cProfile` modules provide the following
241 needed than what the :func:`cProfile.run` function provides.
253 import cProfile, pstats, io
255 pr = cProfile.Profile()
322 corresponding version of :mod:`profile` or :mod:`cProfile`. To be specific,
332 Instead of reading the profile data from a file, a :class:`cProfile.Profile`
356 or :func:`cProfile.run`. Statistics for identically named (re: file, line,
366 on the :class:`profile.Profile` and :class:`cProfile.Profile` classes.
498 * With :mod:`cProfile`, each caller is preceded by three numbers: the
569 :mod:`cProfile`. For this reason, :mod:`profile` provides a means of
634 you are using :class:`profile.Profile` or :class:`cProfile.Profile`,
653 :class:`cProfile.Profile`
660 pr = cProfile.Profile(your_integer_time_func, 0.001)
662 As the :class:`cProfile.Profile` class cannot be calibrated, custom timer