U if@s*ddlZddlZddZddZedS)NcCsBdd}td}td|jd|td|j|td|j|dS)Nz hello world iz ([\13\14]) )recompiletimefuncsubsplitfindall)spr 0/opt/alt/python38/lib64/python3.8/test/reperf.pymains  rc Osdt}z t|D]}|||}q|WSt}|dkrHt|dddt|jd||dXdS)Ntimes )endz%.3fz CPU seconds)time perf_counterprint__name__range)nfuncargskwZt0t1iresultr r r r s  r)rrrrr r r r s