From 47ce162209ad138baf9d47b7bc60fb8d6cb1967a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 2 Jul 2019 22:08:58 +0200 Subject: [PATCH] :white_check_mark: Python --- tests/benchmark/binary_trees.py | 2 -- tests/benchmark/method_call.py | 8 -------- 2 files changed, 10 deletions(-) diff --git a/tests/benchmark/binary_trees.py b/tests/benchmark/binary_trees.py index eb3a9b9a..b08adf3b 100644 --- a/tests/benchmark/binary_trees.py +++ b/tests/benchmark/binary_trees.py @@ -6,8 +6,6 @@ # modified by Heinrich Acker from __future__ import print_function -import time - # Map "range" to an efficient range in both Python 2 and 3. try: range = xrange diff --git a/tests/benchmark/method_call.py b/tests/benchmark/method_call.py index 17af5599..c307a899 100644 --- a/tests/benchmark/method_call.py +++ b/tests/benchmark/method_call.py @@ -2,9 +2,6 @@ # http://www.bagley.org/~doug/shootout/ from __future__ import print_function -import sys -import time - # Map "range" to an efficient range in both Python 2 and 3. try: range = xrange @@ -34,8 +31,6 @@ class NthToggle(Toggle): def main(): - start = time.clock() - NUM = 100000 val = 1 @@ -74,7 +69,4 @@ def main(): else: print("false") - print("elapsed: " + str(time.clock() - start)) - - main() -- 2.43.0