Only enable studio perf counters when profiling

This commit is contained in:
Kamay Xutax 2024-09-13 04:14:56 +02:00
parent 30ad2cc5a0
commit 31f376ed14

View file

@ -28,7 +28,9 @@
#include "localflexcontroller.h"
#include "utlsymbol.h"
#ifdef VPROF_ENABLED
#define STUDIO_ENABLE_PERF_COUNTERS
#endif
#define STUDIO_SEQUENCE_ACTIVITY_LOOKUPS_ARE_SLOW 0
// If this is set to 1, then the activity->sequence mapping inside