Seminar sylabus PV260 (C# group 03)

7 - Performance optimalization and measurement


Performance testing

In this workshop, we will work with BenchmarkDotNet which is benchmarking framework used by Microsoft for performance testing of .NET CoreFX.

BenchmarkDotNet documentation: https://benchmarkdotnet.org/Guides/GettingStarted.htm


Homework

  1. Download text.xml file from study materials
  2. Try to load xml by any standard .NET function and find out, what is wrong with the xml file
  3. Write a function which repair the xml, assure, that it can be loaded (deserialized)
  4. Use TDD
  5. Assure, that your implementation is performance efficient using BenchmarkDotNet
  6. Send me a link to the git repo
Chyba: Odkazovaný objekt neexistuje nebo nemáte právo jej číst.
https://is.muni.cz/el/fi/jaro2020/PV260/um/seminars/cs_group/test.xml


Sample usage of BenchmarkDotNet