• C# Insights
  • Posts
  • ⚙️ How to Benchmark Your Code in C#!

⚙️ How to Benchmark Your Code in C#!

Explore .NET 9 features like Raspberry Pi integration, JSON schema boosts, benchmarking, logging with Seq, and new community tools for efficient cross-platform development.

In partnership with

Streamline your development process with Pinata’s easy File API

  • Easy file uploads and retrieval in minutes

  • No complex setup or infrastructure needed

  • Focus on building, not configurations

Hey There! ✌️

Discover why stopwatch-based testing falls short, learn how to set up precise benchmarks, and gain insights into execution speed, memory usage, and more.

Learn how to install .NET 9, set up your Raspberry Pi, and bring your IoT projects to life with C#—from flashing LEDs to responsive button controls.

Unleash the potential of .NET Aspire 9 with the new Community Toolkit—a growing collection of community-driven integrations and extensions.

Discover how to package your .NET applications into a single executable file for Windows, Linux, and macOS. This step-by-step guide streamlines cross-platform deployment like never before!

Writer RAG tool: build production-ready RAG apps in minutes

RAG in just a few lines of code? We’ve launched a predefined RAG tool on our developer platform, making it easy to bring your data into a Knowledge Graph and interact with it with AI. With a single API call, writer LLMs will intelligently call the RAG tool to chat with your data.

Integrated into Writer’s full-stack platform, it eliminates the need for complex vendor RAG setups, making it quick to build scalable, highly accurate AI workflows just by passing a graph ID of your data as a parameter to your RAG tool.

Discover how .NET 9.0 accelerated JSON Schema validation by up to 32% with runtime optimizations and new APIs, enabling Corvus.JsonSchema to achieve nearly 50% faster performance compared to its .NET 7.0 release. Explore benchmarks, code improvements, and what's next for JSON performance in .NET 10.

Discover how to leverage .NET's EventSource to decode HTTP request insights like DNS costs, security handshakes, and redirections. Explore the new dotnet-http CLI tool to streamline monitoring and optimize request performance effortlessly.

Learn how to set up Seq, leverage structured logging with ILogger, and elevate your debugging experience with this powerful tool!

Learn how stream rendering enhances user experience by delivering content progressively, bridging delays and boosting responsiveness.

Explore the latest 1.0.0-beta11 update, featuring experimental interceptor support for effortless ToString() optimizations. Learn how interceptors replace method calls, making your enums faster and more efficient—no code changes required!



P.S If you liked this edition, consider forwarding it to a friend!

If you’re that friend, subscribe here.

What did you think of this week's issue?

We take your feedback seriously.

Login or Subscribe to participate in polls.

Reply

or to participate.