aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/benchmarks/nop.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/benchmarks/nop.py b/src/benchmarks/nop.py
new file mode 100644
index 0000000..c8e3712
--- /dev/null
+++ b/src/benchmarks/nop.py
@@ -0,0 +1,20 @@
+from src.benchmark import Benchmark
+
+
+class Benchmark_NOP(Benchmark):
+ def __init__(self):
+ self.name = "nop"
+ self.descrition = """This benchmark does nothing for debugging only."""
+
+ self.cmd = "sleep {tts}"
+ self.requirements = ["sleep"]
+
+ self.args = {"tts": [1]}
+
+ super().__init__()
+
+ def summary(self):
+ pass
+
+
+nop = Benchmark_NOP()