cubicweb/pyramid/profile.py
changeset 12567 26744ad37953
parent 11967 83739be20fab
equal deleted inserted replaced
12566:6b3523f81f42 12567:26744ad37953
    19 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    19 # with CubicWeb.  If not, see <http://www.gnu.org/licenses/>.
    20 
    20 
    21 """ Tools for profiling.
    21 """ Tools for profiling.
    22 
    22 
    23 See :ref:`profiling`."""
    23 See :ref:`profiling`."""
    24 from __future__ import print_function
       
    25 
    24 
    26 import cProfile
    25 import cProfile
    27 import itertools
    26 import itertools
    28 
    27 
    29 from pyramid.view import view_config
    28 from pyramid.view import view_config