New Observability Tools for Optimizing Apps

When diagnosing performance issues, you need to understand what’s actually happening in your code. Anvil’s new profiling and tracing tools provide detailed visibility into what your app is doing and where time is being spent, allowing you to find bottlenecks and optimize your code.

The Traces tab in the Anvil Editor provides insights into app performance.

The Traces tab in the Anvil Editor provides insights into app performance.

End-to-end visibility with tracing

You can now track tasks in your app to better understand your code and find performance issues. Tracing shows you the journey of each of your app’s tasks, including any subtasks it called, from start to finish. This allows you to pinpoint slowdowns in your app so you can make your app more efficient.

Trace the journey of a task and all of its subtasks.

Trace the journey of a task and all of its subtasks.

Gain insights into how your code runs

Slowdowns don’t always occur from one slow call. Profiling gives you an overview of all the different tasks your app ran, including how many times each task was called and the total duration across calls.

The Profile tab showing a list of tasks and their total duration.

The Profile tab showing a list of tasks and their total duration.

How to get started

Anvil’s profiling and tracing tools are available on the Business Plan and above. To get started, go to App Sessions, choose a session and click “View Session”. From here, you’ll find the Profile and Traces tabs where you can dig into your app’s performance. Find more information in our documentation.

Click on ‘View session’ to find profiling and tracing tools for the session.

Click on ‘View session’ to find profiling and tracing tools for the session.

Ready to check it out?


More about Anvil

If you’re new here, welcome! Anvil is a platform for building full-stack web apps with nothing but Python. No need to wrestle with JS, HTML, CSS, Python, SQL and all their frameworks – just build it all in Python.

Want to build an app of your own? Get started with one of our tutorials: