Skip to main content

Getting started

Installationโ€‹

Install the CLI with:

curl https://get.flashlight.dev | bash
macOS arm64 support

On a macOS with arm64 architecture (Silicon), you'll need to install Rosetta if you don't have it:

softwareupdate --install-rosetta --agree-to-license

More details here

Simple usageโ€‹

๐Ÿ”Œ Plug-in an Android device to your computer. Open any app. Then the simplest way to get started is to run the flashlight measure command:

flashlight measure

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, one 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!