B
    u9a                 @   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.7/reperf.pymain   s
    
r   c             O   sd   t  }z xt| D ]}|||}qW |S t  }| dkrHt| ddd t|jd||  d X d S )N   times )endz%.3fzCPU seconds)timeZperf_counterrangeprint__name__)nfuncargskwZt0iresultZt1r   r   r   r      s    r   )r   r   r   r   r   r   r   r   <module>   s   