Direktori : /opt/cppython/lib/python3.8/test/__pycache__/ |
Current File : //opt/cppython/lib/python3.8/test/__pycache__/reperf.cpython-38.pyc |
U ��eg � @ s* d dl Z d dlZdd� Zdd� Ze� dS )� Nc C sB dd } t �d�}td|jd| � td|j| � td|j| � d S )Nzhello world i� z ([\13\14])� � )�re�compile�timefunc�sub�split�findall)�s�p� r �*/opt/cppython/lib/python3.8/test/reperf.py�main s r c O sd t �� }z t| �D ]}|||�}q|W �S t �� }| dkrHt| ddd� t|jd|| d� X d S )N� �times� )�endz%.3fzCPU seconds)�time�perf_counter�print�__name__�range)�n�func�args�kw�t0�t1�i�resultr r r r s r )r r r r r r r r �<module> s