protected void ExecuteStringOnMainScriptCommandHandler(ExecuteStringOnMainScriptCommand cmd) { #if PERFORMANCE_TEST var ptest = Service.Performance.PerformanceTest.Get(); ptest.Start("ExecuteStringOnMainScriptCommand"); #endif cmd.result = _service.ExecuteStringOnMainScript(cmd.luaCode); #if PERFORMANCE_TEST // now stop the watches ptest.Stop("ExecuteStringOnMainScriptCommand"); #endif }