diff -r 71967658feb5 performance/bm_regex_compile.py --- a/performance/bm_regex_compile.py Fri Oct 30 14:37:13 2015 -0700 +++ b/performance/bm_regex_compile.py Mon Nov 23 15:05:59 2015 +0200 @@ -53,14 +53,13 @@ def test_regex_compile(count, timer): - re.purge() regexes = capture_regexes() times = [] for _ in xrange(count): t0 = timer() for regex, flags in regexes: - clear_cache() + re.purge() re.compile(regex, flags) t1 = timer() times.append(t1 - t0)