profiling

SQL Client Profiler?

霸气de小男生 提交于 2019-12-25 03:08:09
问题 I am aware of " SQL Server Profiler ", But is there any tools or methods available to monitor the issued sql queries from the client machine? Some of the things currently in my mind are: 1) The SysInternals ProcMon can log and tell when the executable process on client machine connects to sql server. Any similar but more advanced tools available to tell more data? 2) Any debug version or instrumented version of client libraries and APIs available for client machine to allow such operation?

Luke Stackwalker returns error when running, gprof works fine

≯℡__Kan透↙ 提交于 2019-12-25 02:48:10
问题 I'm used to gprof for profiling my C code, but I want to start using a GUI-based Windows application such as Luke Stackwalker. gprof works perfectly fine on my binary, but Luke Stackwalker has some issues: Launching executable C:\lshare\POT03\Eclipse\Debug\POTaak3.exe. SymInit: Symbol-SearchPath: ';.;C:\Program Files\Luke Stackwalker;C:\Program Files\Luke Stackwalker;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName:

Why is Kernel#require taking such a big chunk of my application's resources?

懵懂的女人 提交于 2019-12-25 01:44:27
问题 I am trying out ruby-prof and ran it against a somewhat self-contained module. The core of the module is 3 classes, with maybe 3 other helper classes being used. So there shouldn't be a huge amount of overhead with tons of requires and incluces. Is this normal in a big(gish) app with a fair number of gems installed? 18.06 7.67 1.99 0.00 7.66 1366 Kernel#require 5.80 1.21 0.64 0.00 0.83 18704 Array#map 5.73 10.21 0.63 0.00 10.09 38133 Array#each 5.17 1.13 0.57 0.00 0.56 21796 Array#include? 4

JProfiler : Finding the Memory leak reference name

≡放荡痞女 提交于 2019-12-25 00:19:38
问题 I am trying to use JProfiler for one of my Application which is running under tomcat server . So i wrote a memory leak servlet as shown below . @SuppressWarnings(value = { "" }) public class Dust extends HttpServlet { protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { String str = new String(); List myarrylist = new ArrayList(); int i = 10; while (true) { myarrylist.add(str); System.out.println(i); i++; } } } Now When i ran

Python profiling, imports (and specially __init__) is what seems to take the most time

心不动则不痛 提交于 2019-12-25 00:19:14
问题 I have a script that seemed to run slow and that i profiled using cProfile (and visualisation tool KCacheGrind) It seems that what is taking almost 90% of the runtime is the import sequence, and especially the running of the _ _ init _ _.py files... Here a screenshot of the KCacheGrind output (sorry for attaching an image...) I am not very familiar with how the import sequence works in python ,so maybe i got something confused... I also placed _ _ init _ _.py files in everyone of my custom

Windows Service startup time

天大地大妈咪最大 提交于 2019-12-24 21:43:41
问题 Is there a way to programmatically retrieve start-up time/duration for all the Windows Services that have started during boot in Windows XP? That is, the time the service was initialized to getting to the "started" state. Thank you in advance! P.S. I'm not asking for software recommendation. 回答1: I would start with looking at the logs in event viewer, check if that information you want is there. If it is, then use Microsofts EventLog class to get the log you want. For example if you're

Eloqua Forms - Progresive Profie / Profiling

时光毁灭记忆、已成空白 提交于 2019-12-24 18:38:52
问题 I'm quite new in Eloqua. I'm trying to generate Progressive Profiling Forms, and as I can find in the web, there are two ways: Adding Rules, or setting Stages or Linear flow. But, I am not being able to do either. Any help? By the way, the most I could progress, is: click on Progressive Profile button, add some fields, then copy/paste HTML+JS generated, and open the form in Chrome (the whole code seems to be complete auto-sufficent). But there are many weird behaviors... 回答1: The way

why do nvprof and nvidia-smi report different results on power?

雨燕双飞 提交于 2019-12-24 17:53:19
问题 I used nvprof and nvidia-smi to monitor the GPU power dissipation respectively, but observed different results, summarized in the table below. ---------------------------------------------------------------- gpu | busy | idle model | nvprof[Watt] smi[Watt] | nvprof[Watt] smi[Watt] ---------------------------------------------------------------- M2090 | ~151 ~151 | ~100 ~75 K20 | ~105 ~102 | ~63 ~43 ---------------------------------------------------------------- note 0: "busy" means my code

ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined

非 Y 不嫁゛ 提交于 2019-12-24 17:24:43
问题 I'm trying to use the flex profiler to discover where the performance problems in my app are. However, when I run the app, I get this error message. I don't get this when I run regularly or in debug mode. ReferenceError: Error #1065: Variable ContextMenuClipboardItems is not defined. at flash.ui::ContextMenu/initLinkAndClipboardProperties() at flash.ui::ContextMenu() at mx.core::Application/initContextMenu()[C:\autobuild\3.3.0\frameworks\projects\framework\src\mx\core\Application.as:1154] at

Class::DBI - does it load all tables?

一世执手 提交于 2019-12-24 14:34:32
问题 We have a MySQL database with very big number of tables. Unfortunately in 2018 we still use Perl CGI. So loading time of a script is essential. DBIx::Class was ruled out by me because it loads about 1.6 sec (so long because it loads Perl definitions for all tables of the DB) what is clearly too much. How quickly Class::DBI loads? My main question: Does Perl load information about all available tables (like DBIx::Class does) when we use Class::DBI or does it load Perl definitions for only