Skip to content
Snippets Groups Projects

Introduce new Benchmark class and Patcher

3 files
+ 11
21
Compare changes
  • Side-by-side
  • Inline
Files
3
package theodolite.execution
import io.quarkus.runtime.annotations.QuarkusMain
import mu.KotlinLogging
import theodolite.benchmark.BenchmarkExecution
import theodolite.benchmark.KubernetesBenchmark
import theodolite.util.YamlParser
private val logger = KotlinLogging.logger {}
@QuarkusMain(name = "TheodoliteYamlExecutor")
object TheodoliteYamlExecutor {
@JvmStatic
fun main(args: Array<String>) {
logger.info { "Theodolite started" }
class TheodoliteYamlExecutor {
fun run() {
// load the BenchmarkExecution and the BenchmarkType
val parser = YamlParser()
val benchmarkExecution =
@@ -15,5 +22,6 @@ class TheodoliteYamlExecutor {
val executor = TheodoliteExecutor(benchmarkExecution, benchmark)
executor.run()
logger.info { "Theodolite finished" }
}
}
Loading