From 5ebe33af9090efd59d4e26bb27f788bc5689f447 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 c82cc3dc..49bce72b 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.99', license : 'MIT')