$Qe4z`P d Z ddlZddlZddlZddlZddlZddlZddlmZ ddl m
Z
ddl mZ ddlZn
# e
$ r dZY nw xY wdZdZ G d d e Zd
dZej dd ZdS )zProfiling support for unit and performance tests.
These are special purpose profiling methods which operate
in a more fine-grained way than nose's profiling plugin.
N )config)
gc_collect update_wrapperc R e Zd ZdZd Zed Zd Zd Zd Z d Z
d Zd Zd
S )ProfileStatsFilezStore per-platform/fn profiling results in a file.
We're still targeting Py2.5, 2.4 on 0.7 with no dependencies,
so no json lib :( need to roll something silly
c t j d uot j j | _ | j pt j d uot j j | _ t j | | _ t j
| j d | _ t j
d | _ | | j r| d S d S )Nc 4 t j t S N)collectionsdefaultdictdict p/builddir/build/BUILD/cloudlinux-venv-1.0.10/venv/lib64/python3.11/site-packages/sqlalchemy/testing/profiling.py