بسم الله الرحمن الرحیم. Visual Studio 2012 Performance Profiling Tools.

Slides:



Advertisements
Similar presentations
Introduction to Visual Basic.NET Uploaded By: M.Sheraz anjum.
Advertisements

DB2 Tools Pertemuan 3 Matakuliah: T0413 Tahun: 2009.
MCTS GUIDE TO MICROSOFT WINDOWS 7 Chapter 10 Performance Tuning.
دوره آموزشی ترکیبی وب Programming in HTML5 with JavaScript and CSS3 Developing ASP.NET 4.5 MVC Web Applications مروری بر سرفصل ها، چرایی ترکیب دو دوره.
Visual Basic 2010 How to Program. © by Pearson Education, Inc. All Rights Reserved.2.
Visual Basic 2010 How to Program Reference: Instructor: Maysoon Bin Duwais slides Visual Basic 2010 how to program by Deitel © by Pearson Education,
1 Visual Basic.NET Application Overview. 2 Objectives Discuss what a typical Visual Basic.NET application looks like Configure the Visual Studio.NET Integrated.
1 بسم الله الرحمن الرحیم. 2 پژوهش های آموزشی فرآیند – محور (POER) علی عمادزاده عضو هیئت علمی EDC
Decision Tree.
تعاریف هوش تجاری مهدی گرکانی درس هوش تجاری
1 برنامه سازی با C# برنامه منو Instructor : Saeed Shiry.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Chapter 2: The Visual Studio.NET Development Environment Visual Basic.NET Programming: From Problem Analysis to Program Design.
فایل پردازی در C File based Programming in C. انواع فایل متنی –سرعت بالا –حجم کمتر –امکان دسترسی تصادفی –حفظ امنیت داده ها دودویی (باینری) –امکان باز.
Using Visual C++ and Pelles C
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Microsoft ® Official Course Monitoring and Troubleshooting Custom SharePoint Solutions SharePoint Practice Microsoft SharePoint 2013.
Design Verification Design Profiler Course 8. All materials updated on: September 30, Design Profiler Design Profiler is a tool integrated within.
Beginning Programming with the Visual Studio.NET Environment.
1 Chapter Overview Monitoring Server Performance Monitoring Shared Resources Microsoft Windows 2000 Auditing.
Using Windows Firewall and Windows Defender
CCS APPS CODE COVERAGE. CCS APPS Code Coverage Definition: –The amount of code within a program that is exercised Uses: –Important for discovering code.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VIII Graphical User Interface using MATLAB Rajeev Madazhy
WEKA - Explorer (sumber: WEKA Explorer user Guide for Version 3-5-5)
Creating Multimedia Interaction with Windows Media Technologies 7.
Chapter 6 SAS ® OLAP Cube Studio. Section 6.1 SAS OLAP Cube Studio Architecture.
How to installHow to use You must have a pejvak Shortcut in your computers Desktop: You must have a pejvak Shortcut in your computers Desktop: double.
Renesas Technology America Inc. 1 SKP8CMINI Tutorial 2 Creating A New Project Using HEW.
® 2-2 Projects 2.1Projects Overview Bootable Projects and VxWorks Configuration Integrated Simulator Downloadable Projects Build Specifications.
Using Microsoft Visual Studio 2005 Original by Suma Rao Revised by John G. McMahon ( 9/6/2008 )
Microsoft Access 2010 Chapter 10 Administering a Database System.
تکنیک های پیشرفته در برنامه سازی وب ) اسلايد هفتم ) جوانمرد Website: به نام خدا.
LATTICE TECHNOLOGY, INC. For Version 10.0 and later XVL Web Master Tutorial For Version 10.0 and later.
What is Web Site Administration Tool ? WAT Allow you to Configure Web Site With Simple Interface –Manage Users –Manage Roles –Manage Access Rules.
Information and Communication Technology Sayed Mahbub Hasan Amiri Dhaka Residential Model College Higher Secondary.
Troubleshooting Security Issues Lesson 6. Skills Matrix Technology SkillObjective Domain SkillDomain # Monitoring and Troubleshooting with Event Viewer.
Design Verification Code and Toggle Coverage Course 7.
Getting to Know Your Computer Your File System Applications What’s running on your machine Its own devices Networking.
Profiling Where does my application spend the time? Profiling1.
0 eCPIC User Training: Portfolios Module These training materials are owned by the Federal Government. They can be used or modified only by FESCOM member.
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
Eclipse Project. Installing Visit to download a copy for your home computerhttp:// –Get Release version 3.0 (or.
Chapter 3 Systems Documentation Techniques Copyright © 2012 Pearson Education 3-1.
Web Development in Microsoft Visual Studio 2013 / 2015.
Lecture Set 2 Part A: Creating an Application with Visual Studio – Solutions, Projects, Files 8/10/ :35 PM.
Open project in Microsoft Visual Studio → build program in “Release” mode.
WS1-1 ADM730, Workshop 1, September 2005 Copyright  2005 MSC.Software Corporation WORKSHOP 1 INTRODUCTION Open Retracted - Bad Retracted - Good.
TEAM FOUNDATION VERSION CONTROL AN OVERVIEW AND WALKTHROUGH By: Michael Mallar.
Creating New Forms Projects can appear more professional when using different windows for different types of information. Select Add Windows Form from.
Downloading and Installing GRASP-AF Workshop Ian Robson Information Analyst, North of England Cardiovascular Network.
پیاده سازی کنترلر PC/104. Contents PC/104 پیاده سازی کنترلر HILتست 1.
SQL Database Management
Dive Into® Visual Basic 2010 Express
Quick Start Guide for Visual Studio 2010
تمرین هفتم بسم الله الرحمن الرحیم درس یادگیری ماشین محمدعلی کیوان راد
بنام خدا زبان برنامه نویسی C (21814( Lecture 12 Selected Topics
SY800 router mode [AD-14-TB ].
استانداردهای تصاویر دیجیتال پزشکی با فرمت دایکام DICOM در سیستم PACS
چگونه بفهمیم آیا ژورنالی ISI است؟ ایمپکت فاکتور دارد یا خیر؟
Route configuration for 5400W ADSL Router
بررسی قطبش در لیزر های کاواک عمودی گسیل سطحی(vcsel)
خودسامان دهی 22 اردیبهشت 92.
آموزش کرک کردن نرم افزار ACTIVE HDL
SE Dept.2 تهیه کنندگان: ملیحه اسکندری نسیبه پوتی
1. Open Visual Studio 2008.
Bucket sort اكرم منوچهري زهرا منوچهري
فصل 4. فصل 4 جمع آوری نیازمندیها و تحلیل سیستم : فاز تولید هر نرم افزار با مرحله ای به نام تعریف مسئله شروع می شود. منظور از تعریف مسئله شناخت محیط.
بسم الله الرحمن الرحیم هرس درخت تصمیم Dr.vahidipour Zahra bayat
سمینار SharePoint رانندگی در بزرگراه پرتال ها
هدف با استفاده از الگوریتم بهینه سازی کلونی مورچگان( ACO ) و قوانین سیستم فازی به تفسیرقوانین آنها میپردازیم. سپس، با بهره گیری از این قوانین، تعریف مناسبی.
Presentation transcript:

بسم الله الرحمن الرحیم

Visual Studio 2012 Performance Profiling Tools

: Profiling در برنامه نویسی دینامیک، به برنامه‌ای گفته می‌شود که معمولاً عملیات نظریه پیچیدگی محاسباتی را بر روی قسمت خاصی از برنامه اعمال می‌کند. بیشترین کاربرد پروفایلینگ در بهینه سازی است.

1 - مفاهیم اساسی 2 - پیش نیاز ها 3 - ساخت و اجرای Performance Session 4 - آنالیز داده های نمونه برداری شده 5 - اصلاح کد و اجرای مجدد پروفایلر

مفاهیم اساسی :Performance Session وقتی از Performance Profiler استفاده میکنید ،شما یک Performance Session یا کانال عملکرد ایجاد میکنید که شامل داده های پیکر بندی شده configuration data برای جمع آوری اطلاعات عملکرد و نتیجه یک یا چند اجرای پروفایلینگ است.

1) نام Profiling Session 2) پوشه مورد نظر که پروژه و یا فایل های باینری که در طی عمل پروفایلینگ قرار گرفته اند نشان میدهد 3) پوشه گزارش ها شامل اطلاعات پروفایلینگ پوشه از یک یا چند اجرای قبلی

