From f1aa2632804916fb364f4fa207ac8ab97479f711 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Fri, 19 Mar 2021 13:24:36 +0100 Subject: simulator: Add benchmarks for resource consumption framework This change adds an initial set of benchmarks for the resource consumption framework in order to measure the effect of changes on the performance of the simulator. --- simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts') diff --git a/simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts b/simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts index 831ca3db..3b0a197c 100644 --- a/simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts +++ b/simulator/opendc-simulator/opendc-simulator-resources/build.gradle.kts @@ -26,6 +26,7 @@ plugins { `kotlin-library-conventions` `testing-conventions` `jacoco-conventions` + `benchmark-conventions` } dependencies { @@ -33,5 +34,6 @@ dependencies { api("org.jetbrains.kotlinx:kotlinx-coroutines-core") implementation(project(":opendc-utils")) + jmhImplementation(project(":opendc-simulator:opendc-simulator-core")) testImplementation(project(":opendc-simulator:opendc-simulator-core")) } -- cgit v1.2.3