pedrogfleming / CSharp-Benchmarking-Perfomance-Tests

Code snippets testing performance of .Net features using Benchmark.dotnet.core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Better-Performance-CSharp

Link to course: https://www.mdfarragher.com/training/introduction-to-csharp-performance/

Code snippets testing performance of .Net features using Benchmark.dotnet.core

Fundamentals of the .NET Framework
  • The Stack and the Heap
  • Value Types
  • Reference Types
  • Boxing and unboxing
  • Immutable Strings
Basic Optimizations: the low-hanging fruit
  • How to prevent boxing and unboxing
  • Fast string concatenation
  • Fast collections
  • Fast arrays
  • Throwing and catching exceptions
  • For versus Foreach
Intermediate Optimizations
  • Fast Garbage Collection
  • Fast delegates
  • Fast class factories
A crash course in Intermediate Language
  • Introduction to CIL sintax and instructions
  • Local variable locations
  • The evaluation stack
Advanced Optimizations
  • Arrays on the stack
  • Pointers
  • Modifying String Constants

About

Code snippets testing performance of .Net features using Benchmark.dotnet.core


Languages

Language:C# 100.0%