February 08, 2017

Tip: A-Frame Stats

If you’re handcoding A-Frame, a very useful component for observing the performance of your scene is the Stats component. It shows you information around frames per second, memory usage, and load times.

To use the component, simply add ‘stats’ to your scene entity. Then when you reload the page, you should see the performance metrics in the top left corner of the screen.

<a-scene stats></a-scene>

Check out the official docs for the Stats component here.

Posted on February 08, 2017
By Noam Almosnino

Sign up to hear about new posts.

We don't spam or share your info.