o
    GXh                     @   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   5/opt/python-3.10.19/usr/lib/python3.10/test/reperf.pymain   s
   
r   c                 O   s   t  }z+t| D ]	}||i |}q	|W t  }| dkr$t| ddd t|jd||  d S t  }| dkr?t| ddd t|jd||  d w )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
    
