Lens Performance Overlay
Overview
The Lens Performance Overlay allows you to view performance data in real time overlaid on the Spectacles display to monitor the efficiency of your draft Lenses.
Spectacles Monitor provides similar functionality in Lens Studio. The Lens Profiler Overlay consumes some Lens Power, resulting in a lower number in the Overlay compared to Spectacles Monitor when both are active. To get more precise numbers in Spectacles Monitor, turn off the Profiler Overlay.
For more information, refer to Spectacles Monitor.
Enabling Lens Performance Overlay
Enable the Lens Performance Overlay through the Spectacles App under Developer Settings.
Performance Data Types
The Lens Performance Overlay provides five types of performance data for monitoring your Lens in real time:
- Lens CPU Usage
- Lens GPU Usage
- Battery level
- Lens FPS
- Lens Render Time
Lens FPS
FPS, or Frames Per Second, measures how many individual images (or frames) the Spectacles display renders per second. To ensure your Lens feels seamless to users, it should run close to 60 FPS.
Lens CPU Usage
Lens CPU Usage shows the percentage of CPU resources your Lens is currently consuming. High CPU usage can impact overall device performance and battery life. Monitor this metric to identify CPU-intensive operations that may need optimization.
Lens GPU Usage
Lens GPU Usage displays the percentage of GPU resources being utilized by your Lens for rendering operations.
Battery Level
Battery Level indicates the current charge remaining on the Spectacles device. This helps you understand how your Lens usage affects battery consumption and plan testing sessions accordingly.
Lens Render Time
Lens Render Time measures how long it takes to render each frame of your Lens, typically displayed in milliseconds. Lower render times indicate more efficient rendering and contribute to maintaining stable frame rates and better user experience.