Improving your C# Skills
上QQ阅读APP看书,第一时间看更新

Understanding .NET Core Internals and Measuring Performance

When developing application architecture, knowing the internals of how the .NET framework works plays a vital role in ensuring the quality of the application's performance. In this chapter, we will focus on the internals of .NET Core that can help us write quality code and architecture for any application. This chapter will cover some of the core concepts of .NET Core internals, including the compilation process, garbage collection, and Framework Class Library (FCL). We will complete this chapter by going through the BenchmarkDotNet tool, which is mostly used in measuring code performance, and is highly recommended for benchmarking code snippets within an application.

In this chapter, you will learn the following topics:

  • .NET Core internals
  • Utilizing multiple cores of the CPU for high performance
  • How releasing builds increases performance
  • Benchmarking .NET Core 2.0 applications