Skip to content

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

Notifications You must be signed in to change notification settings

pedrogfleming/CSharp-Benchmarking-Perfomance-Tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better-Performance-CSharp

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages