Making .NET Applications Faster

https://www.pluralsight.com/courses/making-dotnet-applications-faster

by Sasha Goldshtein


Mod 1: Implementing Value Types Correctly

  1. Introduction
  2. Why Value Types?
  3. Correct Value Type Implementation
    • value types inherit from System.ValueType
  4. Demo: Measuring Value Type Performance
  5. GetHashCode
Mod 2: Applying Precompilation

  1. Introduction
  2. NGen and Assembly Loading
    • NGen precompiles .NET assemblies to native code
      • > ngen install MyApp.exe
  3. Demo: NGen
  4. RyuJlT and MPGO
  5. Demo: RyuJlT
    • shows how to set an environment variable
      • > set COMPLUS_AltJit=*
  6. Reducing 1/0 Costs
  7. Demo: ILMerge
  8. Precompiling Regular Expressions
  9. Demo: Optimizing Regex with Precompilation
  10. Summary
Mod 3: Using Unsafe Code and Pointers
  1. Pointers in C#
  2. Demo: memcpy
  3. Reading Structures
  4. Demo: Reading Structures
  5. Summary
Mod 4: Choosing a Collection
  1. Introduction
  2. Built-in Collections (1)
  3. Built-in Collections (2)
  4. Comparing Built-in Collections
    • if you want to determine the word frequency in a large body of text, Dictionary would be the best collection to use
  5. Demo: Comparing Built-in Collections
  6. Custom Collections (1)
  7. Custom Collections (2)
  8. Demo: Custom Collections
  9. Summary
Mod 5: Make Your Code as Parallel as Necessary, but Not More
  1. Introduction
  2. Applying Data Parallelism
  3. Demo: Data Parallelism
  4. Asynchronous 1/0 and 1/0 Parallelism
    • using WhenAny with a loop
      • use it for setting off a pile of tasks and then processing each of them as they become ready
  5. Demo: 1/0 Parallelism
  6. Getting Rid of Locks
  7. Demo: Aggregation
  8. Summary

Comments

Popular posts from this blog

Angular Routing and Navigation Playbook

Working with Files in C# 10

Mastering Git