From c50e3779435d16a9176b5655aca1a652fddd0ed7 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 21 Aug 2019 18:09:36 +0200 Subject: add debugging benchmark nop --- src/benchmarks/nop.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/benchmarks/nop.py 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() -- cgit v1.2.3