DEV Community

Tetri Mesquita
Tetri Mesquita

Posted on

How to profile CPU and memory usage from Android C# app while debugging?

I need to make a performance profile of a C # Android application to optimize some processes.
After doing some research on Google, I know that Microsoft Visual Studio has performance profiling features in the Enterprise Edition, and unfortunately, I only have Professional and Community Edition available.

I'd like to know where my code is less performative to optimize.

Top comments (1)

felixkras profile image
Felix Krasnitsky • Edited

There's package but it can be rather difficult to get into at the beginning.
You can also create an extention method that acts on Actions(T) and returns stopwatch.elapsed value