summaryrefslogtreecommitdiffstats
path: root/Tools/ccbench/ccbench.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/ccbench/ccbench.py')
-rw-r--r--Tools/ccbench/ccbench.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/Tools/ccbench/ccbench.py b/Tools/ccbench/ccbench.py
index 4f77a65..ab1465a 100644
--- a/Tools/ccbench/ccbench.py
+++ b/Tools/ccbench/ccbench.py
@@ -84,13 +84,6 @@ def task_regex():
pat = re.compile(r'^(\s*def\s)|(.*(?<!\w)lambda(:|\s))|^(\s*@)', re.MULTILINE)
with open(__file__, "r") as f:
arg = f.read(2000)
-
- def findall(s):
- t = time.time()
- try:
- return pat.findall(s)
- finally:
- print(time.time() - t)
return pat.findall, (arg, )
def task_sort():