diff --git a/benchmarks/example.py b/benchmarks/example.py deleted file mode 100644 index 3556e449..00000000 --- a/benchmarks/example.py +++ /dev/null @@ -1,23 +0,0 @@ -class TimeSuite: - """ - An example benchmark that times the performance of various kinds - of iterating over dictionaries in Python. - """ - - def setup(self): - self.d = {} - for x in range(500): - self.d[x] = None - - def time_keys(self): - for key in self.d.keys(): - pass - - def time_values(self): - for value in self.d.values(): - pass - - def time_range(self): - d = self.d - for key in range(500): - d[key]