# Performance Test Stop

Grammar — Performance Test Stop
FlagsNative | Action | Restricted

Returns — void

native void PerfTestStop();

Category: Debug / Performance Testing

# Examples

campaigns/liberty.sc2campaignbase.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.sc2campaignbase.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.sc2mapMapScript.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.sc2mapMapScript.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.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:621

    // Automatic Variable Declarations
    // Implementation
    PerfTestStop();
    TriggerStop(libCamp_gt_DebugPerfTestGetFps);
    TriggerQueueClear(c_triggerQueueRetain);

campaigns/libertystory.sc2campaignbase.sc2data/TriggerLibs/CampaignLib.galaxy:14453

    }

    PerfTestStop();
    return true;
}

campaigns/swarmstory.sc2campaignbase.sc2data/TriggerLibs/SwarmCampaignLib.galaxy:1372

    // Automatic Variable Declarations
    // Implementation
    PerfTestStop();
    TriggerQueueClear(c_triggerQueueRetain);
    TriggerQueuePause(true);

campaigns/swarmstoryutil.sc2modbase.sc2data/Lib281DEC45.galaxy:2221

    // Implementation
    TriggerStop(lib281DEC45_gt_ZSS_DebugPerfTestFPSPoll);
    PerfTestStop();
}

campaigns/voidstory.sc2campaignbase.sc2data/TriggerLibs/VoidCampaignMissionLib.galaxy:1398


    // Implementation
    PerfTestStop();
    TriggerQueueClear(c_triggerQueueRetain);
    TriggerQueuePause(true);

mods/heroesdata.stormmodbase.stormdata/TriggerLibs/SupportLib.galaxy:119

    // Implementation
    UnitStatsStop();
    PerfTestStop();
    TriggerDebugOutput(1, StringExternal("Param/Value/lib_Sprt_EBB0E5D4"), true);
}

mods/missionpacks/novacampaign.sc2modbase.sc2data/LibNCMI.galaxy:2239


    // Implementation
    PerfTestStop();
    TriggerQueueClear(c_triggerQueueRetain);
    TriggerQueuePause(true);

mods/starcoop/starcoop.sc2modbase.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.sc2modbase.sc2data/LibCOMI.galaxy:7540

    }
    if ((libCOOC_gf_CoopDebugModeIsOn("LogPerf", 1) == true)) {
        PerfTestStop();
        TriggerStop(libCOMI_gt_CM_CampaignMissionPerfLog);
    }

mods/starcoop/starcoop.sc2modbase.sc2data/LibCOMI.galaxy:29765

    }

    PerfTestStop();
    libCOMI_gv_cM_EndMissionResult[EventPlayer()] = c_gameOverDefeat;
    libCOOC_gf_CC_PlayerAwardMissionXP(c_gameOverDefeat, EventPlayer());

mods/testmods/autopve.stormmodbase.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.stormmodbase.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.sc2modbase.sc2data/LibA3DDD02B.galaxy:1061

    // Automatic Variable Declarations
    // Implementation
    PerfTestStop();
    TriggerQueueClear(c_triggerQueueRetain);
    TriggerQueuePause(true);