From 6fd00329aa15d8ea62902bd78af57d6c4829506e Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Mon, 22 Jul 2024 11:52:49 +0900 Subject: [PATCH] infra: switch the optimization option to level 3 In case of modern systems, size is not a big problem, so we turn the optimization option to default for better performance. FPS: ~20% enhanced Size: ~25% increased Note that this doesn't affect to the web player. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 01010181..1e0105ab 100644 --- a/meson.build +++ b/meson.build @@ -1,6 +1,6 @@ project('thorvg', 'cpp', - default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=s', 'cpp_std=c++14', 'strip=true'], + default_options : ['buildtype=debugoptimized', 'b_sanitize=none', 'werror=false', 'optimization=3', 'cpp_std=c++14', 'strip=true'], version : '0.14.0', license : 'MIT')