summaryrefslogtreecommitdiff
path: root/test/perf-assetFactory.cpp
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-05 02:06:55 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-07-05 02:06:55 +0100
commit97fe4b6b2d6ada8066821594543bea38b564fb93 (patch)
treef46619f2667ad16ff1653f3e6566069a3d6a6a7c /test/perf-assetFactory.cpp
parentRe-add testHelpers.h (diff)
downloadilt-97fe4b6b2d6ada8066821594543bea38b564fb93.tar.bz2
ilt-97fe4b6b2d6ada8066821594543bea38b564fb93.tar.xz
ilt-97fe4b6b2d6ada8066821594543bea38b564fb93.zip
Fix up perf tests in light of window management changes
Diffstat (limited to 'test/perf-assetFactory.cpp')
-rw-r--r--test/perf-assetFactory.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/perf-assetFactory.cpp b/test/perf-assetFactory.cpp
index 147e4ba..671713c 100644
--- a/test/perf-assetFactory.cpp
+++ b/test/perf-assetFactory.cpp
@@ -1,13 +1,11 @@
#include "assetFactory/assetFactory.h"
-#include "assetFactory/factoryMesh.h"
#include "testMainWindow.h"
-#include "ui/applicationBase.h"
#include <benchmark/benchmark.h>
static void
brush47xml_load(benchmark::State & state)
{
- TestMainWindow window;
+ TestMainWindowAppBase window;
for (auto _ : state) {
benchmark::DoNotOptimize(AssetFactory::loadXML(RESDIR "/brush47.xml"));
@@ -17,7 +15,7 @@ brush47xml_load(benchmark::State & state)
static void
foliagexml_load(benchmark::State & state)
{
- TestMainWindow window;
+ TestMainWindowAppBase window;
for (auto _ : state) {
benchmark::DoNotOptimize(AssetFactory::loadXML(RESDIR "/foliage.xml"));