profiler

Is there any way I can get .net stack traces in Sql Profiler, or a similar tool?

隐身守侯 提交于 2019-12-04 08:40:26
In my previous job I designed and helped build a run-time(production) Profiler tool that among other cool features was able to give me .Net stack traces for every SQL statement that executed. Think of it as SQL-Server Profiler on steroids. So instead of just seeing SQL statements and duration, you also got the context in which the SQL executed. When developing DB centric apps I find this information a god-send. The problem is that since this was developed my previous company has been acquired by Symantec, though the tool is still downloadable , it is very unclear what the licensing is and it

How can I display my database queries in the Codeigniter Profiler when I load my databases in my models?

℡╲_俬逩灬. 提交于 2019-12-04 08:31:36
My Codeigniter system uses multiple databases. I don't need every database on every page, so I load each connection in the model where it's needed, then load the required models within each controller. The profiler does not display any of the queries from these databases when I load things this way. This is how I load the databases in my models: $this->Companies_db = $this->load->database( 'companies', TRUE, TRUE ); I used to load all my databases in MY_Controller() ( an extension of the core controller ). When I load them there, the profiler works fine. When I load them in my models, it

VS2010 profiler : is it possible to profile one specific method?

岁酱吖の 提交于 2019-12-04 08:05:31
问题 Possibly some methods to turn on and turn off profiling from code? Or can you select a specific function to profile ? 回答1: You can also use the profiler's data collection API to start and stop profiling around the methods you're interested in. See this MSDN article for a walkthrough. The best way to use the API in this case would be to call StartProfile just before your methods execute and then call StopProfile just after. You should start profiling via the "Start With Profiling Paused"

Tool to profile php code

一个人想着一个人 提交于 2019-12-04 06:42:54
问题 Looking for some [freeware/opensource] tool in order to make it easy to profile a big php project on win32 platform. Need to find out which part of code is most time consuming. It's hard to manually put timing function for each function, loop... 回答1: You'll want to install and configure Xdebug. It's sort of the de-facto standard PHP debugging and profiling tool. WinCacheGrind can crunch the profiling output. It's a bit buggy, but it does the job. 回答2: xdebug works quite well http://xdebug.org

Best way to measure Memory Usage of a Java Program?

浪子不回头ぞ 提交于 2019-12-04 05:36:09
I'm currently using VisualVM , but the problem I'm having is that I can't save the graphs it generates. I need to report some data about its memory usage and running time, though running time is easy to get with System.nanoTime() . I've also tried the NetBeans profiler but it isn't what I want, since I'm not looking for specific parts that would be slowing it down or anything, so that would be overkill. The biggest problem with it is that it eats up too much processing time. Also doesn't let me capture/transfer the data easily, like VisualVM, at least as far as I can tell. Ideally the best way

Code Profiler for ARM

时光总嘲笑我的痴心妄想 提交于 2019-12-04 04:28:18
问题 I want to profile my code on arm 9, Is there any profiler which can give me function call timings and total cycles taken by each function? I would prefer any free profiler. I loved to work with kcachegrind in linux. 回答1: I don't know any free ARM profilers. You can try ARM RVDS 4.0 Pro. It has a good profiler. And you can use emulator instead of real hardware with it. It simplifies some things, but you'll not receive information about cache-misses/memory-latency, and results may differ from

Profiling C# / .NET applications

自古美人都是妖i 提交于 2019-12-04 01:39:36
How do you trace/profile your .NET applications? The MSDN online help mentions Visual Studio Team (which I do not possess) and there is the Windows Performance Toolkit. But, are there other solutions you can recommend? Preferably (of course) a solution that works without changing the code (manually) and that can be integrated in Visual Studio. McKenzieG1 See also this question . JetBrains dotTrace is the best .NET profiler I have found (and I have tried pretty much every one there is), because it is the only one that has low enough overhead to handle a processor-intensive application. It is

How to use VisualVM to get the time each function costs [duplicate]

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 22:24:20
This question already has answers here : Closed 3 years ago . Total method time in Java VisualVM (7 answers) VisualVM is a nice but a little complicated tool for me. I wrote a class with many functions (in Eclipse). How can I get the information of how many time each function calls and the time they cost when during execution? See Profiling With VisualVM, Part 1 and Profiling With VisualVM, Part 2 to get more information about profiling and how to set profiling roots and instrumentation filter. It is actually simple. Run your program and it will automatically appear as a running process in the

NVIDIA Parallel Nsight Vs Visual Profiler

瘦欲@ 提交于 2019-12-03 22:06:36
问题 I am working with CUDA on the windows platform. On the windows platform we have access to both Parallel Nsight and Visual Profiler. Both are pretty good but then they have almost similar features for profiling and tracing. Can someone say me how are they both different and which one is better for the windows platform ?? I will basically be needing a tool for profiling. 回答1: Nsight Visual Studio Edition 2.2 offers the following advantages over the Visual Profiler: OVERALL Integration into

VS2010 .NET Memory Analysis - extremely slow

只愿长相守 提交于 2019-12-03 16:19:07
问题 Running VS2010's .NET Memory Allocation analysis takes ages to complete. The program itself ran for about 3 minutes and generated 35GB of memory allocations. The profiler's output file is about 28GB. The report analysis process took over three hours (on a dual Xeon with 8GB RAM) to complete. This has happened to me every time I've run the memory profiler. Is this your experience also with this tool? Is there anything to do to speed up this process? Thanks! 回答1: Try increasing the amount of