namespace · performance
Performance logging
Host-controlled bounded performance logging for packages.
namespace performance
- Stable ID
performance- Owner
- app.runtime-performance-monitor
- Authority
- host_lifecycle
- Timing
- immediate
- Availability
- runtime API 1
- Side effects
- none
- Determinism
- Stable namespace identity and normalized symbol order.
- Introduced
- 1.0.0
Usage
Use performance only to start or stop the host-wide bounded performance log. Read measurements through developer.performance queries.
Parameters
- None
Returns
A stable namespace table containing logging lifecycle functions.
Cost
Namespace lookup is constant-time and performs no sampling.
Fields
This symbol has no fields.
Errors
- None
Examples
local session_id = performance.start_logging(3600)
API history
- 1.0.0: Package-controlled bounded performance logging added during Phase 15 closure.