پیش نیاز ها : 1)Run As Administrator 2) Set the active build configuration to Release

بیلد های دیباگ شده، کدهای نامرتبطی در برنامه قرار میدهند که برای بهینه سازی مفید نیست از این رو برای آزاد سازی به شکل زیر عمل میکنیم : To change the active configuration, on the Build menu click Configuration Manager and in the dialog box, under Active solution configurations, select Release

Step 1:create and run performance session To create and run a performance session 1)Open the solution in Visual Studio. 2)On the Analyze menu, click Launch Performance Wizard. 3)Accept the default setting of CPU Sampling (recommended) and click Next. 4)Accept the default project, and then click Next. 5)Make sure that the Launch profiling after the wizard finishes check box is selected and then click Finish. Your application starts and the profiler starts to collect data. 6)Exercise the functionality that might contain performance issues. 7)Close the application as you usually would. After you finish running the application, the Summary view of the profiling data appears in the main Visual Studio window and an icon for the new session appears in the Performance Explorer window.

Step 2:Analize Sampling Data When you finish running a performance session, the Summary view of the profiling report appears in the main window in Visual Studio. We recommend that you begin analyzing your data by examining the Hot Path, then the list of functions that are doing the most work, and finally by focusing on other functions by using the Summary Timeline. You can also view profiling suggestions and warnings in the Error List window. Be aware that the sampling method might not give you the information that you need. For example, samples are collected only when the application is executing user mode code. Therefore, some functionality, such as input and output operations, is not captured by sampling. The Profiling Tools provide several collection methods that can enable you to focus on the important data

