Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Flashlight is an open-source performance monitoring tool. For Vega apps, it monitors CPU and memory performance data. Frames per second (FPS) monitoring is for inclusion in future releases. Flashlight with Vega works only on macOS and Linux. This page explains how to setup and use Flashlight with Fire TV Stick device and Vega Virtual Device simulator).

Prerequisites

Make sure you complete the following:
  1. Install the Vega SDK
  2. Install yarn

Install Flashlight

  1. Download Flashlight:
  2. Extract to flashlight directory:
  3. Build using yarn:

Run Flashlight

  1. Launch your sideloaded app on Fire TV Stick or Vega Virtual Device.
  2. Navigate to Flashlight directory:
  3. Run measure command to start Flashlight web interface.
    • For Vega Virtual Device:
    • For Fire TV Stick:
    The terminal prints a local URL (for example, http://localhost:3000). Open it in your browser to load the Flashlight web interface.
  4. In the Flashlight web interface, do the following:
    • Select the “Auto Detect” to find your app’s package ID.
    • Select the “Start Measuring” to begin monitoring.
    Flashlight begins displaying live CPU and memory data for your app, confirming that monitoring is active.

Watch how to use Flashlight

The following video shows how to use Flashlight with VegaVideoApp on a Fire TV device:
  1. Build, sideload, and launch VegaVideoApp on Fire TV.
  2. Use Flashlight to monitor VegaVideoApp’s live performance.

Last modified on August 17, 2026