mς
­fIc           @   s/   d  k  Z  d  k Z d   Z d   Z e   d  S(   Nc          C   sY   d d } t i d  }  t d |  i d |  t d |  i |  t d |  i |  d  S(   Ns   hello world iθ  s
   ([\13\14])i
   t    (   t   st   ret   compilet   pt   timefunct   subt   splitt   findall(   R   R   (    (    t(   /mit/python/lib/python2.4/test/reperf.pyt   main   s
    
c         O   s   t  i   } z. x# t |   D] } | | |   } q W| SWd  t  i   } |  d j o |  Gd Gn | i Gd | | Gd GHXd  S(   Ni   t   timess   %.3fs   CPU seconds(   t   timet   clockt   t0t   ranget   nt   it   funct   argst   kwt   resultt   t1t   __name__(   R   R   R   R   R   R   R   R   (    (    R	   R      s      (   R   R   R
   R   (   R   R
   R   R   (    (    R	   t   ?   s   				