Write A Catalyst

Write A Catalyst and Build it into Existence.

Member-only story

Day 4— .NET Performance Series

Dynamic PGO vs AOT Compilation in .NET: Which One Should You Use for Better Performance?

Compare Dynamic PGO and AOT Compilation in .NET. Discover how each affects your app’s startup and runtime performance, with real-world insights.

4 min readApr 18, 2025

--

Created by Author using Canva

Access the complete performance series here

.Net Performance Series

15 stories

It started with a complaint.

“The app is too slow to start.”

That’s how the thread began on our internal Slack. One of our key products, a healthcare scheduling service written in C#, was suddenly taking 3–4 seconds longer to start after we migrated to .NET 8. The team was confused. We expected better performance, not worse.

I’ve worked long enough to know that startup performance isn’t just about the code you write — it’s about how it’s compiled and optimized. So, I grabbed a coffee, opened my Performance Profiler, and began tracing the issue. What I found…

--

--

Write A Catalyst
Write A Catalyst

Published in Write A Catalyst

Write A Catalyst and Build it into Existence.

Sukhpinder Singh | C# .Net
Sukhpinder Singh | C# .Net

Written by Sukhpinder Singh | C# .Net

C# .Net developer 👨‍💻 who's 100% convinced my bugs are funnier than yours. 🐛💥 #BugLife Pubs: https://medium.com/c-sharp-programming

No responses yet