Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

BenchMark: Performance Analysis

197 views

Published on

Benchmark

Published in: Software
  • Be the first to comment

BenchMark: Performance Analysis

  1. 1. BenchMark Performance Analysis By Miguel Teheran
  2. 2. Hello world! I AM Miguel Teheran Developer by passion You can find me at: @Mteheran mteheran.wordpress.com
  3. 3. BenchMarking (business) vs BenchMark (software) Benchmarking is comparing one's business processes and performance metrics to industry bests and best practices from other companies. A benchmark is a test that measures the performance of hardware, software, or computer. These tests can be used to help compare how well a product may do against other products.
  4. 4. BenchMark Modes Software vs Hardware Software Hardware
  5. 5. BenchMark Issues ▪ Cheating tests ▪ Results interpretation ▪ Private interests ▪ Components interaction ▪ Virtualization
  6. 6. BenchMark in software
  7. 7. Performance Issues ▪ Technical debts ▪ Data loss ▪ Inconsistent data ▪ Functionality Risks ▪ Customers unhappy
  8. 8. Performance Issues Causes ▪ Architecture Issues ▪ Third-party components ▪ Bad routines ▪ Loading data
  9. 9. http://greenlab.di.uminho.pt/wp- content/uploads/2017/10/sleFinal.pd f Example: Energy Efficiency across Programming Languages
  10. 10. When is benchmark important? ▪ Generic component ▪ Complex routines or methods ▪ Full efficient is required
  11. 11. Companies ▪ Standard Performance Evaluation Corporation (https://www.spec.org/) ▪ Coremark (https://www.eembc.org/index.php)
  12. 12. DEMOS!
  13. 13. BENCHMARKDOTNET is a powerful .NET library for benchmarking. https://benchmarkdotnet.org
  14. 14. class Program { static void Main(string[] args) { var summary = BenchmarkRunner.Run<BenchMark>(); Console.ReadLine(); } } public class BenchMark { [Benchmark] public int RandomNumber() { Return new Random().Next(); } } Example
  15. 15. Thanks! ANY QUESTIONS? You can find me at: @mteheran mteheran@wearegap.com

×