Skip to main content

Getting started

Installationโ€‹

Install the CLI with:

curl https://get.flashlight.dev/ | bash

Simple usageโ€‹

๐Ÿ”Œ Plug-in an Android device to your computer. Open any app.

Then the simplest way to get started is to use our Flipper plugin or use the measure command:

1. Run the measure commandโ€‹

flashlight measure

Do things in your app, then press w.
A JSON file full of performance measures will be written for you.

2. Open the web reportโ€‹

From this JSON file, you can generate a full web report with your performance score

flashlight report <your results.json>

See more on how to customize reports, generate comparison views... here .

Going furtherโ€‹

You might have noticed that your performance score is completely dependent on how you use your app, and might change quite a bit.

Performance measures are usually not deterministic, the best way to combat this is to:

  • run several iterations and average results
  • automate user behavior

But let's face it, that's just super cumbersome to do!
Luckily we got you covered:
check out the test command to do this automatically for you!