o
    vi                     @   sJ   d Z ddlZddlZdd Zedkr#ddlmZ e Zede dS dS )z:
A benchmark which measures the import time of jsonschema
    Nc                 C   sl   d}t | D ]+}tjtjddddgtjtjdd}|j d }|	d	d
 
 }t|}||7 }q|d S )Nr   z-X
importtimez-czimport jsonschemaT)stderrstdoutcheck   |g    .A)range
subprocessrunsys
executablePIPEDEVNULLr   
splitlinessplitstripint)loopstotal_us_plinefieldus r   e/home/air/biblejyuku/back/venv/lib/python3.10/site-packages/jsonschema/benchmarks/import_benchmark.pyimport_time	   s   
r   __main__)RunnerzImport time (cumulative))	__doc__r
   r   r   __name__pyperfr   runnerbench_time_funcr   r   r   r   <module>   s    