<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Performance on Peter Truchly</title><link>https://peter.truchly.eu/tags/performance/</link><description>Recent content in Performance on Peter Truchly</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Mon, 17 Aug 2026 00:00:00 +0200</lastBuildDate><atom:link href="https://peter.truchly.eu/tags/performance/index.xml" rel="self" type="application/rss+xml"/><item><title>Fast Memory Copying in C#/.NET (Cache, AVX, Threads, Unsafe, Alternatives)</title><link>https://peter.truchly.eu/p/fast-memory-copying-in-csharp/</link><pubDate>Fri, 20 Dec 2024 00:00:00 +0100</pubDate><guid>https://peter.truchly.eu/p/fast-memory-copying-in-csharp/</guid><description>&lt;img src="https://peter.truchly.eu/p/fast-memory-copying-in-csharp/cover_hu_3f8d3b6539b2c16a.png" alt="Featured image of post Fast Memory Copying in C#/.NET (Cache, AVX, Threads, Unsafe, Alternatives)" /&gt;&lt;p&gt;Numerous &lt;strong&gt;copy routine&lt;/strong&gt; implementations are readily available in .NET. If I were to simply list them alongside a few benchmark numbers and charts, it wouldn&amp;rsquo;t make for a very interesting article.&lt;/p&gt;&#10;&lt;p&gt;&amp;#x26a0;&amp;#xfe0f; What if I told you upfront that &lt;strong&gt;none&lt;/strong&gt; of these routines &lt;strong&gt;is designed to be the absolute fastest&lt;/strong&gt;?&lt;/p&gt;&#10;&lt;p&gt;If you&amp;rsquo;re interested in a basic comparison, I recommend checking out this article here on &lt;a class="link" href="https://dev.to/j0nimost/what-is-the-best-way-to-copy-an-array-1ch4" target="_blank" rel="noopener"&#10; &gt;dev.to: What is the best way to copy an array?&lt;/a&gt; or a more detailed, older comparison: &lt;a class="link" href="https://code4k.blogspot.com/2010/10/high-performance-memcpy-gotchas-in-c.html" target="_blank" rel="noopener"&#10; &gt;High performance memcpy gotchas in C#&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Zen5 and C#</title><link>https://peter.truchly.eu/p/zen5-and-csharp/</link><pubDate>Tue, 17 Sep 2024 00:00:00 +0200</pubDate><guid>https://peter.truchly.eu/p/zen5-and-csharp/</guid><description>&lt;img src="https://peter.truchly.eu/p/zen5-and-csharp/banner1000-420_hu_ccd345d14dbce684.png" alt="Featured image of post Zen5 and C#" /&gt;&lt;p&gt;Zen 5 landed with a bit of controversy, but anyone Who was paying any attention to the real results wasn&amp;rsquo;t disappointed. Benchmarks done using more mature OSes (like Linux and Win10) and professional software shown its strengths.&#10;But hey, why should we trust just any 3rd party data if we can make a test by ourselves? I used Ryzen 9950x today and a bit of code to get things going.&lt;/p&gt;</description></item></channel></rss>