To analyze sampling data 1-In the Summary view, the Hot Path shows the branch of your application's call tree with the highest inclusive samples. This is the execution path that was most active when data was collected. High inclusive values can indicate that the algorithm that generates the call tree can be optimized. Find the function in your code that is lowest in the path. Notice that the path can also include system functions or functions in external modules.

Inclusive Samples indicate how much work was done by the function and any functions called by it. High inclusive counts point to the functions that are most expensive overall. Exclusive Samples indicate how much work was done by the code in the function body, excluding the work done by functions that were called by it. High exclusive counts may indicate a performance bottleneck within the function itself.

Click the function name to display the Function Details view of the profiling data. The Function Details view presents a graphical view of the profiling data for the selected function, showing all the functions that called that function and all the functions that were called by the selected function.

To continue your analysis, return to the Summary view by selecting Summary from the View drop-down list. Then examine the functions in Functions Doing the Most Individual Work. This list displays the functions with the highest exclusive samples. The code in the function body of these functions performed significant work and you might be able to optimize it. To further analyze a particular function,, click the function name to display it in the Function Details view.

To continue your investigation of the profiling run, you can reanalyze a segment of the profiling data by using the timeline in the Summary view to show you the Hot Path and Functions Doing Most Individual Work from a selected segment. For example, focusing on a smaller peak in the timeline might reveal expensive call trees and functions that were not shown in the analysis of the entire profiling run. To reanalyze a segment, select a segment inside the Summary Timeline box and then click Filter by Selection.

4-The profiler also uses a set of rules to suggest ways of improving the profiling run and to identify possible performance problems. If an issue is found, a warning is displayed in the Error List window. To open the Error List window, on the View menu click Error List.

Step 3:Revise code and Rerun the session To revise code and rerun the profiler 1.Change your code. 2.To open the Performance Explorer, on the View menu click Other Windows and then click Performance Explorer. 3.In the Performance Explorer, right-click the session that you want to rerun, and then click Launch with Profiling. 4.After you rerun the session, another data file is added to the Reports folder for the session in Performance Explorer. Select both the original and new profiling data, right-click the selection, and then click Compare Performance Reports.

Saeed Ghoorchiyan University Of Qom