From 5bda6917ac09f4aeba061f3c57f3953e8c7c240c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=98yvind=20Kol=C3=A5s?= <pippin@gimp.org> Date: Wed, 9 Aug 2023 16:30:15 +0200 Subject: [PATCH] ctx: use -O2 not -O3 Benchmarks from using debug overlay: O3 settings menu: 13-15fps system menu 18fps sun menu 17-18fps O2 settings menu: 16-17fps system menu 23fps sun menu 20fps --- components/ctx/ctx_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/ctx/ctx_config.h b/components/ctx/ctx_config.h index ffae5367a6..370fb36d26 100644 --- a/components/ctx/ctx_config.h +++ b/components/ctx/ctx_config.h @@ -10,7 +10,7 @@ #ifndef __clang__ #if CONFIG_FLOW3R_CTX_FLAVOUR_FULL -#pragma GCC optimize("O3") +#pragma GCC optimize("O2") #else #pragma GCC optimize("Oz") #endif -- GitLab