a
    ze                     @   s*   d dl Z d dlZdd Zdd Ze  dS )    Nc                  C   sB   dd } t d}td|jd|  td|j|  td|j|  d S )Nzhello world i  z
([\13\14])
    )recompiletimefuncsubsplitfindall)sp r   !/usr/lib/python3.9/test/reperf.pymain   s
    
r   c                 O   s   t  }znt| D ]}||i |}q|W t  }| dkrHt| ddd t|jd||  d S t|jd||  d n6t  }| dkrt| ddd t|jd||  d 0 d S )N   times )endz%.3fzCPU seconds)timeperf_counterrangeprint__name__)nfuncargskwt0iresultt1r   r   r   r      s$       r   )r   r   r   r   r   r   r   r   <module>   s   