Click here to Skip to main content
15,882,209 members
Everything / Profiling

Profiling

profiling

Great Reads

by Thomas Nielsen - getCore
This article will take a dive into one of the reasons why code sometimes sands over.
by Shivprasad koirala
If you want to quickly get index suggestions and improve performance in SQL Server, then Profiler and tuning wizard is the first place to start.
by Sebastian Solnica
How to diagnose ADO.NET with ETW traces
by Karl Stoney
This .NET Tutorial will tell you how to Install and Configure MiniProfiler for .NET 4.5 MVC 4 Web Application including Entity Framework logging.

Latest Articles

by dragontamer
IBS (Instruction Based Sampling) requires a different point of view to fully understand
by matt warren
Coz: Finding Code that Counts with Causal Profiling - An Introduction
by Thomas Nielsen - getCore
This article will take a dive into one of the reasons why code sometimes sands over.
by Sebastian Solnica
Today I would like to share with you an interesting (I hope) diagnostics case in one of our system services. The IngestService (that is its name) was not starting properly for the first time – it was being killed because of exceeding the default 30s timeout.

All Articles

Sort by Score

Profiling 

21 Sep 2015 by Thomas Nielsen - getCore
This article will take a dive into one of the reasons why code sometimes sands over.
16 Oct 2011 by Shivprasad koirala
If you want to quickly get index suggestions and improve performance in SQL Server, then Profiler and tuning wizard is the first place to start.
15 Sep 2012 by Sebastian Solnica
How to diagnose ADO.NET with ETW traces
22 Feb 2014 by Sampath Lokuge
Here is an article which will show everything what you need.Please read it.How To: Use CLR Profiler
28 May 2018 by Daniel Pfeffer
A function is typically executed in the context of a single thread. Having additional processors won't improve its speed. Additional processors are useful when your program can be divided into multiple threads. In this case, the more processors, the more threads may be executed simultaneously...
21 Jan 2012 by Lakamraju Raghuram
Can anyone suggest free/opensource profilers for C# (an C# exe to be precise)My main aim is to :1. Check how much code my test cases cover?2. To find time consuming bottle necks in code.Yes, I have goggled and got many. But I want opinion from folks who have On-hand...
27 Dec 2012 by Karl Stoney
This .NET Tutorial will tell you how to Install and Configure MiniProfiler for .NET 4.5 MVC 4 Web Application including Entity Framework logging.
6 Apr 2014 by Sebastian Solnica
Stopwatch vs. DateTime
15 Sep 2016 by matt warren
Coz: Finding Code that Counts with Causal Profiling - An Introduction
27 Oct 2018 by dragontamer
IBS (Instruction Based Sampling) requires a different point of view to fully understand
29 Jan 2012 by Sergey Alexandrovich Kryukov
The metaphor can be understood like this: when you walk on the floor in your dirty shoes, you leave your footprints. After that, the floor needs to be cleaned.When you run you program, you allocate some objects and use memory and other resources. The more resources your use, the more the...
29 Jan 2012 by Richard MacCutchan
It means a program that takes up a large amount of memory. So a person with big feet would have a large footprint and cover more space on the floor.
20 Apr 2012 by Sebastian Solnica
Performance counters are used to provide information how well the operating system or an application, service, or driver is performing.
18 Aug 2014 by Naveen K M
Hi Friends, I am analyzing a piece of code for poor performance. The code is used to send a mail. It takes around 10 min to send 5 mails along with an attachment of approximately size 2MB.When I analyzed this piece of code using SQL Profiler, in the trace file I find that Audit...
27 Oct 2014 by CPallini
You use it as in any other place. Google, as always, helps[^].
14 Mar 2015 by Sergey Alexandrovich Kryukov
Please do it yourself here: https://www.codeproject.com/script/Membership/Modify.aspx[^].—SA
14 Mar 2015 by Afzaal Ahmad Zeeshan
Hello, finellif. For such suggestions and questions you should post messages on Bugs and Suggestions[^], or the best way of doing so is, to contact the team directly. You could use Chris' email to contact him. Otherwise, you always have the option to Remove my picture on,...
29 Jan 2012 by himanshu24x7
What is meant by Memory footprint in context of the following example:Excessive Memory Footprint leads to following: -Application is slow to load -After load, other application runs slower than expected
1 Feb 2012 by Aka01
Already install .Net 3.5 Power Toys, dotTrace Performance Profiler and ActiveSync but cannot test smart device application because dotTrace keep displaying .Net 3.5 Power Toys not install.
21 Apr 2012 by eduphilic
can somebody help me in giving "profile visit count for a website in .jsp" ?
5 Jun 2012 by Sebastian T Xavier
Hello all,How I can implement a profiling in a web site or a web page using C#. I want to know which actions are taking place while processing a page request and how much resource / time is taken to complete each action. I have downloaded Windows Performance toolkit but didn't find enough...
4 Jun 2012 by Sandeep Mewara
Try VSTS Profiler for such measurements. Here:WIKI: VSTS Profiler[^]MSDN Blogs: Walkthroughs: Using VSTS Test and Profilers to Find Performance Issues[^]Improve Code Performance with the VSTS Code Profiler[^]
28 Sep 2012 by Arash Khangaldi
Hi guysi have an asp.net source and im trying to make a part in my source which every user can have its own profile.my approach is every user should register and i store users information in Database and when user tries to log in i read user name and password form Database and redirect them...
8 Oct 2012 by Sumit_Kumar_Sinha
You can create seprate folder for admin in root directory and add all the required pages for admin in admin folder. For login in admin u can write the address in the url as for example:- mysite.com/admin/adminlogin.aspx.And for user u can create a link for user login in index pages.U can...
7 Feb 2013 by ra256256
Please unsubscribe me from this blog
7 Feb 2013 by Richard MacCutchan
This is not a blog it is a Q&A forum. If you wish to have your account deleted, then please use the Site Bugs & Suggestions forum.
28 May 2013 by Sergey Alexandrovich Kryukov
Most typically, this is done when one observes or suspects, or wants to prevent a memory leak. Please see:http://en.wikipedia.org/wiki/Memory_debugger[^],http://en.wikipedia.org/wiki/Memory_leak[^].—SA
28 May 2013 by CHill60
Well your original reply to my comment said "Code Profiling!" so you're not really sure ... have a look at this article Tools and Techniques for Code Profiling[^] which includes a link back to CodeProject amongst others.The simple answer is "both" ... and during maintenance as well. As to...
3 Jun 2013 by Omer Zia
There are different set of filters in ANTS which leads to identification of Memory Leaks.How do we correlate these filters to get the best result for memory leak identification?
22 Jun 2013 by Sebastian Solnica
Find a performance counter instance by a process ID
7 Nov 2013 by Michael Pauli
Hi,Two years back or so I used a profiling tool as an add-on for VS2010 - I think it was Red Hat product or something, but I'm not sure. Point is we used it for exposing for us where time was spend inside an application. It was very uesfull because it enabled us to sort-of drill-down the...
7 Nov 2013 by Ron Beyer
RedGate ANTS Profiler[^]
23 Feb 2014 by JoCodes
ReferDemo on CLR Profiling[^]using and understanding clr profileer[^]
27 Mar 2014 by Rahul VB
Hello Friends, Actually i am working on profiles: I have created a custom class and created profile properties in that class. I am then inheriting that object in the web config file. namespace shop{ public class shopping { ...
4 Jun 2014 by Serdar UZUN
I found 6 simple scripts (bat and vbs) for remote pcs (win XP and 7) to Clean Profile properly and faultlessy:1.Script: sending Ping to check Remote PC On or Off (bat)2.Script: checking who logged in/on Remote PC (bat)3.Script: restarting remote PC with a warning message...
3 Aug 2014 by Member 10901644
I am using this code to show user profile propertiesvar currentUserId = User.Identity.GetUserId(); var manager1 = new UserManager(new UserStore(new ApplicationDbContext())); var currentUser =...
6 Aug 2014 by Jaimin H. Soni
confusion arise from the fact that we create the UserManger in one line like this:var currentUserId = new UserManager(new UserStore(new MyDbContext()));then we use currentUserId .UpdateAsync( user ); but that will update the user in the context and then we will need to savechanges to...
7 Aug 2014 by Member 10901644
I just deleted this code and everything is working fine now thanksprotected void Page_Load() { var currentUserId = User.Identity.GetUserId(); var manager1 = new UserManager(new UserStore(new ApplicationDbContext())); ...
18 Aug 2014 by Magic Wonder
Hi,Check this...SQL Server Profiler Step by Step[^]Hope this will help you.Cheers
18 Aug 2014 by Thomas Nielsen - getCore
when opening a new profiling see the Events Selection tab and click it, here uncheck Audit Login and Audit Logout under Security Audit, next click run to begin.Just on a note, not viewing the events in the profiler will not make them not happen or take any less time so whatever it will only...
7 Oct 2014 by AnoopGharu
I am working on the a simple shopping website project, can anybody tell me how to use the asp.net profile in Cart_Page and to save or retrieve the products in cart like as session or cookies.If you guys have any demo application that how to use the asp.net profile with the simple and efficient...
16 Oct 2014 by AnoopGharu
Hello Everybody,I am working on the small shopping website project and now I am working on the cart_page and I want to store the data using asp.net profile.But the problem is that when I run the project the data is shown during the debugging but it is not store to the 'ASPNETDB.MDF' database.So...
16 Oct 2014 by MukeshSagar
Where is the Query to store the data in the database table. Profile is used to store the personalized information regarding the page.
29 Dec 2014 by wish12345
I want to profile a C# application. I wish to run it in command line mode. I have used C# profiler which provides allocation log, i also am able to see the methods being called.. However i did not find it that much readable. I see that there are tools available such as dot Trace and .NetMemory...
28 Feb 2015 by Stephen Hewison
Hi,I'm looking for a JavaScript profiling tool which is external to the browser.I have a project where there's a website which interacts with an object for scripting on the C# side via a number of JavaScript scripts.This is done via the .Net WebBrowser control and as such I do not...
27 Jul 2016 by Member 12542762
Dear CodeProject Members,Please help to debug a c++ dll being used in asp.net application.We are working on a c++ clr profiler dll to profile asp.net application.Thanks & RegardsSunilWhat I have tried:we are able to debug c++ dll from c++ application, but we tried to debug...
27 Jul 2016 by Member 12542762
Please help on thisHow to load C++ dll only in specific asp.net application and unload from any other application.ThanksWhat I have tried:we are checking application name in dllmain and if it is not our application then we are returning false. But application still holds the dll...
30 Jun 2017 by manu027
I have a MVC website and behind this lot of windows services are running on remote servers. Data is coming from Mainframe. I am facing a lot of performance issues. I search a lot in web and Unable to find that Profiling is going to inside from my website to service to database and showing...
29 Nov 2017 by David Crow
See: Measure App Performance with Android Profiler | Android Studio[^] and Profile Your App Performance | Android Studio[^] I don't know that any one site is going to provide you with a specific answer. Each project and app are different and have different profiling needs. It's just going...
9 Feb 2018 by Member 13670107
I am developing REST API services in .NET CORE using Microsoft Visual Studio 2015. These services are hosted in Linux Servers in PCF (Pivotal cloud foundry) . which version of visual studio profiler support performance profiling for .net core 1.0 services? or do we have any other tool which...
28 May 2018 by Member 13849020
Hello everyone! I have one simple question: why the number of processors used when I compile my code with a profiling tool doesn't decrease the time spent in each function? For example, if I compile the first time with 1 processors, and then with four, I expect to see the same flat profile (like...
18 Mar 2019 by HusseinAl-haj
Most of today's processors are equipped with hardware performance counters. Such counters can be used to count micro-architecture events in order to analyse the target program to improve its performance. Generally, profiling and analysing are the main goals of these counters. Based on research...
3 Jan 2023 by Vinay Sidawadkar
I followed the steps all shown there and still log file is not generated. or not showing what could be the reason? What I have tried: I tried all the steps but still no log file is generated.
3 Jan 2023 by OriginalGriff
From your question, I assume that you got code from an article on this site and have a problem with it. If so, then don't post this under Quick Answers - if you got the code from an article, then there is a "Add a Comment or Question" button at...
31 Jul 2012 by Milan Raval
This article explain how to use Windows "Perfmon" to monitor WCF service performance.
11 Jun 2014 by Pete_H
This tip explains how to do tracing with SQL Server Express using a desktop application written in C#, .NET 4.
2 Sep 2015 by Sebastian Solnica
Today I would like to share with you an interesting (I hope) diagnostics case in one of our system services. The IngestService (that is its name) was not starting properly for the first time – it was being killed because of exceeding the default 30s timeout.
25 Feb 2016 by CHill60
It's already in there from SP1 of SQL Server Express 2012 Advanced Services apparently.Or try ExpressProfiler[^]Question is off-topic for this forum. If this solution does not help then try google search "Get profiler for sql server 2012 express"
4 Dec 2014 by Ralph Varjabedian
Get a meaningful insight into your node.js code performance without code changes. Quickly learn which functions are using the most CPU time.
13 Jul 2012 by Sebastian Solnica
ASP.NET Health Monitoring
22 Jan 2012 by thatraja
NProfiler[^], SlimTune[^], ProfileSharp[^], Prof-It[^] & etc.,[^]
23 May 2012 by Shweta Lodha
Performance analysis for String and StringBuilder
22 Feb 2014 by Member 10122438
How can I add code to CLR Profiler for checking Memory Allocation?Can anybody help me?
28 May 2013 by Omer Zia
Should we perform profiling at development phase or testing phase?Who will perform profiling?
27 Oct 2014 by AnoopGharu
hello everybody, can you tell me please how to use the System.Collections.Generic.List in asp.net profile.please help me to solving my this issue.
28 Oct 2014 by AnoopGharu
Hello Everybody,I am working on the simple shopping website and now I am working on the cart_page and I trying to make cart_page by using the asp.net profile.Even I already write the code to enter the one product in the profile.But if the user want to enter the number of products.Then the...
26 Dec 2014 by eboolean
Hi;How can i take member profile picture (avatar) in asp.net mvc app register form. @Html.FileUploadFor(m => m.ProfileAvatar) @Html.FileUploadFor(m => m.ProfileAvatar)*This is not working.Only example.I would appreciate if you can...
26 Dec 2014 by deepankarbhatnagar
Go to this link below for help,http://stackoverflow.com/questions/18570173/create-an-avatar-upload-form-for-users[^]
25 Feb 2016 by oronsultan
How can i add the sql server profiler tool for sql server 2012 express edition?What I have tried:...................................................................
29 Nov 2017 by GaneshRfromSpace
I know the scope of the question is too broad. But with the new Android Profiler tool in Android Studio 3.0, they say profiling has become easy. Am just a beginner level Android Developer and completely new to profiling. Can someone suggest some study material or tutorial videos to get started...