Measuring and Optimising .NET Core Application Performance

Measuring and Optimising .NET Core Application Performance

Speaker: Steve Gordon

 

Abstract:

In this workshop, you will discover how to measure the performance of .NET applications and perform targeted optimisations to make the code execute more quickly and with fewer allocations.

You will learn to use tools such as Benchmark .NET to measure the performance of an existing application. These measurements will act as a baseline before beginning to make high-performance optimisations. You will explore the latest C# and .NET Core features and APIs such as Span<T>, ArrayPool and the latest System.IO.Pipelines.

This workshop includes instruction from slides, practical code demos and some hands-on lab activities to apply the features being demonstrated.

 

Objectives:

By the end of this workshop, you will have a practical understanding of how to approach measuring code execution and memory usage. You will have applied modern techniques to refactor and optimise the code which you can use in your day-to-day work as a .NET developer.

 

Topics covered:

  1. Benchmarking and measuring .NET application performance.
  2. Applying Span<T>
  3. Applying ArrayPool
  4. Working with I/O Pipelines
  5. Working with sequences of data using SequenceReader
  6. Advanced memory management techniques

 

Intended audience:

This workshop covers quite advanced topics, so a reasonable level of C# and .NET experience is expected. The high-performance topics themselves will be covered from a beginner level so there is no need for prior knowledge of benchmarking, Span<T> etc.

 

Required equipment:

A laptop capable of running .NET Core 3.0+

 

Required software:

  • An IDE or editor to work with .NET Core projects
  • .NET Core 3.0+ SDK

 

Workshop type:

Lecture + hands-on.

 

 

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close