C# Errors vs Exceptions Performance Benchmarks @HAMYLABS
C# Errors vs Exceptions Performance Benchmarks  @HAMYLABS
Uploaded July 2025 | Updated December 2026, 2 days ago
In this video we benchmark common patterns for representing errors from throwing exceptions to result types.

Original blog post with all links and code: https://hamy.xyz/blog/2025-07_csharp-errors-vs-exceptions-benchmark

CTA: Benchmark Project Files - github.com/HAMY-LABS/hamy-labs-code-examples/tree/main/csharp/2025-07_errors-vs-exceptions-benchmark
* Join Haminions to get access - https://hamy.xyz/blog/haminions

Chapters

00:00 - Intro
00:20 - Benchmark Setup
01:05 - Benchmark Results
02:25 - Result Highlights
03:55 - Benchmark Code

Links:

- 5 Reasons to Stop Throwing Exceptions (Do this for more Robust, Composable, and Performant Code) - youtube.com/watch?v=-sXFygSRsc8&ab_channel=HAMYLABS
- TypeScript - Errors as Values vs Exceptions Performance Benchmarks - youtube.com/watch?v=nuAl00ZD7zQ&ab_channel=HAMYLABS
- I Vibe-Coded a C# Library with Claude Code - Here's 6 Things I Learned - youtube.com/watch?v=sJBp1NEYgek&ab_channel=HAMYLABS

About me: I'm Hamilton - a Technomancer building Simple Scalable Systems.

Connect with me:

- Website: https://hamy.xyz
- Email List: hamniverse.substack.com
- Twitter: @SIRHAMY - twitter.com/SIRHAMY
- BlueSky: https://bsky.app/profile/sirhamy.bsky.social
- Pod Cast: HAMY LABS POD - hamylabspod.buzzsprout.com

# Support the Channel

If you liked this and would like to see more, consider becoming a HAMINIONs supporter: https://hamy.xyz/labs/haminions

Supporters get:
* Full source code access from courses / tutorials
* Exclusive discounts on products / courses

Plus you help me to keep experimenting / sharing!

Additional ways to support:
* YouTube channel members get early access to videos (sometimes weeks before they go public!)
* Sponsor posts on the blog / channel: https://hamy.xyz/labs/sponsors
* Buy merch from my shop - https://shop.hamy.xyz/
C# Errors vs Exceptions Performance BenchmarksCommon metrics used in Software Engineer reviews that dont make senseCloudCompare - Azure vs Digital Ocean vs Google Cloud vs Railway for Serverless Container OfferingsType-Safe Currency Conversion with F# Units of MeasureWhy HTMX is useful for building Web AppsIf AI can code, what will Software Engineers do?Beware of SendGrid Phishing Scams - Several Examples and How to Protect YourselfBuild Tailwind v4 + Daisy UI with Dotnet + DockerBuilding an in-browser Auto-clicker with JavaScriptSmall Bets - My Long-term Strategy for Profitable Side ProjectsWhy Im moving from C# to Rust for High-level Apps5 AI Coding Best Practices from a Google AI Director (That Actually Work)
HAMY LABS |

C# Errors vs Exceptions Performance Benchmarks

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER