Browse Source

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.
pull/168/head
Vladimír Vondruš 3 years ago
parent
commit
57863b5db7
  1. 4
      src/Magnum/TextureTools/Test/AtlasBenchmark.cpp

4
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));
}

Loading…
Cancel
Save