Profiling Where does my application spend the time? Profiling1.

Slides:



Advertisements
Similar presentations
Copyright © 2008 SAS Institute Inc. All rights reserved. SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks.
Advertisements

Creating a Program In today’s lesson we will look at: what programming is different types of programs how we create a program installing an IDE to get.
COMPREHENSIVE Windows Tutorial 10 Improving Your Computer’s Performance.
Visual Studio 2013 Load Test Web Service Test Agent Pool - Dynamic Results Database Worker Azure Blobs Azure Tables.
1 CHAPTER 4 LANGUAGE/SOFTWARE Hardware Hardware is the machine itself and its various individual equipment. It includes all mechanical, electronic.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
2. Introduction to the Visual Studio.NET IDE 2. Introduction to the Visual Studio.NET IDE Ch2 – Deitel’s Book.
Options for automated tests DatabaseBusiness Logic User Interface Database Unit Tests T T T T T T T T T T T T T T T T T T T T T T T T Web Performance.
September 2008 IT Software Development Guide.
CHAPTER 1 XNA Game Studio 4.0. Your First Project A computer game is not just a program—it is also lots of other bits and pieces that make playing the.
Prospector : A Toolchain To Help Parallel Programming Minjang Kim, Hyesoon Kim, HPArch Lab, and Chi-Keung Luk Intel This work will be also supported by.
1 The Problem Do you have: A legacy ABL system with millions of Lines of ABL Code? Years and years of modifications to your ABL code? System documentation.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
About the Presentations The presentations cover the objectives found in the opening of each chapter. All chapter objectives are listed in the beginning.
Software components With special focus on DLL Software components1.
15-740/ Oct. 17, 2012 Stefan Muller.  Problem: Software is buggy!  More specific problem: Want to make sure software doesn’t have bad property.
Visual Studio 2005 Team System: Building Robust & Reliable Software Tejasvi Kumar Technology Specialist - VSTS Microsoft Corporation
Introduction to the Visual Studio.NET IDE (LAB 1 )
A performance evaluation approach openModeller: A Framework for species distribution Modelling.
Martin Schulz Center for Applied Scientific Computing Lawrence Livermore National Laboratory Lawrence Livermore National Laboratory, P. O. Box 808, Livermore,
CSE 232: C++ Programming in Visual Studio Graphical Development Environments for C++ Eclipse –Widely available open-source debugging environment Available.
Eclipse Simple Profiler Ben Xu Mar 7,2011. About Eclipse simple profiler is a open source project to analyze your plug-ins/RCPs performance.
Identify & Fix Performance Problems with Visual Studio 2012 Ultimate Benjamin Day Benjamin Day Consulting, Inc. benday.com/blog
Information and Communication Technology Sayed Mahbub Hasan Amiri Dhaka Residential Model College Higher Secondary.
1 Programming Environment and Tools VS.Net 2012 First project MSDN Library.
Performance Analysis & Code Profiling It’s 2:00AM -- do you know where your program counter is?
1 Getting Started with C++ Part 1 Windows. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Microsoft.
Open project in Microsoft Visual Studio → build program in “Release” mode.
Chapter 27 Getting “Web-ified” (Web Applications) Clearly Visual Basic: Programming with Visual Basic nd Edition.
Debug in Visual Studio Windows Development Fundamentals LESSON 2.5A.
PAPI on Blue Gene L Using network performance counters to layout tasks for improved performance.
WHAT IS THIS? Clue…it’s a drink SIMPLE SEQUENCE CONTROL STRUCTURE Introduction A computer is an extremely powerful, fast machine. In less than a second,
The Development Process Compilation. Compilation - Dr. Craig A. Struble 2 Programming Process Problem Solving Phase We will spend significant time on.
Visual Relations, Part 2 Advanced Visual Analysis.
Lecture Set 1 Part B: Understanding Visual Studio and.NET – Structure and Terminology 1/16/ :04 PM.
DEV300 Project Management And Visual Studio Team System Lori Lamkin Group Program Manager Visual Studio Team System.
Beyond Application Profiling to System Aware Analysis Elena Laskavaia, QNX Bill Graham, QNX.
Mile Hi Power BI User Group
Chapter 1 Introduction to Visual Basic
1/21/2018 6:52 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
1.3 Learning Chemistry: A Study Plan
DEV260 Microsoft Visual Studio 2005 Team System: Managing the Software Lifecycle with Visual Studio 2005 Team System Bindia Hallauer Senior Product Manager.
“Fun with Visual Studio!”
Take the Survey.
Identifying People With Data
NVIDIA Profiler’s Guide
May 23-24, 2012 Microsoft.
Xamarin Inspector & Profiler for Visual Studio Enterprise
Physics-based simulation for visual computing applications
Moodle Scalability What is Scalability?
How to better manage your time?
Why you need to Practice Programming
Optimizations Module #4 of 6.
F# 3.0: data, services, Web, cloud, at your fingertips
Tech Ed 2004 © 2004 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express.
1.
Visual Studio 2015: New Exciting Features For Developers
Open on the student drive
DAT381 Team Development with SQL Server 2005
Jochen Seemann Program Manager Enterprise Tools Microsoft Corporation
Change sound track.
Double click Microsoft Visual Studio 2010 on the Computer Desktop
Dynamic Program Analysis
Show, not tell.
C. M. Overstreet Old Dominion University Spring 2006
Visual Studio Tooling Developer’s Guide to Windows 10
Conference Form Name: ____________ Teacher: ___________ Date/ Time: _____ What behavior stopped the learning of you or someone else? __________________________________________________________________________________________________________________________
I can tell the products of 6’s facts
C. M. Overstreet Old Dominion University Fall 2005
C. M. Overstreet Old Dominion University Fall 2007
Presentation transcript:

Profiling Where does my application spend the time? Profiling1

Profiling: What, why and how Dynamic program analysis (we run the program) Not, static program analysis (we look at the source code) Measure time or space (memory) of a running program Why To optimize your program How Instrumenting the programing using a tool called a profiler Instrumentation example: lots of stop watches After the instrumented program has run you get an analysis report Profiling2

Profiling in Visual Studio 1.Open the solution you want to profile 2.Get ready for a profiling session Visual Studio 2013 Menu Analyze -> Performance and Diagnostics Visual Studio 2012 Menu Analyze -> Start Performance Analysis 3.Your program runs 4.You get a report 5.Try to change (optimize) parts of the code Usually you want to optimize the most time consuming parts of the code 6.Re-run, and get a new report Profiling3

Visual Studio, reading the profiling report The section “Function Details” is interesting Tells you which method (aka. Function) has spend most time. Even which line(s) in the program has spend most time Example: Gaston Hillar, example 2_11 Profiling4

References and further readings Wikipedia: Profiling (computer programming) MSDN Beginners Guide to Performance Profiling Profiling5