Performance analysis of .NET Enum toString vs nameof

I want to share a recent gotcha and improvement we recently identify in a project that i’m working on. Recently, we’ve been doing performance tuning of our application. The application is a .NET Core app and we’ve been using the following tools to analyse its performance

One of the recent gotcha that we found is the conversion of an Enum to string. Now if you’ve worked in .NET, you may be…

--

--

Tech Lead | Cloud Architect | Coach | Co-Founder. Helping people flourish in tech @fran6_ca

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Francis Adediran

Tech Lead | Cloud Architect | Coach | Co-Founder. Helping people flourish in tech @fran6_ca