mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 13:06:59 -04:00
Disable script profiler in release build
This commit is contained in:
@@ -394,7 +394,7 @@ public:
|
||||
}
|
||||
|
||||
ScriptValueP eval(Context& ctx, bool openScope) const override {
|
||||
#if USE_SCRIPT_PROFILING
|
||||
#if USE_SCRIPT_PROFILING && 0 // this is very slow
|
||||
Timer timer;
|
||||
{
|
||||
// execute a
|
||||
|
||||
Reference in New Issue
Block a user