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

twitter logo github logo ・1 min read

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.

twitter logo DISCUSS (1)
markdown guide
 

There's Benchmark.net 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

Classic DEV Post from Aug 23

Favorite Front-end/UI developer interview questions?

Help me compile your favorite interview questions.

Tetri Mesquita profile image
πŸ‘¨β€πŸ’» I have been coding for almost 15 years. 🌐 You can find me on Github and Twitter as @tetri 🏑 I live in Cascavel (ParanΓ‘, Brasil). πŸ’Ό I work at Datacoper Software Ltda. as System Analyst.

Sore eyes?

dev.to now has dark mode.

Go to the "misc" section of your settings and select night theme ❀️

(There is also a pink mode)