diff --git a/src/script/context.cpp b/src/script/context.cpp index a8c39b8e..c73813fc 100644 --- a/src/script/context.cpp +++ b/src/script/context.cpp @@ -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 diff --git a/src/script/profiler.hpp b/src/script/profiler.hpp index c1eb9259..cbe4ae54 100644 --- a/src/script/profiler.hpp +++ b/src/script/profiler.hpp @@ -12,7 +12,7 @@ #include