diff --git a/benchmarks/benchmarks.py b/benchmarks/benchmarks.py index 5f07492..3a81576 100644 --- a/benchmarks/benchmarks.py +++ b/benchmarks/benchmarks.py @@ -15,23 +15,23 @@ def setup(self): def time_keys(self): """Time first method.""" - example_module.example_module.run_time_computation() + example_module.run_time_computation() def time_iterkeys(self): """Time second method.""" - example_module.example_module.run_time_computation() + example_module.run_time_computation() def time_range(self): """Time third method.""" - example_module.example_module.run_time_computation() + example_module.run_time_computation() def time_xrange(self): """Time fourth method.""" - example_module.example_module.run_time_computation() + example_module.run_time_computation() class MemSuite: # pylint: disable=too-few-public-methods """An example benchmark that times memory consumption.""" def mem_list(self): - return example_module.example_module.run_mem_computation() + return example_module.run_mem_computation()