# Performance Test Stop
Grammar — Performance Test Stop
Flags —Native
|Action
|Restricted
Returns — void
native void PerfTestStop();
# Related
Category: Debug / Performance Testing
- Wait For Profiler Logging To End —
void
— WaitForProfilerLoggingToEnd - Profile Run Start —
void
— StartProfileRun - Profile Run Stop —
void
— StopProfileRun - Performance Test Start —
void
— PerfTestStart - Performance Test Stop —
void
— PerfTestStop - Performance Test Get FPS —
void
— PerfTestGetFPS - Unit Stats Start —
void
— UnitStatsStart - Unit Stats Stop —
void
— UnitStatsStop
# Examples
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:17748
}
Wait(20.0, c_timeGame);
PerfTestStop();
ConsoleCommand("resourcesnapshot", true, true);
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign — base.sc2maps/maps/campaign/tstory01.sc2map/MapScript.galaxy:17894
PerfTestStart(gv_debugSceneLabels[lv_index]);
TriggerExecute(gv_debugSceneCallbacks[lv_index], true, true);
PerfTestStop();
TriggerEnable(gt_DebugScenePerformanceTestGetFPS, false);
CinematicFade(false, 0.0, c_fadeStyleNormal, Color(0.00, 0.00, 0.00), 0.0, false);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:17748
}
Wait(20.0, c_timeGame);
PerfTestStop();
ConsoleCommand("resourcesnapshot", true, true);
Wait(0.2, c_timeGame);
campaigns/liberty.sc2campaign/base.sc2maps/maps/campaign/tstory01.sc2map — MapScript.galaxy:17894
PerfTestStart(gv_debugSceneLabels[lv_index]);
TriggerExecute(gv_debugSceneCallbacks[lv_index], true, true);
PerfTestStop();
TriggerEnable(gt_DebugScenePerformanceTestGetFPS, false);
CinematicFade(false, 0.0, c_fadeStyleNormal, Color(0.00, 0.00, 0.00), 0.0, false);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:621
// Automatic Variable Declarations
// Implementation
PerfTestStop();
TriggerStop(libCamp_gt_DebugPerfTestGetFps);
TriggerQueueClear(c_triggerQueueRetain);
campaigns/libertystory.sc2campaign — base.sc2data/TriggerLibs/CampaignLib.galaxy:14453
}
PerfTestStop();
return true;
}
campaigns/swarmstory.sc2campaign — base.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1372
// Automatic Variable Declarations
// Implementation
PerfTestStop();
TriggerQueueClear(c_triggerQueueRetain);
TriggerQueuePause(true);
campaigns/swarmstoryutil.sc2mod — base.sc2data/Lib281DEC45.galaxy:2221
// Implementation
TriggerStop(lib281DEC45_gt_ZSS_DebugPerfTestFPSPoll);
PerfTestStop();
}
campaigns/voidstory.sc2campaign — base.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1398
// Implementation
PerfTestStop();
TriggerQueueClear(c_triggerQueueRetain);
TriggerQueuePause(true);
mods/heroesdata.stormmod — base.stormdata/TriggerLibs/SupportLib.galaxy:119
// Implementation
UnitStatsStop();
PerfTestStop();
TriggerDebugOutput(1, StringExternal("Param/Value/lib_Sprt_EBB0E5D4"), true);
}
mods/missionpacks/novacampaign.sc2mod — base.sc2data/LibNCMI.galaxy:2239
// Implementation
PerfTestStop();
TriggerQueueClear(c_triggerQueueRetain);
TriggerQueuePause(true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:7501
TextExpressionSetToken("Param/Expression/lib_COMI_E4C5B378", "D", IntToText(libCOMI_gv_cM_DebugDehakaEssenceDroppedRefund));
TriggerDebugOutput(13, TextExpressionAssemble("Param/Expression/lib_COMI_E4C5B378"), false);
PerfTestStop();
TriggerQueueClear(c_triggerQueueRetain);
TriggerQueuePause(true);
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:7540
}
if ((libCOOC_gf_CoopDebugModeIsOn("LogPerf", 1) == true)) {
PerfTestStop();
TriggerStop(libCOMI_gt_CM_CampaignMissionPerfLog);
}
mods/starcoop/starcoop.sc2mod — base.sc2data/LibCOMI.galaxy:29765
}
PerfTestStop();
libCOMI_gv_cM_EndMissionResult[EventPlayer()] = c_gameOverDefeat;
libCOOC_gf_CC_PlayerAwardMissionXP(c_gameOverDefeat, EventPlayer());
mods/testmods/autopve.stormmod — base.stormdata/Lib1035AFB3.galaxy:147
TriggerEnable(lib1035AFB3_gt_GetFPS, true);
TriggerExecute(lib1035AFB3_gt_BossFight, true, true);
PerfTestStop();
TriggerEnable(lib1035AFB3_gt_GetFPS, false);
Wait(2.0, c_timeGame);
mods/testmods/autopve.stormmod — base.stormdata/Lib1035AFB3.galaxy:190
TriggerEnable(lib1035AFB3_gt_GetFPS, true);
TriggerExecute(lib1035AFB3_gt__2ndWaveFight, true, true);
PerfTestStop();
TriggerEnable(lib1035AFB3_gt_GetFPS, false);
Wait(2.0, c_timeGame);
mods/voidprologue.sc2mod — base.sc2data/LibA3DDD02B.galaxy:1061
// Automatic Variable Declarations
// Implementation
PerfTestStop();
TriggerQueueClear(c_triggerQueueRetain);
TriggerQueuePause(true);