From: fennecdjay Date: Tue, 2 Jul 2019 20:08:58 +0000 (+0200) Subject: :white_check_mark: Python X-Git-Tag: nightly~2382^2~2 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=47ce162209ad138baf9d47b7bc60fb8d6cb1967a;p=gwion.git :white_check_mark: Python --- 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()