From 57863b5db712c09c07009a08d9351c7f76899f95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 27 Sep 2023 15:40:57 +0200 Subject: [PATCH] TextureTools: reduce AtlasBenchmark iterations. It takes too long in debug mode, causing timeouts on the Windows CI due to older MSVC having truly amazing virtually unmatched debug build performance. --- src/Magnum/TextureTools/Test/AtlasBenchmark.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magnum/TextureTools/Test/AtlasBenchmark.cpp b/src/Magnum/TextureTools/Test/AtlasBenchmark.cpp index 63b731563..462ace580 100644 --- a/src/Magnum/TextureTools/Test/AtlasBenchmark.cpp +++ b/src/Magnum/TextureTools/Test/AtlasBenchmark.cpp @@ -228,10 +228,10 @@ AtlasBenchmark::AtlasBenchmark() { /* Run all benchmarks again but with time measurement instead of efficiency */ - addInstancedBenchmarks({&AtlasBenchmark::landfill}, 10, + addInstancedBenchmarks({&AtlasBenchmark::landfill}, 5, Containers::arraySize(LandfillData)); - addInstancedBenchmarks({&AtlasBenchmark::stbRectPack}, 10, + addInstancedBenchmarks({&AtlasBenchmark::stbRectPack}, 5, Containers::arraySize(StbRectPackData)); }