Skip to Main Content
Pro .NET Benchmarking: The Art of Performance Measurement
book

Pro .NET Benchmarking: The Art of Performance Measurement

by Andrey Akinshin
June 2019
Intermediate to advanced content levelIntermediate to advanced
681 pages
15h 30m
English
Apress
Content preview from Pro .NET Benchmarking: The Art of Performance Measurement
© Andrey Akinshin 2019
Andrey AkinshinPro .NET Benchmarkinghttps://doi.org/10.1007/978-1-4842-4941-3_8

8. Memory-Bound Benchmarks

Andrey Akinshin1 
(1)
Saint Petersburg, Russia
 

Blaming perf issues on Garbage Collection is like blaming your hangover on your liver…

Its the thing that’s saving you from your code.

— Ben Adams

It’s a common situation for memory to be a bottleneck in your code. In this case, it’s very important to understand how memory works on different levels: from CPU to .NET runtime. This knowledge allows designing good benchmarks. On the other hand, if you don’t know some memory “features,”1 it’s very easy for you to design a wrong benchmark: you can miss an important part of the performance space or measure the performance of ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Pro .NET Memory Management: For Better Code, Performance, and Scalability

Pro .NET Memory Management: For Better Code, Performance, and Scalability

Konrad Kokosa
Concurrency in .NET

Concurrency in .NET

Riccardo Terrell

Publisher Resources

ISBN: 9781484249413Purchase LinkPublisher Website