Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
01. SolarSystem
02. Math operations performance
03. Math functions performance
04. Sorting algorithms performance
09. Code Tuning and Optimization.sln
09. Code Tuning and Optimization.zip
Code Tuning and Optimization.pptx
Code-Tuning-and-Optimization-Homework.zip
Readme.md

Readme.md

Code Tuning and Optimization

  1. You are given a C# application "homework.zip" which displays an animated 3D model of the Solar system.
  • Use a profiler to find the places in its source code which cause significant performance degradation (bottlenecks). * Provide a screenshot of the profiler's result and indicate the place in the source code where the bottleneck resides (name of the file, line of code).
    • Make a quick fix in the source code in order to significantly improve the performance. Test the code after the fix for correctness + performance.
  • Write a program to compare the performance of add, subtract, increment, multiply, divide for int, long, float, double and decimal values.
  • Write a program to compare the performance of square root, natural logarithm, sinus for float, double and decimal values.
  • * Write a program to compare the performance of insertion sort, selection sort, quicksort for int, double and string values. Check also the following cases: random values, sorted values, values sorted in reversed order.
You can’t perform that action at this time.