From 6d3cdbc77d70b0e48c4e3993a7f84e8cb649e051 Mon Sep 17 00:00:00 2001 From: Jan Hohenheim Date: Wed, 3 Jul 2024 01:11:47 +0200 Subject: [PATCH] Filter out trace calls on compile time See https://github.com/bevyengine/bevy/issues/14116 Just added this to Foxtrot, thought you might want to upstream it :) --- Cargo.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index a65c1dd..1fd819a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -70,6 +70,8 @@ webbrowser = { version = "0.8", features = ["hardened"] } # keep the following in sync with Bevy's dependencies winit = { version = "0.29", default-features = false } image = { version = "0.24", default-features = false } +## This greatly improves WGPU's performance due to its heavy use of trace! calls +log = { version = "0.4", features = ["max_level_debug", "release_max_level_warn"] } [build-dependencies] embed-resource = "1"