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 Jan 22

Self Care for Developers

Self care is a hot topic these days, and I’m not just talking about face masks. There is a growing movement that underscores the importance of taking time to take care of yourself (in addition to all the other things that you already take time for). You can prevent problems down the road by taking proactive steps to ensure your health and happiness.

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.

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❀️