From c5f2bbf28b13f8e946872b1fa4b08ea2f1c0b18a Mon Sep 17 00:00:00 2001 From: Philipp Grulich Date: Sun, 6 Oct 2024 17:46:11 +0200 Subject: [PATCH] enable benchmarks again --- nautilus/test/benchmark/TracingBenchmark.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/nautilus/test/benchmark/TracingBenchmark.cpp b/nautilus/test/benchmark/TracingBenchmark.cpp index 78ad9233..d02cc8d1 100644 --- a/nautilus/test/benchmark/TracingBenchmark.cpp +++ b/nautilus/test/benchmark/TracingBenchmark.cpp @@ -22,16 +22,16 @@ namespace nautilus::engine { static auto tests = std::vector>> { - //{"add", details::createFunctionWrapper(int8AddExpression)}, - // {"ifThenElse", details::createFunctionWrapper(ifThenCondition)}, + {"add", details::createFunctionWrapper(int8AddExpression)}, + {"ifThenElse", details::createFunctionWrapper(ifThenCondition)}, {"deeplyNestedIfElse", details::createFunctionWrapper(deeplyNestedIfElseIfCondition)}, - //{"loop", details::createFunctionWrapper(sumLoop)}, - //{"ifInsideLoop", details::createFunctionWrapper(ifInsideLoop)}, - //{"loopDirectCall", details::createFunctionWrapper(loopDirectCall)}, - //{"pointerLoop", details::createFunctionWrapper(sumArray)}, - //{"staticLoop", details::createFunctionWrapper(staticLoop)}, - //{"fibonacci", details::createFunctionWrapper(fibonacci)}, - //{"gcd", details::createFunctionWrapper(gcd)}, + {"loop", details::createFunctionWrapper(sumLoop)}, + {"ifInsideLoop", details::createFunctionWrapper(ifInsideLoop)}, + {"loopDirectCall", details::createFunctionWrapper(loopDirectCall)}, + {"pointerLoop", details::createFunctionWrapper(sumArray)}, + {"staticLoop", details::createFunctionWrapper(staticLoop)}, + {"fibonacci", details::createFunctionWrapper(fibonacci)}, + {"gcd", details::createFunctionWrapper(gcd)}, }; TEST_CASE("Tracing Benchmark") {