// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Region performance snapshot // Not compiled or tested in-world // Setup: Put in a prim and touch as owner. // Stop / restore: Remove or disable the script. It does not change the build. // Notes: Simulator FPS is not your viewer’s graphics FPS. These values are a momentary signal, not a diagnosis of which object or person causes lag. Region targets may differ by grid. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. default { touch_start(integer count) { if (llDetectedKey(0) != llGetOwner()) return; llOwnerSay("Region: " + llGetRegionName()); llOwnerSay("Simulator FPS: " + (string)llGetRegionFPS()); llOwnerSay("Time dilation: " + (string)llGetRegionTimeDilation()); } changed(integer flags) { if (flags & CHANGED_OWNER) llResetScript(); } }