profiler

Why is my C# program faster in a profiler?

谁说我不能喝 提交于 2019-12-04 23:34:05
I have a relatively large system (~25000 lines so far) for monitoring radio-related devices. It shows graphs and such using latest version of ZedGraph. The program is coded using C# on VS2010 with Win7. The problem is: when I run the program from within VS, it runs slow when I run the program from the built EXE, it runs slow when I run the program though Performance Wizard / CPU Profiler, it runs Blazing Fast. when I run the program from the built EXE, and then start VS and Attach a profiler to ANY OTHER PROCESS, my program speeds up! I want the program to always run that fast! Every project

Visual Studio Profiler shows DLL name instead of Function name

走远了吗. 提交于 2019-12-04 23:28:44
问题 I'm following the Profiling Tutorial here: http://msdn.microsoft.com/en-us/magazine/cc337887.aspx I've tried to profile the project by using CPU sampling. MSDN Results: My Results: I'm expecting to see System.Drawing.Bitmap.SetPixel instead of the [System.Drawing.ni.dll] . As recommended by this post, I have: Clicked the "Show All Code" link Disabled "Just My Code" Checked "Microsoft Symbol Serves" in Tools > Options > Debugging > Symbols, restarted visual studio and ran the report again.

How to profile for one table in SQL Server?

霸气de小男生 提交于 2019-12-04 16:30:20
问题 How can I add a filter which can trace sql statements for a particular table name? 回答1: You can't set filter to trace specific table directly. What you can do is specify a filter for Text Data : File -> Properties -> Event Selection -> Column Filters -> TextData -> Like -> [Table Name] 回答2: This is how I could do it.... Choose below events in the profiler: Audit Database Object Access Event Audit Fulltext Audit Schema Object Access Event Make sure to choose Text Data , under columns. Then

Memory profiler for silverlight

两盒软妹~` 提交于 2019-12-04 14:56:28
Do you have any suggestion/idea of Memory profiler for Silverlight? You can use the standard memory profiling tools (memory GC and lifetime) in Visual Studio 2010 - but only the Ultimate and Premium versions. The support is only for command line profiling, so the basics go: Open a Visual Studio command prompt VSPerfClrEnv /globalsamplegclife VSPerfCmd -start:sample -output:somefile.vsp VSPerfCmd -launch:"c:\Program Files (x86)\Internet Explorer\iexplore.exe" -args:"" VSPerfCmd -globalon VSPerfCmd -shutdown VSPerfClrEnv /off The generated VSP will include memory statistics. You can find more

Free or inexpensive options for profiling / performance analysis for C# asp.net? [closed]

折月煮酒 提交于 2019-12-04 11:10:16
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I know about Redgate's Ants Profiler which I hear is awesome but it's also $400. Any cheaper alternatives out there that will at least point me to where I might need to optimize my code? 回答1: Dottrace is about half the price of Ants, and it's really good. Made by the same people that do ReSharper. If you're just

Linux Eclipse CDT profiler

こ雲淡風輕ζ 提交于 2019-12-04 10:14:43
问题 I am using Eclipse CDT under Linux, can anyone recommend a good profiler under that environment please. I am also new to C++ and multi-thread programming, can anyone also offer some advice on how to run profiling for multi-threaded application please, e.g., what to look for performance bottleneck, etc. Thanks. 回答1: I don't know if it's best choice, but it's definitely obvious one: gprof. You just need to set compilation switches right (enable gprof (-pg) for that project in project properties

Is there something similar to mini-mvc-profiler for Java?

早过忘川 提交于 2019-12-04 10:10:31
问题 Like the title said: Is there something similar to the mini-mvc-profiler for Java? I'm looking for something that can be used in a Struts or Spring MVC application and that shows a quick performance overview on every page in our DEV environment. 回答1: java-mini-profiler This is one I wrote which takes from gae-java-mini-profiler but works for non-gae applications. It also some extra features which can be optionally enabled such as profiling annotation and sql profiling. 回答2: The simplest can

Is there an IntelliJ Java Profiler [closed]

时间秒杀一切 提交于 2019-12-04 09:55:48
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . Is there a Profiler for IntelliJ like the one for Matlab? Let's say you have this code a = true; i = 0; while(a) { if(a) i++ // some fancy stuff which takes 1 second each loop if(i > 1e6) break; } Now I run the code In Matlab it would look like this after I opened the Profiler calls time 1 0.0 a = true; 1 0.0 i

Measuring TLB miss handling cost in x86-64

早过忘川 提交于 2019-12-04 09:25:20
问题 I want to estimate the performance overhead due to TLB misses on a x86-64 (Intel Nehalem) machine running Linux. I wish to get this estimate by using some performance counters. Does anybody has some pointers on what is the best way to estimate this? Thanks Arka 回答1: If you can get access to a "Westmere" based system the performance characteristics of your code should be quite similar to what you have on the "Nehalem", but you will have access to a new hardware performance counter event that

.NET Profiler for Azure?

自古美人都是妖i 提交于 2019-12-04 09:23:16
问题 Does anyone know of a .NET profiler which works with Azure to figure out code bottlenecks. I have tried to integrate dotTrace profiler - but haven't had any success. Does anyone know of any that work with Azure ? Seems something which is very needed ? 回答1: Azure Monitor lets you monitor your Azure-hosted applications in real-time. It includes a library for capturing runtime process information to cloud table storage; and also a desktop application for viewing the captured information in real