Performance and Optimization for Lenses
Lens Studio empowers our community to create expressive, immersive AR experiences, and then share their creations to Snapchatters all over the world. When building AR experiences in Lens Studio, it’s important to make sure your Lens works on a wide variety of devices, as performance has a direct impact on Lens reach and engagement.
In the next few sections, you will learn some of the recommendations to keep in mind when building your project for both Community Lenses and Sponsored Lenses and best practices to improve performance.
To run a Lens as an ad on Snapchat, your Lens must have a Lens Activation Time under 650 ms, as measured on our benchmark device. To ensure your Lens project meets this requirement, upload drafts of your Lens to the client's Lens Folder. This will run automated testing and surface any potential errors related to Lens performance. More optimization tips for LAT can be found here.
Top 5 QA and Optimization Tips
This Lens Studio video tutorial shares some of the top five tips to help you quality control and optimize your Snapchat Lenses in Lens Studio.
How to Check Lens Performance
When building Lenses in Lens Studio, you can check your Lens performance by Pairing your Device with Snapchat. Once the device is paired, you can select the Gear icon in the top-left corner on your device’s screen to display the performance statistics of the currently running Lens. Here, you can view the following parameters:

- LAT: Lens Activation Time, LAT tracks the time that it takes for a Lens to render/activate on your screen after it has been loaded on your mobile device.
- FPS: Frames per Second, also commonly referred to as Frame Rate.
- FPT: Frame Processing Time is the amount of time taken to process a single frame on the CPU.
- You should target
30 FPSfor your Lens for the best viewing experience, but ensure that it is greater than15 FPSon most devices.
- You should target
- RAM: The memory that is being used while the Lens is running.
- Lenses should not exceed
150 MBRAM.
- Lenses should not exceed
- SIZE: The current size of the Lens on device.
- Lens size should be less than
8 MB. - You can also view the Lens size within Lens Studio under Project Info.
- Lens size should be less than
Custom ML and Remote Storage Assets do not count towards the total size limit.
Recommendations for Sponsored Lens Project Settings
The Lens Studio Project Info window allows you to customize and configure settings required for Lens submission. You can learn more about the Project Info window of your Lens in the Configure Project Info guide. You should ensure the following settings are applied to your project:
- The Lens has a
name, aLens iconand aLens preview. - The size of the Lens should be less than 8 MB.
In order to ensure that your sponsored Lens receives wide distribution and engagement in Snapchat’s Lens Carousel, you should aim for the following performance statistics:
- Although
8 MBis the maximum file size limit, further optimizations can lead to greater reach across a wide array of devices. - The Lens utilizes both Front and Rear Cameras for enabling Face and World Lens Features. By not having both Front and Rear Cameras enabled for your Lens, it may receive less distribution in the Carousel and potentially may negatively impact any advertising campaigns using this Lens.
- All sponsored Lenses must display a brand name or brand logo and conform to Snap’s Ad Policies. Otherwise, the Lens will be rejected in Ads Manager when it is used in an advertising campaign.