summaryrefslogtreecommitdiffstats
path: root/Tools/pybench/Empty.py
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pybench/Empty.py')
-rwxr-xr-xTools/pybench/Empty.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/Tools/pybench/Empty.py b/Tools/pybench/Empty.py
new file mode 100755
index 0000000..3c54851
--- /dev/null
+++ b/Tools/pybench/Empty.py
@@ -0,0 +1,23 @@
+from pybench import Test
+
+class EmptyTest(Test):
+ """This is just here as a potential measure of repeatability."""
+
+ version = 0.3
+ operations = 1
+ rounds = 60000
+
+ def test(self):
+
+ l = []
+ for i in xrange(self.rounds):
+ pass
+
+
+ def calibrate(self):
+
+ l = []
+
+ for i in xrange(self.rounds):
+ pass
+